---
title: "SofaScore MMA card"
method: GET
path: "/sofascore/mma-card"
tags: ["SofaScore"]
---

# SofaScore MMA card

`GET /sofascore/mma-card`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/mma-card`
- Auth: API key in header `x-api-key`

Returns the bouts of one MMA fight card, main event first, narrowed with `part` to `all` bouts, the `maincard`, the `prelims` or the `earlyprelims`. Each bout has the fighters (country, nickname, ranking where 0 is the champion, record), weight class, scheduled rounds, status, and for finished bouts the winner, win type, final round and fight time. Get `org_id` and `card_id` from sofascore-mma-schedule. Returns 404 when the card is unknown or has no bouts in that segment (for example a card without early prelims).

## Query parameters

- `org_id` string, required
- `card_id` string, required
- `part` 'all' | 'maincard' | 'prelims' | 'earlyprelims', required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreMmaCardResponseDoc
  - `code` integer
  - `data` SofascoreMMACardResponse
    - `card_id` integer
    - `card_name` string
    - `count` integer
    - `fetched_at` string
    - `fights` SofascoreMMAFight[]
      - `away_fighter` SofascoreMMAFighter
        - `country` string
        - `draws` integer
        - `id` integer
        - `losses` integer
        - `name` string
        - `nickname` string
        - `ranking` integer: Ranking is the fighter's division ranking; 0 is the champion, and it is omitted for an unranked fighter.
        - `slug` string
        - `wins` integer: Wins, Draws and Losses are the professional record going into the fight.
      - `card_id` integer
      - `card_name` string
      - `fight_type` string: FightType is the card segment the bout belongs to: `maincard`, `prelims` or `earlyprelims`.
      - `final_round` integer: FinalRound is the round the bout ended in; ScheduledRounds is its scheduled length. TimePlayedSeconds is the fight time actually fought.
      - `gender` string
      - `home_fighter` SofascoreMMAFighter
        - `country` string
        - `draws` integer
        - `id` integer
        - `losses` integer
        - `name` string
        - `nickname` string
        - `ranking` integer: Ranking is the fighter's division ranking; 0 is the champion, and it is omitted for an unranked fighter.
        - `slug` string
        - `wins` integer: Wins, Draws and Losses are the professional record going into the fight.
      - `id` integer
      - `order` integer: Order is the bout's position on the card; the highest number is the main event.
      - `scheduled_rounds` integer
      - `slug` string
      - `start_time` string
      - `start_timestamp` integer
      - `status` SofascoreEventStatus
        - `code` integer: SofaScore's numeric status code, for example 0 for not started and 100 for ended.
        - `description` string: Status as displayed, for example "Ended".
        - `type` string: Status group, for example `notstarted`, `inprogress` or `finished`.
      - `time_played_seconds` integer
      - `weight_class` string: WeightClass is SofaScore's division key, for example `fly`, `bantam`, `feather`, `light`, `welter`, `middle`, `lightheavy`, `heavy` or `straw`.
      - `win_type` string: WinType is how the bout ended, for example `KO`, `TKO`, `SUB`, `UD`, `SD` or `NC`; omitted until it has ended.
      - `winner_code` integer: WinnerCode is 1 when the home fighter won, 2 for the away fighter; absent until decided.
    - `org_id` integer
    - `part` string
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
