by UFCalendar

Search and articles

Typeahead search across fighters and events, and UFCalendar’s own articles.

GET /v1/articles

Search UFCalendar articlesEvery plan

UFCalendar's own editorial archive — previews, recaps, investigations, fighter-pay and technique pieces — newest first. q (at least 2 characters) matches the title, summary or a tag, accent-insensitive (and the translated title and summary when locale is set); tag is an exact tag match; locale is one of the 13 site languages (en default, es, pt, de, fr, tr, ru, ka, ja, ko, pl, sr, zh) — a row serves its translation when one exists and English otherwise, and its locale names the language actually served. Each row: slug, url (the canonical page in the requested language), title, description, author_name, tags, published_at, locale. Pass the slug to /v1/articles/{slug} for the body. A q under 2 characters 400s invalid_query; an unknown locale 400s invalid_locale. Betting-advice editorial (picks, parlays) is not served. Link back when quoting.

ParameterInTypeDescription
q query string Keyword: matches title, summary or a tag.
tag query string Exact tag.
locale query enum Site language to serve.
cursor query string Opaque cursor from meta.pagination.next_cursor.
limit query integer
curl "https://api.ufcalendar.com/v1/articles?q=title%20fight&limit=3" \
  -H "Authorization: Bearer $UFCALENDAR_API_KEY"
from ufcalendar import FightAPI

api = FightAPI()  # or FightAPI("ufcalendar_...")
for row in api.articles(q="title fight"):
    print(row)
import { FightAPI } from '@ufcalendar/sdk';

const api = new FightAPI(process.env.UFCALENDAR_API_KEY);
for await (const row of api.articles({ q: "title fight" })) {
  console.log(row);
}
Response: data items, 8 fields
FieldTypeDescription
slugstring
urlstringThe canonical page in the requested language.
titlestring
descriptionstring
author_namestring
tagsstring[]
published_atstring | null
localeArticleLocaleThe 13 site languages.

GET /v1/articles/{slug}

Get an articleEvery plan

One published UFCalendar article by slug: title, description, author_name, author_slug, tags, published_at, url and the full body_md (Markdown; the site's client-only widgets — fighter cards, embeds and offer blocks — are removed). No cover image is served: its license credit has no place in this payload. locale is the language requested and served_locale the one delivered: the translation when one exists, English otherwise. An unknown slug (or a draft) 404s; betting-advice editorial (picks, parlays) is not served, so such a slug 404s too; an unknown locale 400s invalid_locale. Link back when quoting.

ParameterInTypeDescription
slug required path string Article slug, from /v1/articles.
locale query enum Site language to serve.
curl "https://api.ufcalendar.com/v1/articles/noche-ufc-payouts-bonuses-jean-silva" \
  -H "Authorization: Bearer $UFCALENDAR_API_KEY"
from ufcalendar import FightAPI

api = FightAPI()  # or FightAPI("ufcalendar_...")
data = api.article("noche-ufc-payouts-bonuses-jean-silva")
import { FightAPI } from '@ufcalendar/sdk';

const api = new FightAPI(process.env.UFCALENDAR_API_KEY);
const data = await api.article("noche-ufc-payouts-bonuses-jean-silva");
Response: data, 11 fields
FieldTypeDescription
slugstring
urlstring
titlestring
descriptionstring
author_namestring
author_slugstring | null
tagsstring[]
published_atstring | null
body_mdstringMarkdown; client-only widgets and licensed embeds removed.
localeArticleLocaleThe 13 site languages.
served_localeArticleLocaleThe 13 site languages.