Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

ESPN Search

API दस्तावेज़
https://api.sandbase.ai/v1/api/espn/search

Search for athletes and teams across all sports. Returns matching results with IDs for use in other endpoints. When type filter is specified, only results of that type are returned.

मूल्य
$0.06USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
Search query (player name, team name, etc.)
Filter results by type. Accepted values: 'player', 'team'. When omitted, searches both players and teams.
Maximum results to return.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

ESPN Search API

Search for athletes and teams across all sports. Returns matching results with IDs for use in other endpoints. When type filter is specified, only results of that type are returned.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "espn/search", "type": "player", "limit": 5, "query": "LeBron"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch query (player name, team name, etc.)
limitintegerNoMaximum results to return.
typestringNoFilter results by type. Accepted values: 'player', 'team'. When omitted, searches both players and teams.

Pricing

Flat $0.06 per call. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
ESPN Searchयह API
ESPN
$0.06 प्रति कॉलJSON
ESPN$0.06 प्रति कॉलJSON
ESPN$0.03 प्रति कॉलJSON
ESPN$0.03 प्रति कॉलJSON
ESPN$0.03 प्रति कॉलJSON
ESPN$0.03 प्रति कॉलJSON

प्रश्न

FAQ

ESPN Search API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/espn/search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

ESPN Search API की लागत कितनी है?

$0.06 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

ESPN Search API कौन-से parameters स्वीकार करती है?

आवश्यक: query (string)। वैकल्पिक: type (string) और limit (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

ESPN Search API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक ESPN developer account या API key चाहिए?

नहीं। ESPN Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से ESPN API access के लिए आवेदन करने की आवश्यकता नहीं है।