TransparentCars Import API
Full cost of importing a car from Germany / the EU to Portugal, and of legalising one already here.
Full cost of importing a car from Germany / the EU to Portugal, and of legalising one already here.
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-import-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 Import 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: Import
description: Full cost of importing a car from Germany / the EU to Portugal, and of legalising one already here.
paths:
/import-cost:
get:
tags:
- Import
operationId: importCost
summary: Turnkey cost of importing a car from Germany / the EU to Portugal
description: 'Total a buyer pays to get a car from another EU country (typically a mobile.de or
AutoScout24 listing in Germany) registered on Portuguese plates through TransparentCars:
`total_eur = car.cost + transport_eur + paperwork_eur + service_eur + isv_eur`
**VAT (net / gross).** `vat=final` — the listing price is final (private seller or margin
scheme, no VAT line). `vat=gross` — a dealer listing that shows deductible VAT
("MwSt. ausweisbar", e.g. "€36,958 Net, 19% VAT"): the seller-country VAT (`vat_rate`) is
removed and Portuguese IVA 23% is applied to the net price. `vat=net` — the price given is
already net; 23% IVA is added.
ISV uses the same engine and age rules as `GET /isv` (passenger car, EU origin, age
reduction from first registration). `iuc_per_year_eur` is the annual road tax — an
ownership cost, not part of the total. Estimates: final ISV is set by the tax authority
from the COC; `warnings` flags inputs that make the ISV unreliable (missing cc / CO₂ /
year, PHEV without electric range).'
parameters:
- name: price
in: query
required: true
description: Price on the listing, EUR (> 0).
schema:
type: number
exclusiveMinimum: 0
example: 19500
- name: vat
in: query
description: How to read `price` — see VAT above.
schema:
type: string
enum:
- final
- gross
- net
default: final
- name: vat_rate
in: query
description: Seller-country VAT % for `vat=gross` (DE 19, AT 20, IT 22, ES 21, FR 20, NL 21, BE 21).
schema:
type: number
minimum: 5
maximum: 30
default: 19
- name: cc
in: query
description: Engine displacement in cm³. 0 for pure-electric.
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
example: 1498
- name: co2
in: query
description: CO₂ g/km (WLTP for 2020+).
schema:
type: integer
minimum: 0
maximum: 1000
default: 0
example: 130
- name: fuel
in: query
schema:
type: string
enum:
- petrol
- diesel
- hybrid
- hybrid_diesel
- phev
- electric
- lpg
default: petrol
- name: year
in: query
description: First-registration year.
schema:
type: integer
minimum: 1950
maximum: 2100
example: 2021
- name: month
in: query
description: First-registration month 1–12.
schema:
type: integer
minimum: 1
maximum: 12
default: 6
- name: range_km
in: query
description: Electric range (km) for plug-in hybrids — 50 km+ (and low CO₂) gives the 75% ISV reduction.
schema:
type: integer
minimum: 0
maximum: 2000
default: 0
- name: used
in: query
description: Used (true) vs new (false — up to 6 months / 6,000 km, no age reduction).
schema:
type: boolean
default: true
responses:
'200':
description: Turnkey breakdown.
content:
application/json:
schema:
$ref: '#/components/schemas/ImportCostResult'
examples:
golf_2021:
summary: VW Golf 1.5 TSI 2021, private seller, 19 500 €
value:
currency: EUR
car:
listing_price: 19500
vat_mode: final
net: null
pt_iva_pct: null
cost: 19500
transport_eur: 1200
paperwork_eur: 500
service_eur: 2500
isv_eur: 1092
total_eur: 24792
above_listing_eur: 5292
iuc_per_year_eur: 148
warnings: []
'422':
description: Missing / invalid price, vat mode or fuel.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
/legalization-cost:
get:
tags:
- Import
operationId: legalizationCost
summary: Cost of legalising a car that is already in Portugal
description: 'For a passenger car registered in another EU country and already in Portugal, the cost of
getting Portuguese plates through TransparentCars:
`total_eur = service_eur + isv_eur + state_fees_eur (+ coc_eur when coc=false)`, as a low/high range.
Only `service_eur` is the TransparentCars price (fixed). ISV, state fees (inspection, IMT,
registration, DUA, plates) and the COC are paid separately at real cost, against the official
receipts. `included_in_service` and `not_included` list exactly what the fee does and doesn''t
cover. State-fee figures are estimates; ISV uses the same engine as `GET /isv`.'
parameters:
- name: cc
in: query
description: Engine displacement in cm³. 0 for pure-electric.
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
example: 1598
- name: co2
in: query
description: CO₂ g/km (WLTP for 2020+).
schema:
type: integer
minimum: 0
maximum: 1000
default: 0
example: 130
- name: fuel
in: query
schema:
type: string
enum:
- petrol
- diesel
- hybrid
- hybrid_diesel
- phev
- electric
- lpg
default: petrol
- name: year
in: query
description: First-registration year.
schema:
type: integer
minimum: 1950
maximum: 2100
example: 2019
- name: month
in: query
schema:
type: integer
minimum: 1
maximum: 12
default: 6
- name: range_km
in: query
description: Electric range for plug-in hybrids (50 km+ gives the 75% ISV reduction).
schema:
type: integer
minimum: 0
maximum: 2000
default: 0
- name: coc
in: query
description: Whether the car has its COC (certificate of conformity). false adds the COC cost range.
schema:
type: boolean
default: true
responses:
'200':
description: Legalisation cost range.
content:
application/json:
schema:
$ref: '#/components/schemas/LegalizationCostResult'
examples:
diesel_2019:
summary: 1.6 diesel 2019, 130 g/km, has COC
value:
currency: EUR
service_eur: 490
isv_eur: 2516
state_fees_eur:
low: 260
high: 330
coc_eur: null
total_eur:
low: 3266
high: 3336
iuc_per_year_eur: 196
warnings: []
'422':
description: Unknown fuel.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
components:
schemas:
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
ImportCostResult:
type: object
required:
- currency
- car
- transport_eur
- paperwork_eur
- service_eur
- isv_eur
- total_eur
properties:
currency:
type: string
const: EUR
car:
type: object
properties:
listing_price:
type: integer
vat_mode:
type: string
enum:
- final
- gross
- net
seller_vat_pct:
type:
- number
- 'null'
net:
type:
- integer
- 'null'
description: Net price when VAT applies.
pt_iva_pct:
type:
- integer
- 'null'
description: Portuguese IVA applied to the net price (23).
cost:
type: integer
description: Car cost landed in Portugal before transport / ISV.
transport_eur:
type: integer
description: Germany → Portugal transport.
paperwork_eur:
type: integer
description: Inspection
IMT fees: null
registration: null
plates: null
documents.: null
service_eur:
type: integer
description: TransparentCars turnkey service.
isv_eur:
type: integer
description: Vehicle registration tax (ISV).
total_eur:
type: integer
description: Turnkey total with Portuguese plates.
above_listing_eur:
type: integer
iuc_per_year_eur:
type:
- integer
- 'null'
description: Annual road tax — ownership cost
not in the total.: null
isv:
$ref: '#/components/schemas/IsvResult'
iuc:
$ref: '#/components/schemas/IucResult'
warnings:
type: array
items:
type: string
assumptions:
type: object
calculator:
type: string
format: uri
LegalizationCostResult:
type: object
required:
- currency
- service_eur
- isv_eur
- state_fees_eur
- total_eur
properties:
currency:
type: string
const: EUR
service_eur:
type: integer
description: Fixed TransparentCars service fee — the only part that is our price.
isv_eur:
type: integer
description: ISV
paid to the tax authority at real cost.: null
state_fees_eur:
type: object
description: Inspection, IMT, registration, DUA and plates — estimate range, paid at real cost.
properties:
low:
type: integer
high:
type: integer
coc_eur:
type:
- object
- 'null'
description: COC cost range when coc=false; null when the car has its COC.
properties:
low:
type: integer
high:
type: integer
total_eur:
type: object
properties:
low:
type: integer
high:
type: integer
iuc_per_year_eur:
type:
- integer
- 'null'
included_in_service:
type: array
items:
type: string
not_included:
type: array
items:
type: string
paid_at_real_cost:
type: array
items:
type: string
isv:
$ref: '#/components/schemas/IsvResult'
iuc:
$ref: '#/components/schemas/IucResult'
warnings:
type: array
items:
type: string
assumptions:
type: object
service_page:
type: string
format: uri
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.
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
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
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).