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

# Get Blacklist

> This endpoint allows you to get the list of all your blacklists.

Our API offers a functionality that enables you to blacklist items based on `email`, `domain`, `place_id`, or `cid`.

This ensures that these items won't be shown in subsequent requests, and they won't consume your credits.

This feature is especially valuable for preventing redundant data scraping and conserving your credit usage.

### Header

<ParamField header="x-api-key" type="string" required={true}>
  This parameter specifies the private key you'll need for Flashmapy access.
</ParamField>

### Response

An array of objects containing the name of the blacklist and the number of items in it.

<ResponseField type="array">
  <ResponseField name="name" type="string">
    The name of the blacklist.
  </ResponseField>

  <ResponseField name="count" type="number">
    The number of items in the blacklist.
  </ResponseField>
</ResponseField>

<RequestExample>
  ```bash Example Request theme={null}
  curl --location --request GET 'https://app.flashmapy.com/api/v1/blacklist' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: Token <token>' \
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  [
      {
          "name": "list-1",
          "nb": 5
      },
      {
          "name": "my-list-2",
          "count": 14
      }
  ]
  ```
</ResponseExample>
