# List filters

> Languages, categories and hosting providers you can filter search on, with podcast counts.

Source: https://www.podcastlookup.com/documentation/rest-api/list-filters

`GET /api/v1/facets` (1 credit)

Use it to build filter menus, or to find the exact `category` or `host` id before searching. Values change slowly: cache the response for a day.

## Example

```bash
curl "https://www.podcastlookup.com/api/v1/facets" -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY"
```

## Response

```json
{
  "languages": [
    { "code": "en", "name": "English", "podcasts": 2104332 },
    { "code": "fr", "name": "French", "podcasts": 98231 }
  ],
  "categories": [
    { "id": "technology", "name": "Technology", "podcasts": 151402 }
  ],
  "hosting_providers": [
    { "id": "ausha.co", "podcasts": 41207 }
  ],
  "sorts": ["relevance", "popular", "recent", "episodes"],
  "updated_within": ["30d", "90d", "1y"]
}
```

| Field | Use as |
| --- | --- |
| `languages[].code` | `lang` |
| `categories[].id` | `category` |
| `hosting_providers[].id` | `host` |
| `sorts[]` | `sort` |
| `updated_within[]` | `updated_within` |

## MCP equivalent

`list_filters`, no arguments.