Car tax API for Portugal (ISV, IUC)
A free, open, key-free JSON API for the Portuguese car market: estimate the import tax (ISV) and annual road tax (IUC) in one call, value a car against live comparables, and read our stock. No sign-up, fair-use per-IP rate limits.
Não é programador? O guia em palavras simples →
On accuracy: the ISV/IUC figures are a maintained estimate, cross-checked against the official AT (Autoridade Tributária) simulator and the published tax tables. They are not the official AT figure and do not replace the AT simulator or a licensed despachante.
Quickstart
curl 'https://claracars.pt/api/public/isv?cc=1950&co2=130&fuel=petrol&year=2016'
# -> {"isv":{"isv":...,"table":"A"},"iuc":{"iuc":...,"category":"B"}}Endpoints
GET | /api/public/isv | Estimate ISV (import tax) + IUC (annual road tax) in one call. Params: cc, co2, fuel, year, month, used, from_eu, vehicle_type, range_km, particulas. |
GET | /api/public/legalization-cost | Legalisation of a car already in Portugal: service fee + ISV + state fees (+ COC) range. Params: cc, co2, fuel, year, month, range_km, coc. |
GET | /api/public/import-cost | Turnkey import cost Germany/EU → Portugal (car incl. VAT net/gross, transport, paperwork, service, ISV; IUC apart). Params: price, vat (final|gross|net), vat_rate, cc, co2, fuel, year, month, range_km, used. |
GET | /api/public/valuation | Market price range from comparable Portuguese listings. Params: make, model, year, km, fuel?, gearbox?, hp?. |
GET | /api/public/car_refs | Canonical make/model vocabulary. No make → brands; with make → that brand's models. |
GET | /api/public/cars | Current stock. Params: site, lang, make?, fuel?, gearbox?, max_price?, limit, offset. |
GET | /api/public/cars/{slug} | Full detail for one car. |
Base URL https://claracars.pt/api/public. Full machine-readable description: OpenAPI 3.1 spec.
Rate limits & fair use
/isv: ~60 requests/minute per IP (burst 20)./valuation: ~20 requests/minute per IP (it queries live market data).- Over the limit →
HTTP 429with aRetry-Afterheader. - Calculations are deterministic and may be cached at the CDN. Need higher limits for a widget or partner integration? Ask us for a soft key — the public tier stays key-free.
Open source
The ISV/IUC calculators behind this API are open-source (MIT) — use them as a zero-dependency Python library or self-host the API: github.com/claracarspt/calcs.
Embed the ISV + IUC calculator
Drop the ISV+IUC calculator on any website — free, no key, no iframe. The snippet renders the form straight into your page (it picks up your fonts) and adds a small, crawlable “ISV calculator by transparent.pt” link in your own HTML.
<div id="tc-isv"></div>
<script src="https://transparent.pt/embed-isv.js" data-lang="pt" data-target="tc-isv" async></script>Iframe fallback
If your site cannot load third-party scripts, use the iframe. Its credit link lives inside the frame, so it counts for us, not for your page.
<iframe src="https://transparent.pt/embed-isv?lang=pt" id="tc-isv-frame" width="100%" height="480" style="border:0;max-width:420px" loading="lazy" title="ISV + IUC calculator"></iframe>
<script>addEventListener("message",function(e){if(e.origin==="https://transparent.pt"&&e.data&&e.data.claracarsIsvHeight)document.getElementById("tc-isv-frame").style.height=e.data.claracarsIsvHeight+"px";});</script>WordPress plugin
On WordPress, install the official plugin — shortcode [claracars_isv] or a Gutenberg block, rendered natively by the plugin: wordpress.org/plugins/clara-cars-isv-iuc-calculator. Following the WordPress.org plugin rules, its credit link is off by default — switch on “Show credit link” in the block settings (or credit="yes" in the shortcode) if you want to support the free calculator.
Attribution & free-use terms
The hosted API and widget are free and key-free. In return, when you display results from the hosted API in your own integration on a public page, keep a visible, crawlable link to transparent.pt next to the result (for example “ISV calculator by transparent.pt”). The link must be:
- Crawlable — a normal
<a href>, notrel="nofollow"/sponsored/ugc, on a page that is notnoindexor robots-blocked. - Public — on a page reachable without login, paywall or authorisation.
- Visible — rendered on the page (not
display:none), next to the result.
The embed snippet and the iframe render the link for you. Exception: sites using the official WordPress plugin may use it with or without the credit link — showing it is their choice.
Don't want the link? Self-host the open-source calculators (source) — no attribution, no rate limit, no terms. The credit is only the price of using our servers.
Estimates only — always keep the “confirm on the official AT simulator / with a despachante” note near displayed figures. Do not present the estimate as the official AT figure.
MCP server
Same data, as Model Context Protocol tools for AI assistants.
# Remote (Streamable HTTP)
https://claracars.pt/mcp
# stdio
npx -y claracars-mcpDiscovery: /.well-known/mcp.json · Source (MIT): github.com/claracarspt/mcp · More: MCP page
Try it in Postman
Import the collection and run every endpoint from your browser — no setup.
Public workspace: Clara Cars Public API on Postman
OpenAPI spec · ISV calculator · IUC calculator · MCP server · Postman
