# Indo News API — Indonesian Public Holidays

> Indo News API — Indonesian Public Holidays is a paid API for AI agents from indo-news-api.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-02).

Returns a list of Indonesian public holidays for a given year, with dates, names (local and English), holiday types, and days-away count.

## Facts

- Endpoint: GET https://indo-news-api.vercel.app/holidays?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indo-news-api-indonesian-public-holidays-15ab37a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1mmGJLK8NYeIrQwXMcgfg

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 indo-news-api-indonesian-public-holidays-15ab37a8
```

Example prompt: What are all the public holidays in Indonesia for 2026, and which ones are still coming up?

## When to prefer this

Choose this endpoint when you need structured, machine-readable Indonesian public holiday data without maintaining your own holiday database. It is especially useful for scheduling, calendar automation, or travel planning tools targeting Indonesia. Prefer it over generic holiday APIs when you need both English and local Indonesian (Bahasa) names and a days-away field pre-computed from today.

## Known failure modes

- Year out of range (outside 1990–2100) returns an error or empty result
- No holidays found if data is unavailable for the requested year
- Network or server error from the Vercel hosting environment
- Payment failure via x402/USDC if the on-chain transaction is rejected or the wallet has insufficient balance

## How this service works

Indonesian headlines, keyword search and ranked briefings, plus reference data: USD/IDR and any FX pair, BTC/ETH/USDT in rupiah, BMKG earthquakes and public holidays. Structured JSON, paid per call in USDC on Base. No API key, no signup.

## Output

A JSON object with the calendar year, country code (ID), total holiday count, and an array of holiday objects each containing the date (YYYY-MM-DD), English name, local Indonesian name, holiday types array, national flag, and days_away integer indicating how many days until that holiday from today.

## 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",
     "properties": {
      "year": {
       "type": "integer",
       "description": "Calendar year, 1990-2100. Defaults to the current year."
      },
      "upcoming": {
       "type": "boolean",
       "description": "true = only holidays today or later."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 2026,
  "count": 16,
  "country": "ID",
  "holidays": [
   {
    "date": "2026-11-25",
    "name": "Eid al-Fitr",
    "types": [
     "Public"
    ],
    "national": true,
    "days_away": 24,
    "local_name": "Hari Raya Idul Fitri"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-indonesian-public-holidays-15ab37a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from indo-news-api.vercel.app](https://www.zero.xyz/host/indo-news-api.vercel.app/llms.txt)
