UFC Calendar Search API
The Search API from UFC Calendar — 1 operation(s) for search.
The Search API from UFC Calendar — 1 operation(s) for search.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ufcalendar-com:ufcalendar-com-search-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: UFCalendar Fight Search 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: Search
paths:
/v1/search:
get:
tags:
- Search
summary: Typeahead search
description: Accent-insensitive search across roster fighters and events (up to 8 of each). Great for building pickers.
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 2
responses:
'200':
description: Matches
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/SearchResponse'
example:
data:
fighters:
- id: 1665
slug: jon-jones
name: Jon Jones
nickname: Bones
nationality: United States
country_code: US
events:
- id: 719
slug: ufc-309-2024-11-16
title: 'UFC 309: Jones vs Miocic'
org: ufc
starts_at: '2024-11-17T03:00:00.000Z'
meta: {}
'304':
description: Not Modified — `If-None-Match` matched the current weak `ETag`. Empty body.
'400':
description: Invalid input (`invalid_query`). `q` must be at least 2 characters.
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: 'No plan on the credential (`subscription_required`) — rare: every account with a key is on at least the free plan (100 requests/month, no card; keys at https://www.ufcalendar.com/account/api).'
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/search?q=makhachev\" \\\n -H \"Authorization: Bearer $UFCALENDAR_API_KEY\""
- lang: Python
label: ufcalendar (PyPI)
source: 'from ufcalendar import FightAPI
api = FightAPI() # or FightAPI("ufcalendar_...")
data = api.search("makhachev")'
- lang: TypeScript
label: '@ufcalendar/sdk (npm)'
source: 'import { FightAPI } from ''@ufcalendar/sdk'';
const api = new FightAPI(process.env.UFCALENDAR_API_KEY);
const data = await api.search("makhachev");'
- lang: JSON
label: MCP tool call
source: "{\n \"method\": \"tools/call\",\n \"params\": {\n \"name\": \"search\",\n \"arguments\": {\n \"q\": \"makhachev\"\n }\n }\n}"
x-mcp-tool: search
x-mcp-tools:
- search
operationId: getV1Search
x-operation-id-source: derived
components:
schemas:
SearchResults:
type: object
properties:
fighters:
type: array
items:
$ref: '#/components/schemas/FighterRef'
events:
type: array
items:
$ref: '#/components/schemas/SearchEvent'
required:
- fighters
- events
additionalProperties: false
SearchResponse:
type: object
properties:
data:
$ref: '#/components/schemas/SearchResults'
meta:
$ref: '#/components/schemas/EmptyMeta'
required:
- data
- meta
additionalProperties: false
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.
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
SearchEvent:
type: object
properties:
id:
type: integer
slug:
type: string
title:
type: string
org:
type: string
starts_at:
type: string
format: date-time
required:
- id
- slug
- title
- org
- starts_at
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
EmptyMeta:
type: object
description: '`meta` is always present; `{}` when the endpoint has nothing to add.'
properties:
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: []
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