{"uid":"cap_IqpxwYJcJXpszCPcp9rM8","slug":"thesportsdb-all-leagues-lookup-ff7f20e9","name":"TheSportsDB All Leagues Lookup","description":"The list of all leagues from TheSportsDB, no key. Returns league id, name, and sport. For AI agents resolving league ids and building sports navigation.","url":"https://proxy.suverse.io/v1/data/suverse-sports-leagues","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"sport":"basketball","league":"NBA","season":2024},"response":{"data":{"leagues":[{"idLeague":"4328","strSport":"Soccer","strLeague":"English Premier League"},{"idLeague":"4329","strSport":"Soccer","strLeague":"English League Championship"},{"idLeague":"4330","strSport":"Soccer","strLeague":"Scottish Premier League"},{"idLeague":"4331","strSport":"Soccer","strLeague":"German Bundesliga"},{"idLeague":"4332","strSport":"Soccer","strLeague":"Italian Serie A"}]},"source":"thesportsdb"}},"exampleRequest":{"sport":"basketball","league":"NBA","season":2024},"tags":["x402"],"displayCostAmount":"0.07","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zg_0fOmvsRPEwyB-FF8Ym","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a full list of all sports leagues from TheSportsDB, including league ID, name, and sport type, with no API key required.","exampleAgentPrompt":"Can you pull the full list of sports leagues from TheSportsDB so I can find the league ID for the Bundesliga?","exampleUseCases":[{"title":"Resolve league ID before fetching standings","prompt":"I need to look up the TheSportsDB ID for the Italian Serie A so I can fetch the current standings — can you get the full league list and find it for me?"},{"title":"Build sports navigation dropdown","prompt":"Can you grab all the sports leagues from TheSportsDB and group them by sport so I can build a navigation menu for my sports app?"},{"title":"Validate a league name before querying stats","prompt":"I want to make sure 'Scottish Premier League' is a recognized league in TheSportsDB — can you pull the full league list and check if it's in there along with its ID?"}],"resultDescription":"A JSON array of all sports leagues in TheSportsDB, each entry containing the league's numeric ID (idLeague), league name (strLeague), and sport type (strSport). Example entries include soccer leagues like English Premier League (ID 4328) and German Bundesliga (ID 4331).","failureModes":["TheSportsDB upstream unavailable — proxy returns 5xx or empty response","Payment not processed correctly via x402 — endpoint returns 402 Payment Required","No response body if POST body is malformed or content-type is incorrect","Rate limiting or quota exhaustion on the upstream TheSportsDB API"],"whenToPreferThis":"Use this endpoint when you need to enumerate all leagues and resolve league names to their TheSportsDB numeric IDs without requiring an API key. It is the right choice when building sports data pipelines that depend on league IDs for downstream queries, or when constructing navigation structures across multiple sports. Prefer this over direct TheSportsDB API calls when you want a managed, key-free proxy with x402 micropayment access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:07:07.154Z","isFirstParty":false}