{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"f82c5266-c397-4fb7-8f32-49c44db6132a","catalogType":"api","categories":["data"],"dataPlatform":"espn","dataPlatformLogoUrl":"https://api.sh/logos/espn.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Search ESPN via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including echoed search query string, matching ESPN player identifier, matching player display name, player league slug, and player sport name to resolve athlete ids by name, build sports autocomplete, and discover multimedia coverage.","descriptionTranslations":{"ar":"ابحث عبر لاعبي ESPN والمقالات ومقاطع الفيديو والإعادات عبر OpenAny REST للعثور على معرفات الرياضيين واكتشاف التغطية وبناء أشرطة بحث رياضية موحدة. أرسل كلمة البحث q وخيار limit من 1 إلى 50 لكل نوع لاستلام نتائج مصنفة تتضمن المعرفات والرياضة والدوري والأوصاف والصور والروابط بصيغة JSON.","ja":"OpenAny REST で ESPN の選手、記事、動画クリップ、リプレイを横断検索し、選手 ID の特定や統合スポーツ検索の構築に活用できます。検索語 q と種別ごとの件数上限 limit（1〜50）を指定すると、ID、競技・リーグ情報、概要、画像、公式 URL を種別ごとの JSON で返します。","zh":"通过 OpenAny REST 搜索 ESPN 球员、新闻文章、视频片段与回放，用于解析运动员 ID、发现相关报道并构建统一体育搜索框。传入关键词 q 和可选的每类数量上限 limit（1 至 50），即可获取按类别分组的标识、运动项目、联赛标签、摘要、缩略图与官方链接 JSON。"},"effectContentHtml":"","executionMode":"sync","id":"6a9ceb32-33c9-45d9-be96-664493b6fe0d","includedContentHtml":"","inputs":[{"description":"Search text.","location":"query","name":"q","nullable":false,"required":true,"type":"string"},{"description":"Results per type, 1-50 (default 10).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/espn.png","method":"GET","name":"ESPN search API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eESPN Search API\u003c/h2\u003e\n\u003cp\u003eRun cross-entity keyword search by passing required q (search text) and optional limit (1-50 results per type, default 10). The response groups matches under results (such as player[], article[], clips[] and replay[]) with each entry\u0026#39;s id, name, kind, sport, league, subtitle, image and url.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: q (search text, e.g. mahomes). Optional limit (1-50 per type, default 10), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · ESPN search API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eResolve athlete IDs by name\u003c/strong\u003e: Query a player name in q and pass results.player[].id into the ESPN Athlete, Game Log or Splits APIs.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBuild sports autocomplete\u003c/strong\u003e: Use a small limit (such as 5) to populate instant search suggestions across players, articles and videos.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDiscover multimedia coverage\u003c/strong\u003e: Collect matching results.article[], results.clips[] and results.replay[] links for a topic or athlete.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003equery\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eEchoed search query string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.player[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching ESPN player identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.player[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching player display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.player[].league\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer league slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.player[].sport\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer sport name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.player[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer ESPN profile URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.article[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching article identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.article[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching article headline\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.clips[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching video clip title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults.replay[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatching replay title\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/espn/v1/search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode q=mahomes \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/6a9ceb32-33c9-45d9-be96-664493b6fe0d\"\u003ePublished ESPN Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat entity types can appear in results?\u003c/h3\u003e\n\u003cp\u003eResults are grouped by type under results, including player[], article[], clips[] and replay[] when matches exist.\u003c/p\u003e\n\u003ch3\u003eHow does the limit parameter apply?\u003c/h3\u003e\n\u003cp\u003elimit sets the maximum number of results per type (1 to 50, defaulting to 10).\u003c/p\u003e\n\u003ch3\u003eDo I need to specify a league when searching?\u003c/h3\u003e\n\u003cp\u003eNo. Search works globally across ESPN sports and returns the resolved sport and league on each matching item.\u003c/p\u003e\n\u003ch3\u003eCan I use player IDs from search directly in the ESPN Athlete API?\u003c/h3\u003e\n\u003cp\u003eYes. Pass the returned player id and league slug into the ESPN Athlete, Game Log or Splits APIs.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass the cache for freshly published articles or clips?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache and run a live search.\u003c/p\u003e\n\u003ch3\u003eHow can I reduce payload size?\u003c/h3\u003e\n\u003cp\u003eLower limit, pass raw=0 to omit raw source blocks, or use fields to return only selected keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-athlete-api\"\u003eESPN Athlete API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-news-api\"\u003eESPN News API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/espn/espn-videos-and-highlights-api\"\u003eESPN Videos API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/espn/espn-search-api?offering=6a9ceb32-33c9-45d9-be96-664493b6fe0d","providerId":"apish","publicPath":"/v1/agent-apis/apish/espn/v1/search","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"limit":"1","output":"json","q":"mahomes","raw":"0"}},"response_body":{"cached":false,"credits_used":1,"fetched_at":"2026-11-19T12:21:19.815Z","query":"mahomes","results":{"article":[{"date":"2026-11-16T02:24:25.000+00:00","description":null,"id":"50496736","image":null,"kind":"headlinenews","league":null,"name":"Patrick Mahomes stars for Chiefs, strikes early connection with Josh Downs","sport":null,"subtitle":null,"url":"https://www.espn.com/nfl/story/_/id/50496736/patrick-mahomes-stars-chiefs-sync-josh-downs"}],"clips":[{"date":"2026-11-15T21:53:18.000+00:00","description":null,"id":"50494330","image":"https://espnmedia-cdn.akamaized.net/espn/media/common/2026/1115/ss_20261115_165320335_37441971015/ss_20261115_165320335_37441971015.jpg","kind":"vod","league":null,"name":"Why fantasy managers should keep riding the hot hand with Patrick Mahomes","sport":null,"subtitle":"Why fantasy managers should keep riding the hot hand with Patrick Mahomes","url":"https://www.espn.com/video/clip/_/id/50494330"}],"player":[{"description":"NFL","id":"3139477","image":"https://a.espncdn.com/i/headshots/nfl/players/full/3139477.png","kind":"player","league":"nfl","name":"Patrick Mahomes","sport":"football","subtitle":"Kansas City Chiefs","url":"https://www.espn.com/nfl/player/_/id/3139477/patrick-mahomes"}],"replay":[{"date":"2019-06-28T04:00:00.000+00:00","description":null,"id":"683f2f86-8a9c-4da9-ada3-face9f4661f4","image":"http://artwork.espncdn.com/media/683f2f86-8a9c-4da9-ada3-face9f4661f4/16x9/large_201906291205.jpg","kind":"listing","league":null,"name":"Peyton Manning: Breaking Down Patrick Mahomes","sport":null,"subtitle":"ESPN+ • Peyton Manning: Breaking Down Patrick Mahomes","url":"https://www.espn.com/watch/player/_/id/683f2f86-8a9c-4da9-ada3-face9f4661f4"}]},"total":4}}],"seoDescription":"Search ESPN via REST or MCP powered by Apish. Pay per call, no subscription. Integrate structured JSON into apps and AI agents with a single OpenAny API.","updatedAt":"2026-12-03T02:41:43.814Z","usageInstructionsHtml":""}}