# Open Holidays Subdivisions Lookup

> Open Holidays Subdivisions Lookup is a paid API for AI agents from api.auor.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns subdivision (state/province/region) information for a given country, used to query open-holidays endpoints.

## Facts

- Endpoint: GET https://api.auor.io/open-holidays/v1/subdivisions
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/open-holidays-subdivisions-lookup-273cc780
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ymqBeyV7Idh1J8IdrQ1Uj

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 open-holidays-subdivisions-lookup-273cc780
```

Example prompt: What subdivisions or states are available for Germany in the Open Holidays system so I can look up school holiday schedules?

## When to prefer this

Use this endpoint when you need to discover valid subdivision identifiers before querying school holiday or public holiday data for a specific country. It is a prerequisite lookup step for parameterizing other open-holidays endpoints that require a subdivision code.

## Known failure modes

- Invalid or unsupported country code returns empty list or 400 error
- Missing required query parameters returns validation error
- Country not covered by Open Holidays data returns empty result
- Rate limiting or payment failure returns 402 or 429 error

## How this service works

Subdivision information per country for the `/open-holidays/v1/*` endpoints

## Output

A list of subdivision objects for the specified country, each containing subdivision name, code, category (e.g. state, province, canton), and its parent country reference — used to parameterize further open-holidays API calls for school or public holiday data.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "country": "DE"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "$ref": "https://api.auor.io/schemas/open-holidays/v1/subdivisions/input.json",
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/open-holidays-subdivisions-lookup-273cc780/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.auor.io](https://www.zero.xyz/host/api.auor.io/llms.txt)
