OCU API
ocu.org
OCU Spanish fuel station prices
- Actions
- 4
- Category
- Vehicles
- Login
- Not required
- Output
- JSON
Call the OCU API
Submit a task, then poll the job until it settles. This example runs act_ocu_org_cheapest_stations.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_ocu_org_cheapest_stations",
"params": {
"location": "Madrid"
}
}'4 actions on ocu.org
Read
Cheapest fuel stations
act_ocu_org_cheapest_stationsread1 credit / callGet the cheapest OCU fuel stations for a fuel type near a province, municipality or coordinates, ranked by price per litre.
- location
- string · required
- fuel_type
- string
- lat
- number
- lng
- number
- radius_km
- integer
- limit
- integer
- brand_id
- string
List fuel types and brands
act_ocu_org_list_fuel_types_brandsread1 credit / callList the fuel types and station brands covered by the OCU gasolineras comparison tool.
Search fuel stations
act_ocu_org_search_stationsread1 credit / callSearch OCU fuel stations by province, municipality, postcode or coordinates, with optional fuel-type and brand filters. Returns brand, name, address, municipality, coordinates and price in euros per litre.
- location
- string · required
- lat
- number
- lng
- number
- fuel_type
- string
- brand_id
- string
- radius_km
- integer
Station price detail
act_ocu_org_station_detailread1 credit / callGet an OCU fuel station's brand, name, address, coordinates and the current price in euros per litre for every fuel type it sells.
- lat
- number · required
- lng
- number · required
- name
- string
- radius_km
- integer
OCU API questions
- Is there an API for OCU?
- OCU does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for ocu.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape OCU data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when ocu.org changes its markup, Anakin updates the action.
- Do I need a OCU account?
- No. Every OCU action listed here runs anonymously — no account and no credentials required.
- What does the OCU API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Vehicles APIs
Acura Canada
Acura Canada published vehicle offers, models, specifications and dealer locator
BCA
BCA UK vehicle remarketing — public auction site listings
Bid.Cars
Bid.Cars salvage and auction vehicle listings aggregator
Biluppgifter
Swedish vehicle registration lookup (biluppgifter.se)
BMW USA
BMW USA published vehicle models, specifications, inventory, offers and dealers
CarDekho
Indian new and used car listings, specs, reviews and launches from CarDekho