{"uid":"cap_BGtQOJXi1s5AviHcrsWKF","slug":"mlb-stats-api-fly-dev-dda02393","name":"MLB Active Players List","description":"All active MLB players for the current season.","url":"https://mlb-stats-api.fly.dev/mlb/players","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"object","required":["_truncated","_originalSize"],"properties":{"_truncated":{"type":"boolean"},"_originalSize":{"type":"number"}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"_truncated":true,"_originalSize":228216}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2JZBnqP03kM1XKGrwkQeb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all active MLB players for the current season","exampleAgentPrompt":"Can you give me a full list of all the active MLB players for this season, including their names and player IDs?","exampleUseCases":[{"title":"Build a player fantasy league","prompt":"I'm setting up a fantasy baseball league and need the complete roster of all active MLB players this season so I can populate my draft board."},{"title":"Track roster changes across teams","prompt":"Pull all the active MLB players right now so I can compare it against last season's roster and identify who's new to the league."},{"title":"Create a player search database","prompt":"Get me every currently active MLB player with their IDs and team info—I want to build a searchable directory for our baseball app."}],"resultDescription":"A list of all active Major League Baseball players for the current season, including player identifiers, names, and team associations.","failureModes":["Service unavailable (5xx) if the fly.dev instance is down or cold-starting","Payment required (402) if x402 USDC payment is not included in the request","Empty or stale list if the season data has not been updated","Rate limiting if the endpoint is called excessively"],"whenToPreferThis":"Use this endpoint when you need a comprehensive enumeration of all active MLB players for the current season, especially as a prerequisite for lookups involving player IDs on other endpoints. Prefer this over team-specific or stats-specific endpoints when you need a full cross-team player directory.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:43.852Z","isFirstParty":false}