# GlobalRules - Public Holidays by Country (2027)

> GlobalRules - Public Holidays by Country (2027) is a paid API for AI agents from globalrules-api.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the list of public holidays for a specified country in the year 2027.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/US/holidays_2027
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-public-holidays-by-country-2027-c3e29581
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C6hquZQ2EwPPJYhu0Eu94

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 globalrules-public-holidays-by-country-2027-c3e29581
```

Example prompt: What are all the public holidays in the United States in 2027? I want to plan around any days when offices might be closed.

## When to prefer this

Choose this endpoint when you need a single, verified fact about public holidays for a specific country in 2027 at very low cost ($0.01/call). It's ideal for agents doing lightweight calendar lookups, scheduling, or compliance checks where a full-featured calendar API would be overkill. Best when you only need one country at a time and want machine-readable, verified data rather than scraping government websites.

## Known failure modes

- Unsupported or invalid country code returns an error — only 106 specific countries are covered
- Year outside the supported range may return no results or an error
- Service hosted on Render free tier may have cold-start latency or occasional downtime
- Data may lag behind newly announced government holiday changes

## How this service works

One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 138 countries, 55 fields, verified sources. Example: /api/v1/country/JP/vat

## Output

A structured response containing the country code, a list of public holidays for 2027 (with dates and holiday names), and a timestamp indicating when the data was last verified/updated.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "country": {
       "type": "string"
      },
      "updated": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/globalrules-public-holidays-by-country-2027-c3e29581/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from globalrules-api.onrender.com](https://www.zero.xyz/host/globalrules-api.onrender.com/llms.txt)
