# WeightClasses Endpoint

This endpoint returns information on all weight classes. This information does not update very often, as weight classes change infrequently.

## **Endpoint URLs**

**For all weight classes :**

| `https://dde-api.data.imgarena.com/mma/weightclasses` |
| ----------------------------------------------------- |

## **Required Headers**

| Key           | Value                                            |
| ------------- | ------------------------------------------------ |
| Accept        | application/vnd.imggaming.dde.api+json;version=1 |
| Content-Type  | application/json                                 |
| Authorization | Bearer eyvhaoudfgpdfgo\*                         |

## Request Parameters

| Parameter                   | Description                                                                                                          |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| weightclass={weightclassId} | Return fighters only from a specific weight class. Weight class IDs can be retrieved from the WeightClasses endpoint |
| org="ufc"                   | Filter out results based on the organisation, can pass org = "ufc"                                                   |

## **Response Model:**

### **Weightclasses Object**

| Field Name   | Type    | Description                                                    |
| ------------ | ------- | -------------------------------------------------------------- |
| weight       | string  | The weight range of the weightclass, in LB                     |
| description  | string  | A description of the weightclass                               |
| id           | int     | The ID of the weightclass                                      |
| obsolete     | boolean | Boolean, true if no longer used in UFC                         |
| abbreviation | string  | Abbreviation of the weightclass                                |
| organisation | string  | the organisation that the weightclass is associated to i,e UFC |

## **Sample Response**

```
[
  {
    "weight": "170 and under",
    "description": "Lightweight",
    "id": 1,
    "obsolete": false,
    "abbreviation": "LW",
    "organisation": "UFC"
  },
  {
    "weight": null,
    "description": "Catch Weight",
    "id": 2,
    "obsolete": false,
    "abbreviation": "CW",
    "organisation": "UFC"
  },
  {
    "weight": "116-125",
    "description": "Women's Flyweight",
    "id": 3,
    "obsolete": false,
    "abbreviation": "WFLW",
    "organisation": "UFC"
  },
  {
    "weight": "186-205",
    "description": "Light Heavyweight",
    "id": 4,
    "obsolete": false,
    "abbreviation": "LHW",
    "organisation": "UFC"
  },
  {
    "weight": "136-145",
    "description": "Women's Featherweight",
    "id": 5,
    "obsolete": false,
    "abbreviation": "WFTW",
    "organisation": "UFC"
  },
  {
    "weight": "96-105",
    "description": "Women's Atomweight",
    "id": 6,
    "obsolete": false,
    "abbreviation": "WAW",
    "organisation": "UFC"
  },
  {
    "weight": null,
    "description": "Open Weight",
    "id": 7,
    "obsolete": false,
    "abbreviation": "OW",
    "organisation": "UFC"
  },
  {
    "weight": "Over 265",
    "description": "Super Heavyweight",
    "id": 8,
    "obsolete": false,
    "abbreviation": "SHW",
    "organisation": "UFC"
  },
  {
    "weight": "199 and under",
    "description": "Lightweight",
    "id": 9,
    "obsolete": false,
    "abbreviation": "LW",
    "organisation": "UFC"
  },
  {
    "weight": "126-135",
    "description": "Bantamweight",
    "id": 10,
    "obsolete": false,
    "abbreviation": "BW",
    "organisation": "UFC"
  },
  {
    "weight": "206-265",
    "description": "Heavyweight",
    "id": 11,
    "obsolete": false,
    "abbreviation": "HW",
    "organisation": "UFC"
  },
  {
    "weight": "126-135",
    "description": "Women's Bantamweight",
    "id": 12,
    "obsolete": false,
    "abbreviation": "WBW",
    "organisation": "UFC"
  },
  {
    "weight": "136-145",
    "description": "Featherweight",
    "id": 13,
    "obsolete": false,
    "abbreviation": "FTW",
    "organisation": "UFC"
  },
  {
    "weight": "146-155",
    "description": "Lightweight",
    "id": 14,
    "obsolete": false,
    "abbreviation": "LW",
    "organisation": "UFC"
  },
  {
    "weight": "171-185",
    "description": "Middleweight",
    "id": 15,
    "obsolete": false,
    "abbreviation": "MW",
    "organisation": "UFC"
  },
  {
    "weight": "156-170",
    "description": "Welterweight",
    "id": 16,
    "obsolete": false,
    "abbreviation": "WW",
    "organisation": "UFC"
  },
  {
    "weight": "106-115",
    "description": "Women's Strawweight",
    "id": 17,
    "obsolete": false,
    "abbreviation": "WSW",
    "organisation": "UFC"
  },
  {
    "weight": "200 and over",
    "description": "Heavyweight",
    "id": 18,
    "obsolete": false,
    "abbreviation": "HW",
    "organisation": "UFC"
  },
  {
    "weight": "116-125",
    "description": "Flyweight",
    "id": 19,
    "obsolete": false,
    "abbreviation": "FLW",
    "organisation": "UFC"
  },
  {
    "weight": "171-199",
    "description": "Middleweight",
    "id": 20,
    "obsolete": false,
    "abbreviation": "MW",
    "organisation": "UFC"
  },
  {
    "weight": null,
    "description": "Catch Weight",
    "id": 21,
    "obsolete": false,
    "abbreviation": "WCW",
    "organisation": "UFC"
  }
]
```
