# Indo News API — Indonesian Public Holiday Check

> Indo News API — Indonesian Public Holiday Check 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-23).

Returns Indonesian public holiday status for a given date, including holiday names, types, working-day status, and next upcoming holiday.

## Facts

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

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-holiday-check-04269927
```

Example prompt: Is August 17th a public holiday in Indonesia? I need to know the holiday name and whether it's a working day.

## When to prefer this

Use this endpoint when you need authoritative Indonesian public holiday data for a specific date — especially when you need the holiday name, type, working-day classification, and days-to-next-holiday in a single structured response. Prefer this over generic calendar APIs when Indonesia-specific accuracy matters and you want pay-per-call access with no API key registration.

## Known failure modes

- Missing 'date' query parameter returns a validation error
- Malformed date format (not ISO YYYY-MM-DD) causes a parse error
- Dates far in the future may return incomplete or null next_holiday data if calendar data is not yet populated
- Payment not completed (402 response) if USDC payment on Base is not sent correctly
- Network/server errors from the Vercel deployment returning 5xx

## 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

Returns a JSON object with the queried date, an array of holiday names (e.g. 'Hari Raya Natal'), holiday types (e.g. 'Public'), country code 'ID', a boolean is_public_holiday, a boolean is_working_day, the next upcoming holiday date, and days until that next holiday (null if on or after the last holiday).

## 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": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Calendar date to test, ISO YYYY-MM-DD."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-12-25",
  "names": [
   "Hari Raya Natal"
  ],
  "types": [
   "Public"
  ],
  "country": "ID",
  "next_holiday": null,
  "is_working_day": false,
  "is_public_holiday": true,
  "days_to_next_holiday": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-indonesian-public-holiday-check-04269927/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)
