# LatAm Datos API – Feriados (Public Holidays)

> LatAm Datos API – Feriados (Public Holidays) is a paid API for AI agents from latam-datos-api.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns the list of public holidays for a given Latin American country and year

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/datos/feriados
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/latam-datos-api-feriados-public-holidays-be90e6c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZRwgjRv3vrqs8k1bH6hYD

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 latam-datos-api-feriados-public-holidays-be90e6c3
```

Example prompt: Can you list all the public holidays in Colombia (CO) for 2026 so I can plan around non-working days?

## When to prefer this

Use this endpoint when you need authoritative public holiday data for Latin American countries (Colombia, Mexico, Argentina, Chile, Peru) and want a pay-per-query model with USDC micropayments. Prefer this over scraping government websites or generic calendar APIs when you need structured, machine-readable data for LatAm markets specifically.

## Known failure modes

- Invalid or unsupported country code returns an error or empty result
- Missing required parameters (pais or anio) may return a 400 or error response
- Year outside supported range may return empty or error
- Payment failure via x402 (insufficient USDC balance) returns 402 Payment Required
- Service hosted on Render free tier may have cold-start latency or downtime

## How this service works

Datos de mercados emergentes para agentes: FX LatAm, inflacion, tasas de bancos centrales, feriados, validacion de IDs fiscales/bancarios, IVA y salarios minimos. Pago por consulta via x402 v2 (USDC en Base).

## Output

A JSON object containing the country code and an array of public holidays, each with a date (YYYY-MM-DD) and the official holiday name in Spanish.

## 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": [],
     "properties": {
      "anio": {
       "type": "string",
       "description": "anio a consultar"
      },
      "pais": {
       "type": "string",
       "description": "CO MX AR CL PE"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pais": "CO",
  "feriados": [
   {
    "fecha": "2026-07-20",
    "nombre": "Independencia"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-datos-api-feriados-public-holidays-be90e6c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from latam-datos-api.onrender.com](https://www.zero.xyz/host/latam-datos-api.onrender.com/llms.txt)
