toolzerhub API Docs

Get each fight night's main event (v1)

Returns the main event of each fight night of an organization, 30 per page. A page past the end returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/mma/organization/headliners

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

id*integer

Organization id (uniqueTournament.id), such as 19906 for UFC.

Range1 <= value <= 10000000000
span?string

last, next, live or all.

Default"last"

Value in

  • "last"
  • "next"
  • "live"
  • "all"
page?integer

Page number, from 1. hasNextPage says whether another page exists.

Range1 <= value <= 50
Default1
curl -X GET "https://example.com/v1/sofascore/mma/organization/headliners?id=19906" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}