TransparentCars

TransparentCars Public API

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…

Logistics & shipping#vehicle

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

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.

Endpoints 8

Inventory

  • GETList cars currently for sale/cars?site=transparentcarsPaged list of published cars for a site. Defaults to the TransparentCars stock (site=transparentcars). Optional filters narrow by make, fuel, gearbox and…
  • GETGet one car by slug/cars/:slugFull detail for a single published car. Slugs come from GET /cars.

Valuation

  • GETFair-price range for a car/valuation?make=Renault&model=Clio&year=2015&km=118000Fair-price band from comparable live Portuguese listings (asking prices). Answers "is this asking price fair?". Call GET /car_refs first to get the exact…
  • GETCanonical make / model vocabulary/car_refsNo make → the list of known brands. With make → that brand's canonical models. Pass the returned strings verbatim to GET /valuation.

Running costs

  • GETAnnual road tax (IUC) and running-cost lookup/isvReturns 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…

Import

  • GETTurnkey cost of importing a car from Germany / the EU to Portugal/import-cost?price=19500Total 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…
  • GETCost of legalising a car that is already in Portugal/legalization-costFor a passenger car registered in another EU country and already in Portugal, the cost of getting Portuguese plates through TransparentCars: total_eur =…

Leads

  • POSTSubmit a contact / callback request/leadConsent-gated lead capture. consent MUST be true (explicit opt-in for storing the contact) and at least one reachable channel is required — a phone or an…

API details

Base URL
https://transparent.pt/api/public
Authentication
None declared in the description
Operations
8 operations on 8 pathsGET 7POST 1
Main resources
Import 2Inventory 2Valuation 2Leads 1Running costs 1
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 1.2.0

How to test the TransparentCars Public API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the TransparentCars Public API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “List cars currently for sale” (GET /cars?site=transparentcars), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the TransparentCars Public API?

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… It is listed under Logistics & shipping and has 8 endpoints.

Who publishes the TransparentCars Public API?

It is listed from TransparentCars's public API description (an OpenAPI document), not published by TransparentCars on Swastik Codes. Anyone who controls transparent.pt can claim the profile by adding a DNS TXT record.

What is the base URL of the TransparentCars Public API?

Requests go to https://transparent.pt/api/public. Endpoint paths are added to this base URL.

How do I authenticate with the TransparentCars Public API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the TransparentCars Public API have?

8 operations on 8 paths (7 GET, 1 POST). The largest groups are Import, Inventory, Valuation, Leads.

Is forking the TransparentCars Public API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.