{"uid":"cap_xl3cmk2S_0dcvZRJrnhJo","slug":"mlb-leagues-api-1bc5726e","name":"MLB Leagues API","description":"MLB StatsAPI: leagues for a sport id - league name, abbreviation, current season. Query: ?q= Returns JSON.","url":"https://clonecho.builda.company/x402/s/mlb-leagues","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2ZLorQG2xj4PfCq4OK7N9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns MLB league names, abbreviations, and current season info for a given sport ID","exampleAgentPrompt":"Can you look up all the MLB leagues for sport ID 1 and tell me their names, abbreviations, and what the current season is?","exampleUseCases":null,"resultDescription":"A JSON array of MLB league objects, each containing the league name, abbreviation, and current season information for the specified sport ID.","failureModes":["Invalid or missing sport ID returns empty results or error","API returns 402 if payment is not included","Malformed query parameter causes bad request","Sport ID not associated with any leagues returns empty list"],"whenToPreferThis":"Use this endpoint when you need structured MLB league metadata — names, abbreviations, and current season — keyed by sport ID, especially when building sports apps, dashboards, or enriching baseball data pipelines with official league identifiers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:49.091Z","isFirstParty":false}