Spain Agent Toolkit

active

Pay-per-call Spain and EU utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data, live official checks (EU VIES) and offline computation; nothing is stored.

AIBasex402 v2exactredtapeapi.com ↗︎
Transactions · 30d
0
Volume · 30d
$0.00
Unique buyers · 30d
0
Uptime · 30d
100.0%
Latency p50
48ms

Endpoints (11 live)

  • GET /v1/es/electricity/pvpc — Spain's regulated household electricity price (PVPC, peninsula) for today or tomorrow, hour by hour, with the cheapest hours and the cheapest 2h/3h windows. Use when an agent must schedule appliances/EV charging or answer 'when is electricity cheapest in Spain today/tomorrow'. Data: Preciluz (preciluz.com, CC-BY-4.0) from REE/ESIOS. (0.002 USDC on Base)
  • POST /v1/eu/invoice/precheck/batch — Batch EU invoice pre-check: POST {"items":[...]} with up to 50 invoices (same fields as /v1/eu/invoice/precheck; at most 40 distinct VAT numbers, duplicates are checked once). Price is $0.005 per item, computed from the body you send (1 item = $0.005, 50 items = $0.25); the 402 challenge shows the exact total. Returns per-item verdicts plus a summary. (0.01 USDC on Base)
  • GET /v1/es/tax-id/validate — Validate a Spanish tax ID (DNI/NIF, NIE or company CIF) by format and control character, offline. Does not look the ID up anywhere and stores nothing. Use before issuing invoices or onboarding Spanish customers. (0.002 USDC on Base)
  • GET /v1/iban/validate — Validate an IBAN (length per country + mod-97 checksum; for Spain also the national DC check digits) offline. Stores nothing. Use before SEPA payments or invoices. (0.002 USDC on Base)
  • POST /v1/eu/invoice/precheck — One-call EU B2B invoice pre-check before paying or issuing an invoice: live VIES VAT validation (name/address when available), IBAN validation for every IBAN country, VAT-country vs IBAN-country match (a common invoice-fraud signal), optional Spanish NIF/NIE/CIF check, and the due date (issue date + term) moved to the next business day using that country's public holidays, with a Late Payment Directive warning for terms over 60 days. Returns verdict ok/review/fail with reasons. If VIES is down the call still succeeds with vies.status=unavailable and verdict=review. GET with query params or POST a JSON object. (0.015 USDC on Base)
  • GET /v1/eu/vat/validate — Validate an EU VAT number live against the European Commission's VIES service (all EU member states plus XI, Northern Ireland), after an offline format check. Returns valid/invalid plus the registered name and address when the member state discloses them. If VIES is down for that country you get HTTP 503 and are not charged. Use before zero-rating an intra-EU invoice or onboarding an EU business customer. Countries: AT,BE,BG,CY,CZ,DE,DK,EE,EL,ES,FI,FR,HR,HU,IE,IT,LT,LU,LV,MT,NL,PL,PT,RO,SE,SI,SK,XI. (0.003 USDC on Base)
  • GET /v1/eu/electricity/day-ahead — European wholesale day-ahead electricity prices (EUR/MWh, SDAC auction) for a bidding zone, today or tomorrow, aggregated to clock hours (Europe/Berlin time), with min/max/average, the cheapest N hours and the cheapest window of N consecutive hours. Use to schedule EV charging, batteries, heat pumps or flexible loads. Zones: AT, BE, CH, CZ, DE-LU, DK1, DK2, FR, HU, IT-North, NL, NO2, PL, SE4, SI. Tomorrow is usually published ~13:00 CET; before that you get 404 and are not charged. Data: Energy-Charts.info (Fraunhofer ISE), CC BY 4.0. For Spain's retail PVPC use /v1/es/electricity/pvpc. (0.002 USDC on Base)
  • GET /v1/eu/invoice/precheck — One-call EU B2B invoice pre-check before paying or issuing an invoice: live VIES VAT validation (name/address when available), IBAN validation for every IBAN country, VAT-country vs IBAN-country match (a common invoice-fraud signal), optional Spanish NIF/NIE/CIF check, and the due date (issue date + term) moved to the next business day using that country's public holidays, with a Late Payment Directive warning for terms over 60 days. Returns verdict ok/review/fail with reasons. If VIES is down the call still succeeds with vies.status=unavailable and verdict=review. GET with query params or POST a JSON object. (0.015 USDC on Base)
  • GET /v1/es/business-days — Count Spanish business days between two dates (inclusive), excluding weekends and national plus regional public holidays. Use for legal/administrative deadlines, delivery estimates or payroll in Spain. (0.002 USDC on Base)
  • GET /v1/es/holidays — Spanish public holidays for a year: national ones plus those of a region (comunidad autonoma) if given. Computed offline from the date-holidays dataset (CC-BY-3.0); local (municipal) holidays are not included. (0.002 USDC on Base)
  • GET /v1/es/boe/search — Search the daily summary of Spain's Official State Gazette (BOE) for a date by keywords and section: new laws, royal decrees, orders, grants, tenders (section 5A), public-exam calls (2B). Returns titles, issuing body and official PDF/HTML links. Use to monitor Spanish regulation or tenders. Source: BOE open data API. (0.002 USDC on Base)

First seen · last seen