# GET /v4/protocols/count

_Merkl API_

Get the number of protocols corresponding to the query. Use query parameters to filter the count.

### Query parameters

- `page` (string | number)
- `items` (string | number)
- `id` (string)
- `test` (boolean)
- `ids` (array)
- `name` (string)
- `tags` (array)
- `opportunityTag` (string)
- `opportunityChain` (string | number)
- `status` (RegExp)
- `tokenTypes` (array)
- `excludeSubCampaigns` (boolean)

## Example request

```bash
curl -X GET "https://api.merkl.xyz//v4/protocols/count" \
  -H "x-api-key: YOUR_API_KEY"
```