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

ESPN News

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

Get latest news articles and headlines for a specific league. Returns articles with full metadata including categories, images, and links.

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

प्लेग्राउंड

इनपुट
League identifier.
Number of articles to return.
आउटपुटतैयार

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

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

API README

ESPN News API

Get latest news articles and headlines for a specific league. Returns articles with full metadata including categories, images, and links.

Request

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

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

Parameters

NameTypeRequiredDescription
leaguestringYesLeague identifier. One of: nba, nfl, mlb, nhl, wnba, college-football, mens-college-basketball, womens-college-basketball, college-baseball, college-softball, eng.1, esp.1.
limitintegerNoNumber of articles to return.

Pricing

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

और जानें

संबंधित APIs

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

प्रश्न

FAQ

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

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

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

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

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

आवश्यक: league (nba, nfl, mlb, nhl, wnba, college-football, mens-college-basketball, womens-college-basketball, college-baseball, college-softball, eng.1, esp.1, ger.1, ita.1, ita.2, fra.1, usa.1, uefa.champions, uefa.europa, ufc, f1, nascar, nll, mlc में से एक)। वैकल्पिक: limit (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

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

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

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

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