# Spain BOE Summary

> Spain BOE Summary is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-16).

Fetches a filtered summary of the Spanish Official State Gazette (BOE), returning provisions, counts by section, and metadata for a given date.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/spain-boe-summary?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spain-boe-summary-39c6d03c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XtQLZuIhZ3_UcB4kEFxAq

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 spain-boe-summary-39c6d03c -d '<json body>'
```

Example prompt: Can you pull today's BOE summary for Spain and show me up to 100 entries from section 2B (public exams and competitions), especially anything from the Ministry of Defence?

## When to prefer this

Use this endpoint when you need structured, filterable access to the Spanish Official State Gazette (BOE) — particularly for monitoring government regulations, public procurement, civil service announcements, or ministerial orders. It is ideal over raw boe.es scraping because it returns clean JSON with section breakdowns, department metadata, and direct PDF links, and supports keyword and department filtering.

## Known failure modes

- No BOE published on Sundays or public holidays — 'published: false' returned
- Invalid date format returns an error
- Section code not recognized returns empty or error
- Limit outside 1–200 range rejected
- Network/upstream failure from boe.es open data source

## How this service works

232 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

Returns a JSON object with: the date, whether the BOE was published, total item count for the day, a breakdown of counts per section (general provisions, staff appointments, public exams, justice, procurement, etc.), and an array of provisions each containing a unique BOE ID, title, section code, section name, department, and URLs to the PDF and HTML versions on boe.es.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "Date YYYY-MM-DD (default today; no BOE on Sundays)"
  },
  "text": {
   "type": "string",
   "description": "Words that must appear in the title"
  },
  "limit": {
   "type": "integer",
   "maximum": 200,
   "minimum": 1,
   "description": "Items returned (1-200, default 50)"
  },
  "section": {
   "type": "string",
   "description": "Section code (1, 2A, 2B, 3, 4, 5A, 5B, 5C) or words like oposiciones, nombramientos, contratacion"
  },
  "department": {
   "type": "string",
   "description": "Department or ministry (part of the name)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-09-28",
  "source": "Spanish Official State Gazette agency (boe.es, open data)",
  "day_total": 323,
  "published": true,
  "by_section": {
   "I. General provisions": 4,
   "III. Other provisions": 81,
   "IV. Administration of Justice": 63,
   "V. Notices - A. Public procurement": 60,
   "V. Notices - B. Other official notices": 46,
   "II. Authorities and staff - B. Public examinations and competitions": 49,
   "II. Authorities and staff - A. Appointments, status changes and incidents": 20
  },
  "provisions": [
   {
    "id": "BOE-A-2026-20025",
    "title": "Resolución 430/38393/2026, de 14 de septiembre, de la Secretaría de Estado de Defensa, por la que se convoca la provisión de puesto de trabajo por el sistema...",
    "heading": "Procedimientos de libre designación",
    "section": "2B",
    "url_pdf": "https://www.boe.es/boe/dias/2026/09/28/pdfs/BOE-A-2026-20025.pdf",
    "url_html": "https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-20025",
    "department": "MINISTERIO DE DEFENSA",
    "section_name": "II. Authorities and staff - B. Public examinations and competitions"
   }
  ],
  "total_matches": 49
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spain-boe-summary-39c6d03c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
