# StableMedia Search Filters

> StableMedia Search Filters is a paid API for AI agents from stablemedia.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns available search filters (countries, genres, and other facets) for querying streaming availability data across 60+ countries and 200+ services

## Facts

- Endpoint: POST https://stablemedia.dev/api/shows/search-filters
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablemedia-search-filters-7da59412
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G8qv1PWvxxT2EE17bT2mD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablemedia-search-filters-7da59412 -d '<json body>'
```

Example prompt: What countries and genres can I filter by when searching for streaming shows on StableMedia — show me all available search filter options.

## When to prefer this

Use this endpoint before searching for shows when you need to know what valid filter values (countries, genres, services) are accepted by the StableMedia API. It is the discovery/metadata step that enables correct parameterization of subsequent show search calls.

## Known failure modes

- Payment not included or insufficient — HTTP 402 returned requiring 0.01 USDC via x402 protocol
- Service unavailable or timeout — HTTP 5xx with no filter data returned
- Malformed POST body — HTTP 400 with validation error
- Unsupported region or filter type requested — empty or partial results returned

## How this service works

Pay-per-request streaming availability data. Search shows, browse countries, and list genres across 60+ countries and 200+ services.

## Output

A structured list of available search filter dimensions such as supported countries (60+), streaming services (200+), and genres that can be used when querying show availability data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cursor": {
   "type": "string",
   "description": "Pagination token from a previous response"
  },
  "genres": {
   "type": "string",
   "description": "Comma-separated genre IDs"
  },
  "country": {
   "type": "string",
   "maxLength": 2,
   "minLength": 2,
   "description": "ISO 3166-1 alpha-2 country code"
  },
  "keyword": {
   "type": "string"
  },
  "catalogs": {
   "type": "string",
   "description": "Comma-separated service IDs (e.g. \"netflix,prime\")"
  },
  "order_by": {
   "type": "string",
   "description": "e.g. \"original_title\", \"popularity_1year\", \"rating\", \"release_date\""
  },
  "year_max": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": -9007199254740991
  },
  "year_min": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": -9007199254740991
  },
  "show_type": {
   "enum": [
    "movie",
    "series"
   ],
   "type": "string"
  },
  "rating_max": {
   "type": "integer",
   "maximum": 100,
   "minimum": 0
  },
  "rating_min": {
   "type": "integer",
   "maximum": 100,
   "minimum": 0
  },
  "include_images": {
   "type": "boolean",
   "default": false,
   "description": "Include poster/backdrop imageSet URLs in the response. Default false (strips ~70% of payload)."
  },
  "genres_relation": {
   "enum": [
    "and",
    "or"
   ],
   "type": "string"
  },
  "order_direction": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "output_language": {
   "type": "string"
  },
  "series_granularity": {
   "enum": [
    "show",
    "season",
    "episode"
   ],
   "type": "string"
  },
  "show_original_language": {
   "type": "string",
   "description": "ISO 639-1 code"
  },
  "include_audio_subtitles": {
   "type": "boolean",
   "default": false,
   "description": "Include per-option audios[] and subtitles[] arrays. Default false."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablemedia-search-filters-7da59412/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablemedia.dev](https://www.zero.xyz/host/stablemedia.dev/llms.txt)
