> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forestreet.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Diversity Certifications

> This endpoint retrieves all the diversity certifications identified in the given market.

<Warning>
  This endpoint is deprecated and will be removed in the future. Please use [Attributes](./attributes) instead.
</Warning>

### Path

<ParamField path="marketId" type="string" initialValue="2">
  The ID of the market which you want to retrieve diversity certifications of. This can be retrieved by searching for
  markets.
</ParamField>

### Response

<ResponseField name="meta" type="object">
  Metadata summarizing the `data` returned.

  <Expandable title="meta">
    <ResponseField name="totalItems" type="number">
      The number of unique diversity certifications found in the study.
    </ResponseField>

    <ResponseField name="totalUniqueCompanies" type="number">
      The number of unique companies containing any of the above certifications.

      This does not count companies in the market without any diversity certifications.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="data" type="object">
  A mapping of all certifications to their number of occurrences, sorted by - descending number of occurrences, and then

  * alphabetical order of the certification.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "meta": {
        "totalItems": 13,
        "totalUniqueCompanies": 17
    },
    "currentQuery": {
        "marketId": 1
    },
    "data": {
        "Diverse Supplier Development Program (DSDP)": 8,
        "European Supplier Diversity Project (ESDP)": 5,
        "Responsible Business Initiative for Justice and Equality": 4,
        "Certified Benefit Corporation": 2,
        "Historically Black Colleges and Universities": 2,
        "Minority Supplier Development UK (MSDUK)": 2,
        "LGBT Owned Business Enterprise": 1,
        "Minority-owned Business Enterprise": 1,
        "People With Disability": 1,
        "Social Enterprise Mark": 1,
        "U.S. Department of Housing and Urban Development": 1,
        "Woman Led Business Enterprise": 1,
        "Women-owned Business Enterprise": 1
    }
  }
  ```
</ResponseExample>
