Skip to content
MMA Calendar

Fight API

Live UFC stats in the MMA Fight Data API: round, clock and in-fight stats over WebSocket

Looking for a fighter’s stats, not an API? → Tonight · UFC Schedule

The MMA Fight Data API streams what is happening in the cage as it happens: the round and a running clock, unofficial significant-strike, takedown, knockdown and control-time totals for both corners, round-by-round lines, the referee, and a timestamped play-by-play timeline (round starts, knockdowns, takedowns, submission attempts). One WebSocket, one JSON document, pushed within 1–2 seconds of every change. Pro plans and up.

Free plan: 100 requests/month, no card, never expires. Paid plans from $19/mo for 30,000 requests, cancel anytime.

  • 1–2 sseconds from the cage to your socket
  • 22stat fields per corner, live
  • 16timeline action types

The feed, running on this page

Last stream

No key needed here: this is the same document the API streams, seeded server-side and kept current over the WebSocket.

Event

UFC Fight Night: Prochazka vs. Stirling

ProchazkaVSStirling

Last result
Stirling · KO/TKO
Round 2
4:58

Raw frame

{
  "type": "fight.final",
  "ts": 1795294230541,
  "event": {
    "slug": "ufc-fight-night-2026-11-21",
    "org": "ufc",
    "status": "completed"
  },
  "last": {
    "src_id": 13197,
    "fight_id": 93290,
    "winner": "b",
    "method": "KO/TKO",
    "round": 2,
    "time": "4:58"
  }
}
  • A socket, not a poll

    Connect once to wss://live.ufcalendar.com/v1?key=… and send {"action":"subscribe","event":"EVENT-SLUG"}. You receive a snapshot immediately, then an update frame every time the numbers move and a fight.final frame the moment a bout ends — no rate limits to budget, no 30-second polling loops. GET /v1/events/{slug}/live returns the same document for anything that cannot hold a socket.

  • The clock is yours to tick

    Every document carries clock_sec and clock_observed_at, and the clock is derived from the official round_start timestamp rather than a lagging counter. Add the wall time since the observation and you have a second-accurate round clock in your own UI, whether the last frame arrived one second ago or forty. Stats are flagged official: false until the promotion finalizes them.

What's in the data

Each data set with the calls that return it, the fields worth knowing and the plan it needs.

Results

  • GET /v1/fights/searchSearch completed bouts by title fight, finish method, division, fighter, winner or date range: the last title fight to end by knockout in one call.
  • GET /v1/fights/{id}One bout with both corners and the result: winner, method, finish detail and position, round and time, referee and bonus flags.
  • Fields result · winner_fighter_id · method · round · time · referee · bonus
  • Values ko_tko · submission · decision_unanimous · decision_split · decision_majority · draw · no_contest · dq

Round-by-round stats

  • GET /v1/fights/{id}/roundsRound-by-round stat lines for both corners: strikes by target and position, takedowns, and time at distance, in the clinch and on the ground per round.
  • Fields round_number · head_landed · body_landed · leg_landed · distance_landed · clinch_landed · ground_landed

WebhooksPro and up

Live fight night (WebSocket)Pro and up

  • GET /v1/events/{idOrSlug}/liveReal-time fight-night stream: round, clock, unofficial in-fight stats and a play-by-play timeline, pushed over WebSocket as they change.
  • Fields current · last · websocket
  • Values snapshot · update · fight.final · event.completed
  • In-fight numbers are unofficial until the bout settles; the official result and totals then land on the fight endpoints. UFC fight nights, Contender Series included.

All 64 endpoints

Quickstart in curl, Python and JavaScript

Complete requests against the live API. Any HTTP client works, or pip install ufcalendar for a typed Python client (source on GitHub); every response is plain JSON in a {"data": ..., "meta": ...} envelope.

curl
$ curl "https://api.ufcalendar.com/v1/events/ufc-2026-09-20/live" \
    -H "Authorization: Bearer $UFCAL_KEY"

{
  "data": {
    "event": { "slug": "ufc-2026-09-20", "status": "live" },
    "current": {
      "phase": "round", "round": 2, "possible_rounds": 5,
      "clock_sec": 67, "official": false,
      "stats": { "a": { "sig_strikes_landed": 41, "takedowns_landed": 0,
                        "control_time_sec": 1, ... },
                 "b": { "sig_strikes_landed": 20, "takedowns_landed": 1, ... } },
      "timeline": [ { "t": "…", "type": "takedown", "round": 2,
                      "clock": "2:57", "side": "b" }, ... ]
    },
    "last": { "winner": "a", "method": "KO/TKO", "round": 1, "time": "4:56" }
  },
  "meta": { "live": true, "websocket": "wss://live.ufcalendar.com/v1",
            "subscribe": { "action": "subscribe", "event": "ufc-2026-09-20" } }
}

# Or hold one socket open and let every change come to you:
$ wscat -c "wss://live.ufcalendar.com/v1?key=$UFCAL_KEY"
> {"action":"subscribe","event":"ufc-2026-09-20"}
< {"type":"snapshot","data":{...}}
< {"type":"update","data":{...}}        # every few seconds while a round runs
< {"type":"fight.final","data":{...}}   # the moment a result is posted
< {"type":"event.completed","data":{...}}
Python
import json, websocket   # pip install websocket-client

ws = websocket.create_connection(f"wss://live.ufcalendar.com/v1?key={UFCAL_KEY}")
ws.send(json.dumps({"action": "subscribe", "event": "ufc-2026-09-20"}))

while True:
    frame = json.loads(ws.recv())
    if frame["type"] == "pong" or not frame.get("data"):
        continue
    cur = frame["data"]["current"]
    if cur and cur["phase"] == "round":
        a, b = cur["stats"]["a"], cur["stats"]["b"]
        print(f"R{cur['round']} {cur['clock_sec']}s  sig {a['sig_strikes_landed']}-{b['sig_strikes_landed']}")
    if frame["type"] == "fight.final":
        print("FINAL:", frame["data"]["last"])
    if frame["type"] == "event.completed":
        break
JavaScript
const ws = new WebSocket(`wss://live.ufcalendar.com/v1?key=${process.env.UFCAL_KEY}`);
ws.onopen = () => ws.send(JSON.stringify({ action: "subscribe", event: "ufc-2026-09-20" }));
ws.onmessage = (e) => {
  const { type, data } = JSON.parse(e.data);
  if (type === "fight.final") console.log("FINAL", data.last);
  if (!data?.current) return;
  const { phase, round, clock_sec, stats } = data.current;
  if (phase === "round")
    console.log(`R${round} ${clock_sec}s  sig ${stats.a.sig_strikes_landed}-${stats.b.sig_strikes_landed}`);
  // current.timeline[] carries round_start / knockdown / takedown / submission_attempt … with a clock
};
// Keep the socket warm between bouts: {"action":"ping"} answers {"type":"pong"}
setInterval(() => ws.send(JSON.stringify({ action: "ping" })), 5 * 60 * 1000);

Free plan: 100 requests/month, no card, never expires. Paid plans from $19/mo for 30,000 requests, cancel anytime.

Who it's for

Built for indie developers, side projects and small teams. Whether you're building a fantasy app, a stats site, a Discord bot or an analytics project, our plans are priced for you. We don't sell enterprise contracts, and we don't plan to.

Questions

Which promotions have live stats?

UFC fight nights only in this version: numbered cards, Fight Nights, the prelims and the Contender Series. Every other promotion we cover still gets results within minutes through the normal API and webhooks.

How live is live?

During a round the numbers move every few seconds, and each change reaches your socket within about two seconds; nothing is sent while nothing changes. Between frames, interpolate the clock from clock_observed_at.

What is in the document?

The full card with statuses and results, the bout in progress (phase: prefight, round, break or over; round; running clock; both corners' totals across 22 stat fields; per-round lines; referee; the action timeline) and the last result. It is the same document the website's live panel renders.

Which plan do I need, and how many connections?

Pro or Business. A Pro key may hold 2 concurrent WebSocket connections, a Business key 5; on a lower plan the socket and the snapshot answer 403 tier_required. Frames are not metered and do not count toward your monthly request quota; the REST snapshot counts as a normal request.

Can I get live UFC scores through an API?

Yes — the same document is the live scores feed. Every frame carries the bout in progress and the last result, so the winner, method, round and time land the moment a bout ends, with no second endpoint to poll. In-fight numbers are flagged official: false until the promotion confirms them, and a live score is not a judges' card: cards exist only once a decision is read out, and they arrive on GET /v1/fights/{id}/scorecards.

Can I get MMA live data for other promotions?

Not in this version: the real-time feed covers UFC fight nights only. Every other promotion we cover still gets results, stats and card changes within minutes of the cage, through the REST endpoints and the webhooks.

MMA Fight Data API guides by use case

One page per job: schedules, results, per-round statistics, rankings history, judges' scorecards and consensus odds, each with its own endpoints, sample responses and code.

UFCalendar is an independent publication, not affiliated with UFC/Zuffa/TKO, PFL, OKTAGON MMA, BKFC, RIZIN FF, KSW or any promotion. Organization names are used to describe the data. Not licensed by any promotion: data is compiled from publicly accessible sources and is not an official or rights-cleared feed. Terms of service · Refund Policy