# Sirenic Spanish Public Procurement Record

> Sirenic Spanish Public Procurement Record is a paid API for AI agents from api.sirenic.eu, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-24).

Returns public procurement contracts won and notices issued by a Spanish legal entity (company NIF) from the Plataforma de Contratación del Sector Público, including award details, amounts, buyers, and CPV codes.

## Facts

- Endpoint: GET https://api.sirenic.eu/v1/eu/entreprise/ES/:nif/marches-publics?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sirenic-spanish-public-procurement-record-479ba8d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mMTLEOJB3Gb3tbLeDJhB4

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 sirenic-spanish-public-procurement-record-479ba8d6
```

Example prompt: Can you pull the public procurement record for Spanish company with NIF A28582013 — I want to see the contracts they've won and any notices they've issued as a buyer?

## When to prefer this

Use this endpoint when you need authoritative Spanish public procurement data keyed by a legal-entity NIF, including both contracts won and buyer notices from the official Plataforma de Contratación del Sector Público. Prefer this over generic web search when you need structured, machine-readable procurement records with EUR amounts, CPV codes, and buyer identifiers for due diligence, compliance auditing, or competitive intelligence on Spanish companies.

## Known failure modes

- Invalid NIF format (must be one letter + seven digits + check character) returns an error — DNI/NIE formats are refused
- No records found if the company has no procurement activity on the platform since 2012
- NIF belongs to a natural person — endpoint only serves legal entities
- Rate limiting or payment failure at $0.02 USDC per call
- Data may lag behind real-time as it depends on ministry CODICE feed update cadence

## How this service works

Public-procurement record of a Spanish company from the Plataforma de Contratación del Sector Público (Ministry of Finance CODICE feeds, hosted profiles and aggregated regional platforms, since 2012): contracts WON matched by legal-person NIF — buyer (name, DIR3), subject, CPV, lot, result, award date, amounts in EUR, tenders received, SME flag — and notices ISSUED as a buyer; newest first, capped at 100. Never a natural-person winner. Reuse under the ministry's conditions.

## Output

A list (up to 100 records, newest first) of public procurement contracts won by the company and notices issued as a buyer, each containing: buyer name and DIR3 code, contract subject, CPV codes, lot identifier, result status, award date, awarded amount in EUR, number of tenders received, and SME flag. Never includes natural-person winners.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "nif"
     ],
     "properties": {
      "nif": {
       "type": "string",
       "description": "Spanish legal-person NIF: one letter, seven digits, a check character (e.g. A28582013); DNI/NIE refused"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sirenic-spanish-public-procurement-record-479ba8d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sirenic.eu](https://www.zero.xyz/host/api.sirenic.eu/llms.txt)
