Authentication
Every request carries the x-api-key header:
curl -H "x-api-key: $GEOVIS_API_KEY" https://datos.geovis.es/v1/data/paisesWithout it, or with an invalid key, the response is 403.
Signed URLs are a separate thing
The API key is for talking to the API. Files are not served with it:
/download returns a signed URL with its own expiry.
That separation is deliberate. A signed URL can be handed to a job, a container or a colleague without giving them your key, and it expires on its own.
# Your key does NOT travel with the download.curl -o parcels.parquet "<signed-url>"If the URL is going to travel by email or through a ticket, sign it bound to an IP:
curl -H "x-api-key: $GEOVIS_API_KEY" \ "https://datos.geovis.es/v1/data/datasets/ee_cadastral_parcelas/download?ip=203.0.113.7/32"Quotas
There are two limits, and they measure different things:
| What is limited | When you exceed it |
|---|---|
| Requests per second and per day | 429 |
| Bytes downloaded per month | 429 with a JSON body and Retry-After |
Bytes are counted when the signed URL is issued, not when it is downloaded: a
URL you sign and never use still consumes quota. Every /download response tells
you where you stand:
"cuota": { "plan": "evaluacion", "consumido_bytes": 5162246, "limite_bytes": 21474836480 }