$npx skillfedfor your agent

espn-api

ESPN API

Worth itPyPI WWW/HTTPReleased Mar 202677.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — espn_api-0.46.0-py3-none-any.whl
v0.46.0 · released 2026-03-23 · 2 runtime deps: requests, urllib3

Yes. Low install friction, permissive MIT license, active maintenance, no vulnerabilities, and a clear use case for anyone managing or analyzing ESPN fantasy leagues. The two-dependency footprint is minimal. Verify that Hockey and Baseball APIs meet your needs if you plan to use those sports.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation via pip with only two runtime dependencies (requests and urllib3).
  • Active maintenance with recent commits and no known vulnerabilities.

License · maintenance · safety

permissive license (permissive) — MIT-licensed under permissive terms, allowing use in commercial and private projects with minimal restrictions.

last release 2026-03-23 (144 days) · last repo commit 2026-05-04 · 937 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,000 downloads/mo, #14,561 on PyPI

Verify before relying

pip install espn_api

from espn_api.football import League
league = League(league_id=222, year=2019)
  • Whether Hockey and Baseball APIs are production-ready or still in development
  • Exact Python version requirements (requires_python unspecified in metadata)
Same gist for agents: .md · .json

What it is and what it does

espn-api is a Python wrapper around ESPN's Fantasy API that lets you programmatically fetch league, team, and player data from Fantasy Football and Basketball leagues. It handles authentication and API communication through requests and urllib3, abstracting away the complexity of ESPN's endpoints so you can work directly with league objects.

You instantiate a League object with a league ID and year, then query teams, players, and statistics. The package supports both public and private leagues. Hockey and Baseball APIs are noted as in development. It's actively maintained with recent commits and has no known security vulnerabilities.

Use it for

  • Build a dashboard or bot that pulls live Fantasy Football standings and player stats from your league
  • Analyze historical league data across multiple seasons for performance trends
  • Automate Fantasy Basketball trade analysis or draft preparation by querying league rosters
  • Export league data to a database or spreadsheet for further analysis
  • Create alerts or notifications based on roster changes or scoring updates

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, permissive MIT license, active maintenance, no vulnerabilities, and a clear use case for anyone managing or analyzing ESPN fantasy leagues. The two-dependency footprint is minimal. Verify that Hockey and Baseball APIs meet your needs if you plan to use those sports.

Install

espn-api on PyPI

Before you install

Low friction installation via pip with only two runtime dependencies (requests and urllib3). Active maintenance with recent commits and no known vulnerabilities.

License in practice

MIT-licensed under permissive terms, allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install espn_api

from espn_api.football import League
league = League(league_id=222, year=2019)

Verify before relying

  • Whether Hockey and Baseball APIs are production-ready or still in development
  • Exact Python version requirements (requires_python unspecified in metadata)

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
requestsurllib3
MaintenanceActively maintained 144 days since the last release
Last repo commit
First released
Downloads77,000 / month, #14,561 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: espn_api-0.46.0-py3-none-any.whl

Tags

Capabilities
espn fantasy football apiespn fantasy basketball apifantasy league data extractionespn league statisticsfantasy sports api wrapper
Topics
fantasy-sportsespn-integration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “espn fantasy football api”

  • espn-apiExtracts league, team, and player data from ESPN's Fantasy API for…
  • nfl-data-pyImports NFL play-by-play, weekly, seasonal, roster, draft, combine,…
  • nflreadpyDownloads and caches NFL data from nflverse repositories into Polars…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also nflreadpy · MLB-StatsAPI · nfl-data-py · nba_api · rlbot · statsbombpy · google-play-scraper · newspaper4k · walkscore-api · pybaseball