Organizations refer to the governing bodies that sanction boxing matches and award titles and belts to fighters. The boxing data API supports information on the top boxing organizations. Every title is linked to a specific organization, allowing you to filter for title holders within a particular division.
Endpoints
There are 2 organization endpoints:
1. List All Available Organization:
Endpoint URL: https://boxing-data-api.p.rapidapi.com/v1/organizations/
Description: To retrive a list of available organizations, including the organization id and name.
2. Get a specific Organization’s details:
Endpoint URL: https://boxing-data-api.p.rapidapi.com/v1/organizations/<organization_id>
Description: To get the detail of a specific organization.
Using the Organization endpoints
Here are some code examples demonstrating how to interact with the Organizations endpoint using various programming languages:
List all organizations
--url https://boxing-data-api.p.rapidapi.com/v1/organizations/
--header ' x-rapidapi-host: boxing-data-api.p.rapidapi.com '
--header ' x-rapidapi-key: [Your RapidAPI Key] '
axios . get ( ' https://boxing-data-api.p.rapidapi.com/v1/organizations ' , {
' X-RapidAPI-Key ' : ' [Your RapidAPI Key] '
console . log ( response . data );
url = " https://boxing-data-api.p.rapidapi.com/v1/organizations "
' X-RapidAPI-Key ' : ' [Your RapidAPI Key] '
response = requests. get ( url , headers = headers )
Example response:
"name" : " The Ring Magazine " ,
"slug" : " the-ring-magazine " ,
"id" : " 6715193e0ad13034eb88265c "
"name" : " World Boxing Organization (WBO) " ,
"slug" : " world-boxing-organization " ,
"id" : " 6715193e0ad13034eb882660 "
Get Specific Organization Details by ID
--url https://boxing-data-api.p.rapidapi.com/v1/organizations/6715193e0ad13034eb882660
--header ' x-rapidapi-host: boxing-data-api.p.rapidapi.com '
--header ' x-rapidapi-key: [Your RapidAPI Key] '
axios . get ( ' https://boxing-data-api.p.rapidapi.com/v1/organizations/6715193e0ad13034eb882660 ' , {
' X-RapidAPI-Key ' : ' [Your RapidAPI Key] '
console . log ( response . data );
url = " https://boxing-data-api.p.rapidapi.com/v1/divisions/671513530ad13034eb882656 "
' X-RapidAPI-Key ' : ' [Your RapidAPI Key] '
response = requests. get ( url , headers = headers )
Example response:
"name" : " World Boxing Organization (WBO) " ,
"slug" : " world-boxing-organization " ,
"id" : " 6715193e0ad13034eb882660 "
Remember to replace [Your RapidAPI Key]
with your actual RapidAPI key in your code.