{"uid":"cap_SH4LH7Yua-83tUumy6tln","slug":"mlb-stats-api-fly-dev-542bf5db","name":"NBA Player Season Stats","description":"Season stats for an NBA player by player_id.","url":"https://mlb-stats-api.fly.dev/nba/player/:player_id","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["player_id"],"properties":{"player_id":{"type":"string","description":"ESPN player ID"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object","required":["request_id","sport","league","retrieved_at","data","warnings","errors"],"properties":{"data":{"type":"object","required":["id","first_name","last_name","full_name","position","jersey_number","team_id","stats"],"properties":{"id":{"type":"string"},"stats":{"type":"null"},"team_id":{"type":"string"},"position":{"type":"string"},"full_name":{"type":"string"},"last_name":{"type":"string"},"first_name":{"type":"string"},"jersey_number":{"type":"string"}}},"sport":{"type":"string"},"errors":{"type":"array","items":{"type":"unknown"}},"league":{"type":"string"},"warnings":{"type":"array","items":{"type":"unknown"}},"request_id":{"type":"string"},"retrieved_at":{"type":"string"}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"player_id":"3975"}}},"response":{"data":{"id":"3975","stats":null,"team_id":"9","position":"G","full_name":"Stephen Curry","last_name":"Curry","first_name":"Stephen","jersey_number":"30"},"sport":"basketball","errors":[],"league":"nba","warnings":[],"request_id":"86eff4a3-f9b1-4ac9-84a2-d9a5d2638d9d","retrieved_at":"2026-05-30T00:21:59.246297+00:00"}},"exampleRequest":{"player_id":"3975"},"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_Lzm4iPdH8NboqSJa7yKWc","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 season statistics for an NBA player identified by their ESPN player ID.","exampleAgentPrompt":"What are LeBron James's season stats this year? His ESPN player ID is 1966.","exampleUseCases":null,"resultDescription":"Returns season statistics for the specified NBA player, including metrics such as points per game, rebounds, assists, field goal percentage, and other standard NBA season averages.","failureModes":["Invalid or unknown player_id returns an error or empty result","Player not found if the ESPN player ID does not match an active NBA player","Network timeout or service unavailability on the fly.dev host","Player_id belonging to a non-NBA league (e.g. WNBA or NFL player) returns no data or wrong data"],"whenToPreferThis":"Use this endpoint when you need season statistics for a specific NBA player and have their ESPN player ID. Prefer this over generic sports APIs when you need quick, cost-effective per-player NBA stat lookups without complex authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:45.193Z","isFirstParty":false}