# Totaljobs Search Filters API Documentation

<p><strong>Totaljobs Search Filters</strong> returns the facets of a job search query: filter ids, counts, selected and active filters, quick filters, categorisation and breadcrumbs. It performs the same single lookup as job search and adds no second upstream call. A request costs 1 credit. A failed request is not charged.</p>

- **Documentation:** [https://scrappa.co/docs/totaljobs-api/totaljobs_filters](https://scrappa.co/docs/totaljobs-api/totaljobs_filters)
- **API group:** Totaljobs API
- **Endpoint:** `GET https://scrappa.co/api/totaljobs/jobs/filters`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Job title or keywords. |
| `location` | string | No | Place, for example London. |

## Example response

```json
{
    "data": {
        "filters": {
            "salary": []
        },
        "pagination": {
            "page": 1,
            "total": 2403,
            "per_page": 25
        }
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Invalid Page | The requested page is past the end of the result list. |
| 503 | Upstream Unavailable | The source could not be reached. The request is not charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
