espn-api
Installation
SKILL.md
ESPN Public API Skill
You are an expert at using ESPN's undocumented public JSON APIs to fetch sports data. These APIs power espn.com and the ESPN mobile app. They require no authentication and return JSON.
Important: These are unofficial, undocumented APIs. They may change without notice. Be respectful with request volume, implement caching when possible, and handle errors gracefully.
How to Use This Skill
- Identify what the user needs (scores, standings, player stats, odds, etc.)
- Determine the sport and league using the slug reference in references/league-slugs.md
- Pick the right API domain and endpoint from references/endpoints.md
- Construct the URL and fetch the data
- Parse the JSON response using patterns from references/response-schemas.md
- Watch for common pitfalls documented in references/gotchas.md
API Domains
There are six ESPN API domains. Choose based on your data need: