TransparentCars Valuation API

Fair-price range for a car from comparable Portuguese listings.

GitHub OpenAPI

Operations 2

GET /valuation Fair-price range for a car #
GET /car_refs Canonical make / model vocabulary #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/transparent-pt:transparent-pt-valuation-api"
All apis
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.

Get an API 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 Specification

transparent-pt-valuation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TransparentCars Public Valuation 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: Valuation
  description: Fair-price range for a car from comparable Portuguese listings.
paths:
  /valuation:
    get:
      tags:
      - Valuation
      operationId: valuation
      summary: Fair-price range for a car
      description: 'Fair-price band from comparable live Portuguese listings (asking prices). Answers

        "is this asking price fair?". Call `GET /car_refs` first to get the exact `make`/`model`

        strings this endpoint expects. When there aren''t enough comparables it returns

        `found: false` instead of a range.'
      parameters:
      - name: make
        in: query
        required: true
        schema:
          type: string
          example: Renault
      - name: model
        in: query
        required: true
        schema:
          type: string
          example: Clio
      - name: year
        in: query
        required: true
        schema:
          type: integer
          example: 2015
      - name: km
        in: query
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 1000000
          example: 118000
      - name: fuel
        in: query
        schema:
          type: string
          example: diesel
      - name: gearbox
        in: query
        schema:
          type: string
          example: manual
      - name: hp
        in: query
        schema:
          type: integer
          example: 90
      responses:
        '200':
          description: Valuation result (or `found:false` when there aren't enough comparables).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValuationResult'
              examples:
                found:
                  summary: Enough comparables — asking-price band (captured live)
                  value:
                    found: true
                    comps: 7
                    match_level: 0
                    days_sell: 28
                    rough: true
                    low: 26225
                    median: 29000
                    high: 32700
                notfound:
                  summary: Too few comparables
                  value:
                    found: false
                    comps: 0
        '429':
          $ref: '#/components/responses/RateLimited'
  /car_refs:
    get:
      tags:
      - Valuation
      operationId: carRefs
      summary: Canonical make / model vocabulary
      description: 'No `make` → the list of known brands. With `make` → that brand''s canonical models.

        Pass the returned strings verbatim to `GET /valuation`.'
      parameters:
      - name: make
        in: query
        schema:
          type: string
          example: BMW
      responses:
        '200':
          description: Brand list, or the models for one brand.
          content:
            application/json:
              schema:
                type: object
                properties:
                  makes:
                    type: array
                    items:
                      type: string
                  make:
                    type: string
                  models:
                    type: array
                    items:
                      type: string
              examples:
                brands:
                  summary: No make → brands (captured live, truncated)
                  value:
                    makes:
                    - Mercedes-Benz
                    - Peugeot
                    - BMW
                    - Renault
                    - Volkswagen
                    - Audi
                    - Opel
                models:
                  summary: make=BMW → models (captured live, truncated)
                  value:
                    make: BMW
                    models:
                    - '116'
                    - '320'
                    - '520'
                    - X1
                    - '118'
                    - '530'
                    - X3
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
    ValuationResult:
      type: object
      description: Fair-price band from comparable listings, or `found:false` with a comp count.
      properties:
        found:
          type: boolean
        comps:
          type: integer
          description: Number of comparable listings found.
        match_level:
          type: integer
          description: How tightly comparables matched the query (higher = tighter). 0 = broadest match.
        days_sell:
          type:
          - integer
          - 'null'
          description: Typical days-to-sell for the comparables.
        rough:
          type: boolean
          description: true when the sample is shaky (model broadened, or fewer than 5 comps).
        low:
          type: integer
          description: Lower bound (≈P25) of the asking-price band, EUR.
        median:
          type: integer
          description: Median asking price, EUR.
        high:
          type: integer
          description: Upper bound (≈P75) of the asking-price band, EUR.
  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).