UFC athletes

GET https://api.api.sh/ufc/v1/athletes
1 credit / call sports try it in the playground →

Every athlete on ufc.com, A to Z, or those matching a name: name, nickname, division, record (wins, losses, draws), social links, photo, slug and profile link (use the slug with /ufc/v1/athlete). About 11 per page; total is the number of athletes. Pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
q string Name to search for; omit for the full A-Z roster. Example: jones
page integer Page number. Pass next_page from the previous response; null on the last page.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/ufc/v1/athletes?q=jones" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.