TransparentCars Running costs API
Annual road-tax (IUC) lookup — what a car costs to keep on the road.
Annual road-tax (IUC) lookup — what a car costs to keep on the road.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/transparent-pt:transparent-pt-running-costs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: TransparentCars Public Running costs API
version: 1.2.0
summary: Key-free JSON API for buying a car in Portugal — stock, fair-price valuation, car taxes (ISV/IUC), the full cost of importing a car from Germany/EU, and lead capture.
description: 'Open, key-free JSON API from **TransparentCars** (transparent.pt) — affordable used cars,
no hidden costs. It exposes the same data the public site runs on:
- `GET /cars`, `GET /cars/{slug}` — the cars currently for sale (published stock).
- `GET /valuation` — a **fair-price range** for a car, built from comparable Portuguese
listings (asking-price band). Answers "is this price fair?".
- `GET /isv` — a **running-cost / road-tax** lookup. The useful field is `iuc`
(Imposto Único de Circulação, the **annual road tax** a car costs to keep on the road).
- `GET /import-cost` — the **turnkey cost of importing a car from Germany / the EU** to
Portugal: car price (seller VAT swapped for Portuguese IVA when the listing is VAT-deductible),
transport, paperwork, service and ISV in one total; IUC per year returned apart.
- `GET /legalization-cost` — what it costs to **legalise a car already in Portugal** (registered
in another EU country): fixed service fee + ISV + state fees (+ COC if missing) as a low/high
range, with the lists of what the fee includes and what is paid separately at real cost.
- `GET /car_refs` — the canonical make / model vocabulary the valuation endpoint expects.
- `POST /lead` — consent-gated contact / callback request.
**Auth.** None. The API is public and key-free by design. Per-IP fair-use rate limits apply
(see `x-rate-limit`); calculator/valuation responses may be cached at the edge.
**Honesty / accuracy.** The `iuc` road-tax figure is a maintained estimate of the Portuguese
annual circulation tax, cross-checked periodically against public tax tables — use it for
planning, not as an official assessment. Valuation is an asking-price band from live
comparables, not an appraisal.
**Privacy.** Only `POST /lead` accepts personal data, and only with explicit `consent: true`.
All other endpoints take vehicle parameters and return numbers or public listing data — no PII.'
termsOfService: https://transparent.pt/en/terms
contact:
name: TransparentCars
url: https://transparent.pt/en/api
email: info@transparent.pt
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
x-logo:
url: https://transparent.pt/logo.png
altText: TransparentCars
backgroundColor: '#0f1115'
servers:
- url: https://transparent.pt/api/public
description: Production
security: []
tags:
- name: Running costs
description: Annual road-tax (IUC) lookup — what a car costs to keep on the road.
paths:
/isv:
get:
tags:
- Running costs
operationId: roadTax
summary: Annual road tax (IUC) and running-cost lookup
description: 'Returns the vehicle''s **annual road tax** — the `iuc` object — from engine cc, CO₂, fuel and
first-registration year. `iuc.iuc` is the yearly euro amount a car costs to keep on the road;
this is the field to use for running-cost estimates. Pure-electric vehicles come back
`iuc.exempt: true`. Deterministic and cached: identical parameters return identical numbers.
The response also carries an `isv` object (a one-off registration-tax figure) for
completeness; for local-market running-cost use, read `iuc`.'
parameters:
- name: cc
in: query
description: Engine displacement in cm³ (0–10000). 0 for pure-electric.
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
example: 1200
- name: co2
in: query
description: CO₂ emissions g/km (0–1000). WLTP for 2020+ registrations.
schema:
type: integer
minimum: 0
maximum: 1000
default: 0
example: 120
- name: fuel
in: query
description: Fuel type.
schema:
type: string
enum:
- petrol
- diesel
- hybrid
- phev
- electric
- lpg
default: petrol
- name: year
in: query
description: First-registration year (1950–current). Drives the IUC year coefficient and the CO₂ additional.
schema:
type: integer
minimum: 1950
maximum: 2100
example: 2016
- name: month
in: query
description: First-registration month 1–12.
schema:
type: integer
minimum: 1
maximum: 12
default: 6
- name: used
in: query
description: Used vehicle (true) vs new (false).
schema:
type: boolean
default: true
responses:
'200':
description: Road-tax (IUC) lookup. Read the `iuc` object.
content:
application/json:
schema:
type: object
properties:
iuc:
$ref: '#/components/schemas/IucResult'
isv:
$ref: '#/components/schemas/IsvResult'
examples:
diesel_2016:
summary: 2016 diesel, 1950 cc, 130 g/km — captured live
value:
iuc:
iuc: 278.85
exempt: false
note: null
category: B
taxa_cilindrada: 127.35
taxa_co2: 97.63
coef: 1.15
diesel_adic: 20.12
co2_adic: 0.0
isv:
isv: 1832.92
exempt: false
note: null
table: A
comp_cilindrada: 4744.62
comp_ambiental: 3919.98
diesel_surcharge: 500.0
base: 8664.6
rate_pct: 100
min_isv_applied: false
age_years: 10.2
age_reduction_pct: 80
electric:
summary: Pure electric — exempt from road tax
value:
iuc:
iuc: 0.0
exempt: true
note: 100% elétrico — isento de IUC
category: B
isv:
isv: 0.0
exempt: true
note: 100% elétrico — isento de ISV
'429':
$ref: '#/components/responses/RateLimited'
components:
responses:
RateLimited:
description: Per-IP rate limit exceeded.
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
example: 60
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
detail: rate limited
schemas:
IucResult:
type: object
description: Annual road tax (IUC). `iuc` is the yearly euro amount. Electric → `exempt:true`, `iuc:0`.
properties:
iuc:
type: number
description: Annual IUC road tax in EUR.
example: 278.85
exempt:
type: boolean
note:
type:
- string
- 'null'
category:
type: string
description: IUC category (e.g. "B" = passenger registered ≥2007).
taxa_cilindrada:
type: number
description: Engine-displacement component, EUR.
taxa_co2:
type: number
description: CO₂ component, EUR.
coef:
type: number
description: Year coefficient.
diesel_adic:
type: number
description: Diesel additional, EUR.
co2_adic:
type: number
description: CO₂ additional (registrations ≥2017), EUR.
Error:
type: object
description: Error envelope. `detail` is a string for handled errors; FastAPI validation errors return an array of field errors.
properties:
detail:
oneOf:
- type: string
- type: array
items:
type: object
example:
detail: consent required
IsvResult:
type: object
description: 'One-off registration-tax figure, returned alongside `iuc` for completeness.
For local-market running-cost use, prefer `iuc`. Electric → `exempt:true`, `isv:0`.
'
properties:
isv:
type: number
example: 1832.92
exempt:
type: boolean
note:
type:
- string
- 'null'
table:
type: string
comp_cilindrada:
type: number
comp_ambiental:
type: number
diesel_surcharge:
type: number
base:
type: number
rate_pct:
type: integer
min_isv_applied:
type: boolean
age_years:
type: number
age_reduction_pct:
type: integer
externalDocs:
description: API docs, quickstart & MCP server
url: https://transparent.pt/en/api
x-rate-limit:
policy: Per-IP fair-use. No key required. 429 with Retry-After on exceed.
cars: DB-backed listing endpoints, tighter than the calculators.
valuation: 20 requests / 5 min / IP (each call hits the comparables DB).
isv: 60 requests / minute / IP (cached; a cache hit is free).
import-cost: shares the isv budget — 60 requests / minute / IP.
legalization-cost: shares the isv budget — 60 requests / minute / IP.
lead: 20 requests / 5 min / IP.
headers: 429 responses on the road-tax endpoint include `Retry-After` (seconds).