Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: UFCalendar Fight Rosters API
version: 1.7.0
description: 'Fight data API by UFCalendar — MMA + bare-knuckle boxing: events, full cards, results,
per-fight and per-round statistics, fighters with complete multi-promotion careers,
official rankings history (UFC 2013→), **judges'' scorecards** (every round, every official,
UFC back to 1995), UFCalendar Power Index ratings, AI win probabilities and per-country
broadcast rights — for **UFC, PFL, OKTAGON, BKFC, RIZIN and KSW**. Keys live at ufcalendar.com/account/api — every account gets the **free plan**: 100 requests a month, no card, never expires. Paid plans from $19/mo. Plans and quotas: ufcalendar.com/developers. Built for indie developers, side projects and small teams: fantasy apps, stats sites, Discord bots, analytics
projects. Plans are priced for them: self-serve only, no sales-negotiated contracts, and none planned. Conventions: snake_case JSON in a `{"data": ..., "meta": ...}` envelope (`meta` is ALWAYS present, `{}` at minimum); cursor
pagination; UTC ISO-8601 timestamps plus venue IANA `tz`; errors as
`{"error": {"code", "message", "request_id"}}` (every code is in the `ErrorCode` schema); monthly-quota headers
`X-RateLimit-Limit/-Remaining/-Reset` and `Retry-After` on 429. Every `GET /v1` 200 carries a weak `ETag` and
`Cache-Control: private, no-cache`; send `If-None-Match` and an unchanged payload answers 304 with no body. Every response body is described under `components.schemas` — closed objects, nullable as `[T, "null"]`, every
vocabulary an `enum` — so generated clients get real types. **Live fight night over WebSocket (Pro and Business):** on UFC fight nights (Contender Series included) the bout
in the cage streams in real time — card statuses, round, running clock, unofficial totals and per-round stats,
referee and a timestamped action timeline, then the result the moment it is posted. Connect to
`wss://live.ufcalendar.com/v1?key=`, send `{"action":"subscribe","event":""}` and receive `snapshot`,
`update`, `fight.final` and `event.completed` frames (`{"action":"ping"}` answers `pong`). The same document is a
snapshot on `GET /v1/events/{idOrSlug}/live` for polling. Up to 2 sockets per key on Pro, 5 on Business; a lower
plan gets 403 `tier_required` (the socket upgrade is refused). In-fight numbers are unofficial until the bout is
settled on `/v1/fights/{id}`. **Odds (2026-09):** one UFCalendar consensus line per corner: the mean across the sportsbooks we track (book
identities are never exposed; `sources` is how many backed each point), refreshed every 30 minutes in the 48 hours
before a card and every 2 hours otherwise. Current, opening and closing lines ship on every plan
(`/v1/fights/{id}/odds`, `/v1/events/{id}/odds`, `include=odds`); the full movement series is Pro and up
(`/v1/fights/{id}/odds/history`). Information only, not betting advice. **In-fight log and position stats (2026-11):** for settled UFC bouts, the official in-fight log (every action,
referee stoppages with their reason, confirmed fouls: `/v1/fights/{id}/timeline`,
`/v1/fighters/{idOrSlug}/discipline`) and position stats (time by range, control by position:
`/v1/fights/{id}/positions`, `/v1/fighters/{idOrSlug}/positions`). Pro and Business plans. A foul is reported when
a record confirms it: the log''s own eye-poke or low-blow row, a point the athletic commission deducted, or the
official result the bout ended on. A recorded foul is not a ruling on intent. **Roster status (2026-11):** every fighter object carries `roster` — the promotion''s own published roster status
(`active`, `off_roster` = no longer listed on its roster, `retired`), mirrored as published by the promotion, for the
promotions that publish one (UFC; `capabilities.roster` on `/v1/orgs`). Filter with `/v1/fighters?org=ufc&roster_status=active`
(every plan). The full roster with divisions and bookings (`/v1/rosters/{org}`), the moves feed of signings, departures,
retirements and returns (`/v1/rosters/{org}/moves`) and the `roster.changed` webhook are Pro and Business.'
contact:
name: UFCalendar
email: api@ufcalendar.com
url: https://www.ufcalendar.com/developers
termsOfService: https://www.ufcalendar.com/developers/terms
x-logo:
url: https://www.ufcalendar.com/icon.png
altText: UFCalendar
x-scalar-sdk-installation:
- lang: Python
source: pip install ufcalendar
description: Python SDK — https://pypi.org/project/ufcalendar/
- lang: TypeScript
source: npm install @ufcalendar/sdk
description: TypeScript SDK — https://www.npmjs.com/package/@ufcalendar/sdk
servers:
- url: https://api.ufcalendar.com
security:
- bearerAuth: []
tags:
- name: Rosters
description: 'A promotion''s roster as published by the promotion itself (UFC): who it lists as active, off its roster or retired, and the confirmed moves between those. The `roster` field and filter on fighters are on every plan; these routes are Pro and Business.'
paths:
/v1/rosters/{org}:
get:
tags:
- Rosters
summary: A promotion's current roster (Pro+)
description: 'The roster as published by the promotion on its own athlete profiles, for the promotions that publish one (today the UFC; `capabilities.roster` on `/v1/orgs`). Requires a Pro or Business plan: a lower plan gets 403 `tier_required` (the `roster` field on fighter objects and `roster_status` on `/v1/fighters` are on every plan), answered before anything is looked up.
`status` picks the list: `active` (default, everyone the promotion lists on its roster — including long-idle contracted names), `off_roster` (no longer listed — the promotion does not say why) or `retired`. A fighter is on exactly one list: if two of the promotion''s profiles map to one fighter, an active one wins. `division` narrows to one division slug (`featherweight`, `womens-strawweight`, …) as the promotion lists it. Each row: `fighter` (the `FighterRef`), `roster` (`status`, `since` = when we first observed it, null when it predates our first check; `checked_at` = when the promotion last confirmed it; `division`), `last_fight` (the latest settled bout in any launch promotion) and `next_fight` (the next booking, with `starts_at`), or null. Sorted by name; `meta.total` counts the whole list. Only fighters on the API roster are listed: a newly signed athlete appears once they have a bout or booking we track. An org that publishes no roster answers 404 `not_found`.'
parameters:
- name: org
in: path
required: true
schema:
type: string
enum:
- ufc
description: A promotion that publishes its roster.
- name: status
in: query
required: false
schema:
type: string
enum:
- active
- off_roster
- retired
default: active
- name: division
in: query
required: false
schema:
type: string
description: Division slug, e.g. `featherweight`, `light-heavyweight`, `womens-strawweight`.
- name: cursor
in: query
required: false
schema:
type: string
description: Opaque cursor from `meta.pagination.next_cursor`.
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 25
responses:
'200':
description: Roster rows, by name
headers:
ETag:
description: Weak validator over the body, e.g. `W/"GKrimLo826WBqG27jbNFsW2ZHmA"`. Send it back as `If-None-Match` to get a 304.
schema:
type: string
Cache-Control:
description: Always `private, no-cache`.
schema:
type: string
X-RateLimit-Limit:
description: Monthly request quota of the plan.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests left this month.
schema:
type: integer
X-RateLimit-Reset:
description: Unix seconds of the monthly reset.
schema:
type: integer
x-request-id:
description: Quote it to support; the same id is in every error body.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/RosterResponse'
example:
data:
- fighter:
id: 327
slug: alexander-volkanovski
name: Alexander Volkanovski
nickname: The Great
nationality: Australia
country_code: AU
roster:
org: ufc
status: active
since: null
checked_at: '2026-11-21T03:08:39.439Z'
division: featherweight
last_fight:
fight_id: 83679
event_id: 2530
event_slug: ufc-333-2026-10-24
event_title: 'UFC 333: Volkanovski vs Evloev'
org: ufc
date: '2026-10-24'
next_fight: null
meta:
org: ufc
status: active
division: featherweight
total: 92
note: Roster status as published by the promotion on its own athlete profiles. off_roster = the promotion no longer lists the fighter on its roster; it does not say why. since is null when the status predates our first check.
pagination:
next_cursor: eyJpZCI6MX0
has_more: true
limit: 1
'304':
description: Not Modified — `If-None-Match` matched the current weak `ETag`. Empty body.
'400':
description: Invalid input (`invalid_status`, `invalid_division`, `invalid_cursor`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing/invalid API key (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Requires a Pro or Business plan (`tier_required`). Answered before the promotion is looked up. The `roster` field and the `roster_status` filter on `/v1/fighters` are on every plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (`not_found`; staged-org data 404s until the org is promoted).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited (`rate_limited`) or monthly quota reached (`quota_exceeded`). Honor `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Something broke on our side (`internal_error`). It has been logged under the `request_id`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-codeSamples:
- lang: Shell
label: curl
source: "curl \"https://api.ufcalendar.com/v1/rosters/ufc?status=active&limit=3\" \\\n -H \"Authorization: Bearer $UFCALENDAR_API_KEY\""
- lang: Python
label: ufcalendar (PyPI)
source: "from ufcalendar import FightAPI\n\napi = FightAPI() # or FightAPI(\"ufcalendar_...\")\nfor row in api.roster(\"ufc\", division=\"featherweight\"):\n print(row)"
- lang: TypeScript
label: '@ufcalendar/sdk (npm)'
source: "import { FightAPI } from '@ufcalendar/sdk';\n\nconst api = new FightAPI(process.env.UFCALENDAR_API_KEY);\nfor await (const row of api.roster(\"ufc\", { division: \"featherweight\" })) {\n console.log(row);\n}"
- lang: JSON
label: MCP tool call
source: "{\n \"method\": \"tools/call\",\n \"params\": {\n \"name\": \"get_roster\",\n \"arguments\": {\n \"org\": \"ufc\",\n \"division\": \"featherweight\",\n \"limit\": 5\n }\n }\n}"
x-mcp-tool: get_roster
x-mcp-tools:
- get_roster
operationId: getV1RostersByOrg
x-operation-id-source: derived
/v1/rosters/{org}/moves:
get:
tags:
- Rosters
summary: 'Roster moves: signings, departures, retirements (Pro+)'
description: 'Confirmed roster moves as published by the promotion, newest first: `signed` (newly listed as active), `left` (no longer listed on the roster — the promotion does not say why), `retired` and `returned` (listed as active again). Requires a Pro or Business plan: a lower plan gets 403 `tier_required` (the `roster` field on fighter objects and `roster_status` on `/v1/fighters` are on every plan), answered before anything is looked up.
A move is confirmed by two agreeing reads of the promotion''s profile at least 6 hours apart, and dated by a window: it happened after `previous_checked_at` (the last read showing the old status) and at or before `observed_at` (the first read showing the new one). `backfilled` moves were reconstructed from archived profile pages rather than observed live. Narrow with `since` / `until` (on `observed_at`; a `YYYY-MM-DD` is a UTC day, `until` covering the whole day), `kind` and `fighter` (slug or id). Only fighters on the API roster are listed. The same object is delivered by the `roster.changed` webhook.'
parameters:
- name: org
in: path
required: true
schema:
type: string
enum:
- ufc
description: A promotion that publishes its roster.
- name: since
in: query
required: false
schema:
type: string
description: '`YYYY-MM-DD` (UTC) or ISO-8601 datetime: moves observed on or after it.'
- name: until
in: query
required: false
schema:
type: string
description: '`YYYY-MM-DD` (UTC, the whole day) or ISO-8601 datetime: moves observed on or before it.'
- name: kind
in: query
required: false
schema:
type: string
enum:
- signed
- left
- retired
- returned
- name: fighter
in: query
required: false
schema:
type: string
description: 'Only this fighter''s moves: slug (preferred) or numeric id. 404 when the fighter does not exist; an empty list when he has no roster moves.'
- name: cursor
in: query
required: false
schema:
type: string
description: Opaque cursor from `meta.pagination.next_cursor`.
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 25
responses:
'200':
description: Moves, newest first
headers:
ETag:
description: Weak validator over the body, e.g. `W/"GKrimLo826WBqG27jbNFsW2ZHmA"`. Send it back as `If-None-Match` to get a 304.
schema:
type: string
Cache-Control:
description: Always `private, no-cache`.
schema:
type: string
X-RateLimit-Limit:
description: Monthly request quota of the plan.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests left this month.
schema:
type: integer
X-RateLimit-Reset:
description: Unix seconds of the monthly reset.
schema:
type: integer
x-request-id:
description: Quote it to support; the same id is in every error body.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/RosterMovesResponse'
example:
data:
- id: 14
fighter:
id: 1088
slug: pete-rodriguez
name: Pete Rodriguez
nickname: Dead Game
nationality: United States
country_code: US
org: ufc
kind: left
from_status: active
to_status: off_roster
observed_at: '2026-11-21T03:39:42.165Z'
previous_checked_at: '2026-08-10T17:10:50.725Z'
backfilled: true
meta:
org: ufc
since: null
until: null
kind: null
fighter_id: null
note: 'Confirmed roster moves as published by the promotion: each happened between previous_checked_at (our last read showing the old status) and observed_at (the first read showing the new one). backfilled moves were reconstructed from archived profile pages.'
pagination:
next_cursor: eyJpZCI6MTR9
has_more: true
limit: 1
'304':
description: Not Modified — `If-None-Match` matched the current weak `ETag`. Empty body.
'400':
description: Invalid input (`invalid_date`, `invalid_kind`, `invalid_cursor`). Dates must be real calendar days (`2026-02-30` is `invalid_date`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing/invalid API key (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Requires a Pro or Business plan (`tier_required`). Answered before the promotion is looked up. The `roster` field and the `roster_status` filter on `/v1/fighters` are on every plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found (`not_found`; staged-org data 404s until the org is promoted).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited (`rate_limited`) or monthly quota reached (`quota_exceeded`). Honor `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Something broke on our side (`internal_error`). It has been logged under the `request_id`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-codeSamples:
- lang: Shell
label: curl
source: "curl \"https://api.ufcalendar.com/v1/rosters/ufc/moves?limit=3\" \\\n -H \"Authorization: Bearer $UFCALENDAR_API_KEY\""
- lang: Python
label: ufcalendar (PyPI)
source: "from ufcalendar import FightAPI\n\napi = FightAPI() # or FightAPI(\"ufcalendar_...\")\nfor row in api.roster_moves(\"ufc\"):\n print(row)"
- lang: TypeScript
label: '@ufcalendar/sdk (npm)'
source: "import { FightAPI } from '@ufcalendar/sdk';\n\nconst api = new FightAPI(process.env.UFCALENDAR_API_KEY);\nfor await (const row of api.rosterMoves(\"ufc\")) {\n console.log(row);\n}"
- lang: JSON
label: MCP tool call
source: "{\n \"method\": \"tools/call\",\n \"params\": {\n \"name\": \"get_roster_moves\",\n \"arguments\": {\n \"org\": \"ufc\",\n \"kind\": \"left\",\n \"limit\": 10\n }\n }\n}"
x-mcp-tool: get_roster_moves
x-mcp-tools:
- get_roster_moves
operationId: getV1RostersByOrgMoves
x-operation-id-source: derived
components:
schemas:
ErrorCode:
type: string
enum:
- unauthorized
- subscription_required
- tier_required
- direct_plan_required
- rate_limited
- quota_exceeded
- not_found
- invalid_org
- unsupported_org
- invalid_status
- invalid_date
- invalid_order
- invalid_query
- invalid_url
- invalid_events
- invalid_json
- invalid_id
- invalid_cursor
- endpoint_limit
- invalid_include
- invalid_boolean
- invalid_country
- invalid_kind
- invalid_method
- invalid_division
- invalid_view
- invalid_series
- invalid_locale
- invalid_metric
- invalid_population
- invalid_scope
- invalid_filter
- filter_required
- page_depth_exceeded
- internal_error
description: Every `error.code` the API emits.
Pagination:
type: object
properties:
next_cursor:
type:
- string
- 'null'
description: Opaque; pass as `?cursor=`. Null on the last page.
has_more:
type: boolean
limit:
type: integer
description: The page size actually applied (out-of-range `limit` values are clamped).
required:
- next_cursor
- has_more
- limit
additionalProperties: false
FighterRef:
type: object
description: The one fighter-reference shape every card, fight and search row carries.
properties:
id:
type: integer
slug:
type: string
name:
type: string
nickname:
type:
- string
- 'null'
nationality:
type:
- string
- 'null'
description: Country NAME as the source spells it (e.g. `United States`).
country_code:
type:
- string
- 'null'
description: ISO 3166-1 alpha-2 derived from `nationality`; null when the name is unknown to our table.
required:
- id
- slug
- name
- nickname
- nationality
- country_code
additionalProperties: false
Error:
type: object
description: Uniform error body on every non-2xx JSON response.
properties:
error:
type: object
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
description: Human-readable, stable enough to show a user; do not parse.
request_id:
type: string
description: Also sent as the `x-request-id` header — quote it to support.
required:
- code
- message
- request_id
additionalProperties: false
required:
- error
additionalProperties: false
RosterRow:
type: object
description: One fighter on a promotion's published roster, with the last bout and the next booking in any launch promotion.
properties:
fighter:
$ref: '#/components/schemas/FighterRef'
roster:
type: object
properties:
org:
type: string
status:
$ref: '#/components/schemas/RosterStatus'
since:
type:
- string
- 'null'
format: date-time
description: When we first observed this status; null when it predates our first check.
checked_at:
type:
- string
- 'null'
format: date-time
description: When the promotion last confirmed it.
division:
type:
- string
- 'null'
description: Division slug as the promotion lists it (`featherweight`, `womens-strawweight`); null when it lists none.
required:
- org
- status
- since
- checked_at
- division
additionalProperties: false
last_fight:
oneOf:
- $ref: '#/components/schemas/RosterBout'
- type: 'null'
next_fight:
oneOf:
- $ref: '#/components/schemas/RosterNextBout'
- type: 'null'
required:
- fighter
- roster
- last_fight
- next_fight
additionalProperties: false
RosterNextBout:
type: object
properties:
fight_id:
type: integer
event_id:
type: integer
event_slug:
type: string
event_title:
type: string
org:
type: string
description: Org slug of the bout (any launch promotion).
date:
type:
- string
- 'null'
format: date
description: UTC calendar day of the event's first bell.
starts_at:
type:
- string
- 'null'
format: date-time
description: First bell (UTC).
required:
- fight_id
- event_id
- event_slug
- event_title
- org
- date
- starts_at
additionalProperties: false
RosterStatus:
type: string
enum:
- active
- off_roster
- retired
description: 'The promotion''s own published roster status: `active` = listed on its roster, `off_roster` = no longer listed (the promotion does not say why), `retired` = listed as retired.'
RosterResponse:
type: object
description: Sorted by name.
properties:
data:
type: array
items:
$ref: '#/components/schemas/RosterRow'
meta:
type: object
properties:
org:
type: string
status:
$ref: '#/components/schemas/RosterStatus'
division:
type:
- string
- 'null'
description: The `division=` filter applied.
total:
type: integer
description: Fighters on this list (all pages).
note:
type: string
description: 'Always present: as published by the promotion.'
pagination:
$ref: '#/components/schemas/Pagination'
ignored_params:
type: array
items:
type: string
description: Present only when the request carried query parameters this endpoint does not take — they were ignored. Same list as the `X-UFCalendar-Ignored-Params` header. Sorted, unique.
required:
- org
- status
- division
- total
- note
- pagination
additionalProperties: false
required:
- data
- meta
additionalProperties: false
RosterMoveKind:
type: string
enum:
- signed
- left
- retired
- returned
description: '`signed` = newly listed as active, `left` = no longer listed on the roster, `retired` = listed as retired, `returned` = listed as active again.'
RosterMove:
type: object
description: One confirmed roster move, as published by the promotion.
properties:
id:
type: integer
description: Stable id of the move (the `roster.changed` delivery carries the same object).
fighter:
$ref: '#/components/schemas/FighterRef'
org:
type: string
kind:
$ref: '#/components/schemas/RosterMoveKind'
from_status:
oneOf:
- $ref: '#/components/schemas/RosterStatus'
- type: 'null'
description: Null on a signing.
to_status:
$ref: '#/components/schemas/RosterStatus'
observed_at:
type: string
format: date-time
description: 'The first read showing the new status: the move happened at or before it.'
previous_checked_at:
type:
- string
- 'null'
format: date-time
description: 'The last read showing the old status: the move happened after it.'
backfilled:
type: boolean
description: true = reconstructed from archived profile pages, not observed live.
required:
- id
- fighter
- org
- kind
- from_status
- to_status
- observed_at
- previous_checked_at
- backfilled
additionalProperties: false
RosterBout:
type: object
properties:
fight_id:
type: integer
event_id:
type: integer
event_slug:
type: string
event_title:
type: string
org:
type: string
description: Org slug of the bout (any launch promotion).
date:
type:
- string
- 'null'
format: date
description: UTC calendar day of the event's first bell.
required:
- fight_id
- event_id
- event_slug
- event_title
- org
- date
additionalProperties: false
RosterMovesResponse:
type: object
description: Newest first.
properties:
data:
type: array
items:
$ref: '#/components/schemas/RosterMove'
meta:
type: object
properties:
org:
type: string
since:
type:
- string
- 'null'
format: date-time
description: The `since=` bound applied.
until:
type:
- string
- 'null'
format: date-time
description: The `until=` bound applied (a date covers the whole UTC day).
kind:
oneOf:
- $ref: '#/components/schemas/RosterMoveKind'
- type: 'null'
fighter_id:
type:
- integer
- 'null'
description: The `fighter=` filter, resolved.
note:
type: string
description: 'Always present: how a move is dated.'
pagination:
$ref: '#/components/schemas/Pagination'
ignored_params:
type: array
items:
type: string
description: Present only when the request carried query parameters this endpoint does not take — they were ignored. Same list as the `X-UFCalendar-Ignored-Params` header. Sorted, unique.
required:
- org
- since
- until
- kind
- fighter_id
- note
- pagination
additionalProperties: false
required:
- data
- meta
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key, e.g. `Authorization: Bearer ufcalendar_ab12…`'
externalDocs:
description: Plans, coverage, guides and the agent (MCP) quickstart
url: https://www.ufcalendar.com/developers
x-agents-url: https://www.ufcalendar.com/developers/agents