# Orbit Geo & Time: Public Holidays by Country

> Orbit Geo & Time: Public Holidays by Country is a paid API for AI agents from orbit-geo.orbit-builder.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Returns official public holidays for a given country and year, including date, local/English name, nationwide vs regional scope, and holiday type

## Facts

- Endpoint: GET https://orbit-geo.orbit-builder.workers.dev/v1/holidays?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbit-geo-time-public-holidays-by-country-a48ee791
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3YztrRd7pYRoucIAP967e

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 orbit-geo-time-public-holidays-by-country-a48ee791
```

Example prompt: What are all the official public holidays in Germany for 2025? I need each holiday's date, English and German name, whether it's nationwide or regional, and what type it is (Public, Bank, School, etc.).

## When to prefer this

Choose this endpoint when you need authoritative, structured public holiday data for 100+ countries including local-language names, holiday classification (Public, Bank, School), and nationwide vs regional scope — especially when you need to check a specific date or find upcoming holidays. It is priced per-call at $0.001 USDC and sits alongside geocoding and weather endpoints in the same orbit-geo service suite, making it convenient when already using that stack.

## Known failure modes

- Unsupported or invalid country code returns HTTP 404 (not billed)
- Missing country parameter causes the API to run with example input instead
- Invalid year format may produce unexpected results
- Very small or unrecognized territories may lack holiday data

## How this service works

Location and time data for agents: weather now + 7-day forecast (MET Norway), geocoding and reverse geocoding (OpenStreetMap Nominatim), sunrise/sunset, world time-zone conversion and public holidays (Nager.Date). Real open data fetched at call time, attribution included. $0.001 per call. By orbit-builder.

## Output

A JSON object containing the country code, year, total holiday count, a full list of holidays (each with date, English name, local name, type array, and global/regional flag), and a 'next' array showing the nearest upcoming holidays from today's date.

## 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": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "optional YYYY-MM-DD to test"
      },
      "year": {
       "type": "integer",
       "description": "default current year"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2, e.g. US, DE, KZ"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "next": [
   {
    "date": "2026-10-25",
    "name": "Republic Day"
   }
  ],
  "year": 2026,
  "count": 15,
  "country": "KZ",
  "holidays": [
   {
    "date": "2026-01-01",
    "name": "New Year's Day",
    "types": [
     "Public"
    ],
    "global": true,
    "local_name": "Жаңа жыл"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbit-geo-time-public-holidays-by-country-a48ee791/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orbit-geo.orbit-builder.workers.dev](https://www.zero.xyz/host/orbit-geo.orbit-builder.workers.dev/llms.txt)
