{"openapi":"3.1.0","info":{"title":"SportsData.io NASCAR (BYOK) API","version":"0.1.0","description":"SportsData.io NASCAR (BYOK) lets an AI assistant read your own SportsData.io NASCAR data through the SportsData.io NASCAR API with a key you supply (SportsData.io NASCAR API key). Read-only: 8 tools (list_series, list_races, list_tracks, list_active_drivers, list_drivers, get_driver, get_race_result, get_final_race_result). The BYOK key travels with each request, is used for that one call only...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-sportsdataio-nascar.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-sportsdataio-nascar/docs"},"termsOfService":"https://connectorbay.com/byok-sportsdataio-nascar/terms"},"servers":[{"url":"https://byok-sportsdataio-nascar.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-sportsdataio-nascar/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_series":{"post":{"operationId":"list_series","summary":"List NASCAR series (for example Cup, Xfinity and Truck) with their ids. Use for \"Which NASCAR series exist\".","description":"List NASCAR series (for example Cup, Xfinity and Truck) with their ids. Use for \"Which NASCAR series exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_seriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_races":{"post":{"operationId":"list_races","summary":"List a season's NASCAR races with series, name, date, track, TV broadcaster, winner, pole winner, scheduled laps and sta","description":"List a season's NASCAR races with series, name, date, track, TV broadcaster, winner, pole winner, scheduled laps and status. Use for \"What is the NASCAR calendar for 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"season":{"description":"Season year, for example 2026.","maxLength":6,"title":"Season","type":"string"}},"required":["season"],"title":"list_racesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_tracks":{"post":{"operationId":"list_tracks","summary":"List the tracks used in a NASCAR season. Use for \"Which tracks does NASCAR visit in 2026\".","description":"List the tracks used in a NASCAR season. Use for \"Which tracks does NASCAR visit in 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"season":{"description":"Season year, for example 2026.","maxLength":6,"title":"Season","type":"string"}},"required":["season"],"title":"list_tracksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_active_drivers":{"post":{"operationId":"list_active_drivers","summary":"List active NASCAR drivers with car number, team, manufacturer, engine, chassis, sponsors, crew chief, height and weight","description":"List active NASCAR drivers with car number, team, manufacturer, engine, chassis, sponsors, crew chief, height and weight. Use for \"Who drives for each NASCAR team\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_active_driversArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_drivers":{"post":{"operationId":"list_drivers","summary":"List all NASCAR drivers in the database, active or not, with number, team, manufacturer and sponsors. Use for \"Which dri","description":"List all NASCAR drivers in the database, active or not, with number, team, manufacturer and sponsors. Use for \"Which drivers have competed in NASCAR\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_driversArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_driver":{"post":{"operationId":"get_driver","summary":"Get one NASCAR driver's profile: number, team, manufacturer, engine, chassis, sponsors and crew chief. Use for \"Tell me ","description":"Get one NASCAR driver's profile: number, team, manufacturer, engine, chassis, sponsors and crew chief. Use for \"Tell me about NASCAR driver 80000268\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"driverid":{"description":"Driver id as returned by list_drivers (field DriverID), for example 80000268.","title":"Driverid","type":"integer"}},"required":["driverid"],"title":"get_driverArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_race_result":{"post":{"operationId":"get_race_result","summary":"Get a NASCAR race result: race details and every driver's finishing record; live during a race. Large for a full field. ","description":"Get a NASCAR race result: race details and every driver's finishing record; live during a race. Large for a full field. Use for \"Who won NASCAR race 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"raceid":{"description":"Race id as returned by list_races (field RaceID), for example 1.","title":"Raceid","type":"integer"}},"required":["raceid"],"title":"get_race_resultArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_final_race_result":{"post":{"operationId":"get_final_race_result","summary":"Get the final result of a finished NASCAR race: race details and every driver's finishing record. Use for \"What was the ","description":"Get the final result of a finished NASCAR race: race details and every driver's finishing record. Use for \"What was the final order of NASCAR race 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"raceid":{"description":"Race id as returned by list_races (field RaceID), for example 1.","title":"Raceid","type":"integer"}},"required":["raceid"],"title":"get_final_race_resultArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}