{"openapi":"3.1.0","info":{"title":"BALLDONTLIE MMA (BYOK) API","version":"0.1.0","description":"BALLDONTLIE MMA (BYOK) lets an AI assistant read your own BALLDONTLIE MMA data through the BALLDONTLIE MMA API with a key you supply (BALLDONTLIE API key). Read-only: 9 tools (list_leagues, list_events, get_event, list_fighters, get_fighter, list_fights, get_fight, get_rankings, list_fight_stats). The BYOK key travels with each request, is used for that one call only and is never stored, logged...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-balldontlie-mma.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-balldontlie-mma/docs"},"termsOfService":"https://connectorbay.com/byok-balldontlie-mma/terms"},"servers":[{"url":"https://byok-balldontlie-mma.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-balldontlie-mma/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_leagues":{"post":{"operationId":"list_leagues","summary":"List the MMA promotions covered, such as the UFC, with abbreviation. Use for \"Which MMA promotions are covered\".","description":"List the MMA promotions covered, such as the UFC, with abbreviation. Use for \"Which MMA promotions are covered\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_leaguesArguments","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_events":{"post":{"operationId":"list_events","summary":"List MMA events by date or year with venue, status and card start times. Use for \"Which MMA events take place in 2026\".","description":"List MMA events by date or year with venue, status and card start times. Use for \"Which MMA events take place in 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Pagination cursor: pass the next_cursor value from the previous answer to get the following page.","title":"Cursor"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many results to return per page (1 to 100).","title":"Per Page"},"date":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by event date (YYYY-MM-DD).","title":"Date"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter by event year.","title":"Year"}},"title":"list_eventsArguments","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_event":{"post":{"operationId":"get_event","summary":"Get one MMA event by id with venue, date, status and card start times. Use for \"Show the details of MMA event 1\".","description":"Get one MMA event by id with venue, date, status and card start times. Use for \"Show the details of MMA event 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"event_id":{"description":"Numeric event id as returned by the list endpoint.","title":"Event Id","type":"integer"}},"required":["event_id"],"title":"get_eventArguments","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_fighters":{"post":{"operationId":"list_fighters","summary":"Search MMA fighters by name with nickname, nationality, height, reach, weight class and birth date. Use for \"Find the fi","description":"Search MMA fighters by name with nickname, nationality, height, reach, weight class and birth date. Use for \"Find the fighter Islam Makhachev\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Pagination cursor: pass the next_cursor value from the previous answer to get the following page.","title":"Cursor"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many results to return per page (1 to 100).","title":"Per Page"},"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search fighters by name.","title":"Search"},"fighter_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter by specific fighter IDs. One value.","title":"Fighter Id"}},"title":"list_fightersArguments","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_fighter":{"post":{"operationId":"get_fighter","summary":"Get one MMA fighter by id with nationality, size, reach and weight class. Use for \"Show the profile of MMA fighter 1\".","description":"Get one MMA fighter by id with nationality, size, reach and weight class. Use for \"Show the profile of MMA fighter 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fighter_id":{"description":"Numeric fighter id as returned by the list endpoint.","title":"Fighter Id","type":"integer"}},"required":["fighter_id"],"title":"get_fighterArguments","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_fights":{"post":{"operationId":"list_fights","summary":"List MMA fights by event or fighter with card segment, scheduled rounds, result method and winner. Use for \"What fights ","description":"List MMA fights by event or fighter with card segment, scheduled rounds, result method and winner. Use for \"What fights were on MMA event 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Pagination cursor: pass the next_cursor value from the previous answer to get the following page.","title":"Cursor"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many results to return per page (1 to 100).","title":"Per Page"},"fight_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter by specific fight IDs. One value.","title":"Fight Id"},"fighter_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter fights involving specific fighters. One value.","title":"Fighter Id"},"event_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter fights by event IDs. One value.","title":"Event Id"}},"title":"list_fightsArguments","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_fight":{"post":{"operationId":"get_fight","summary":"Get one MMA fight by id with fighters, winner, result method and round details. Use for \"Show the details of MMA fight 1","description":"Get one MMA fight by id with fighters, winner, result method and round details. Use for \"Show the details of MMA fight 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fight_id":{"description":"Numeric fight id as returned by the list endpoint.","title":"Fight Id","type":"integer"}},"required":["fight_id"],"title":"get_fightArguments","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_rankings":{"post":{"operationId":"get_rankings","summary":"Show the MMA rankings per weight class. Use for \"Who is ranked in each MMA weight class\".","description":"Show the MMA rankings per weight class. Use for \"Who is ranked in each MMA weight class\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_rankingsArguments","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_fight_stats":{"post":{"operationId":"list_fight_stats","summary":"List striking and grappling statistics per fighter for MMA fights, such as significant strikes and knockdowns. Use for \"","description":"List striking and grappling statistics per fighter for MMA fights, such as significant strikes and knockdowns. Use for \"How many significant strikes did each fighter land in MMA fight 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cursor":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Pagination cursor: pass the next_cursor value from the previous answer to get the following page.","title":"Cursor"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many results to return per page (1 to 100).","title":"Per Page"},"fight_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter by specific fight IDs. One value.","title":"Fight Id"},"fighter_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter statistics for specific fighters. One value.","title":"Fighter Id"},"event_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Filter statistics by event IDs. One value.","title":"Event Id"}},"title":"list_fight_statsArguments","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}}}}