OpenMercantil
Search Spanish companies and BORME event timelines
Look up Spanish companies by name and get back their CIF, slug, status, and activity counts, with deeper BORME (official gazette) event timelines available per company. No auth, open CORS, JSON only.
GET https://openmercantil.es/api/v1/search?q=mercadona&limit=5
{
"query": "mercadona",
"count": 5,
"items": [
{
"slug": "mercadona-sa",
"name": "MERCADONA SA",
"cif": "A46103834",
"acts_count": 112,
"last_seen": "2026-06-09"
}
]
}curl "https://openmercantil.es/api/v1/search?q=mercadona&limit=5"const res = await fetch("https://openmercantil.es/api/v1/search?q=mercadona&limit=5");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://openmercantil.es/api/v1/search?q=mercadona&limit=5")
print(res.json())/api/v1/search?q=mercadona&limit=5PROBEDSearch Spanish companies and BORME event timelines
/apiApi — documented GET route.
/api/1Api details by ID (example: 1).
/api?limit=10Api — documented GET route.
/api/search?q=testSearch by query parameters.
/api/v1/search?limit=5Search by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
OpenMercantil: common questions
Is OpenMercantil free to use?
Yes — OpenMercantil is a free government API. Free tier: Free — anonymous, no key. Whether the free tier allows commercial use is unclear — check the provider docs.
Does OpenMercantil need an API key?
No — OpenMercantil needs no API key or signup. You can call it straight away; rate limits still apply (60 req/min, 200 req/day per IP (anonymous)).
Can I call OpenMercantil from the browser?
Yes — OpenMercantil returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is OpenMercantil up right now?
As of our last scheduled check, OpenMercantil is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.