TransparentCars Inventory API

Cars currently for sale.

GitHub OpenAPI

Operations 2

GET /cars List cars currently for sale #
GET /cars/{slug} Get one car by slug #

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-inventory-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-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TransparentCars Public Inventory 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: Inventory
  description: Cars currently for sale.
paths:
  /cars:
    get:
      tags:
      - Inventory
      operationId: listCars
      summary: List cars currently for sale
      description: 'Paged list of published cars for a site. Defaults to the TransparentCars stock

        (`site=transparentcars`). Optional filters narrow by make, fuel, gearbox and price ceiling.'
      parameters:
      - name: site
        in: query
        required: true
        schema:
          type: string
          default: transparentcars
          example: transparentcars
        description: Site slug. Use `transparentcars`. Unknown values return 404.
      - name: lang
        in: query
        schema:
          type: string
          enum:
          - pt
          - en
          - ru
          - ua
          default: pt
        description: Localises human-readable labels (fuel, gearbox, body). `ua` = Ukrainian.
      - name: make
        in: query
        schema:
          type: string
          example: Renault
        description: Case-insensitive exact make match.
      - name: fuel
        in: query
        schema:
          type: string
          example: Diesel
        description: Fuel code filter (matches the stored code).
      - name: gearbox
        in: query
        schema:
          type: string
          example: Manual
        description: Gearbox code filter.
      - name: max_price
        in: query
        schema:
          type: integer
          minimum: 0
          example: 12000
        description: Only cars at or below this asking price (EUR).
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 96
          default: 24
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: Paged list of published cars.
          content:
            application/json:
              schema:
                type: object
                required:
                - site
                - lang
                - total
                - cars
                properties:
                  site:
                    type: string
                  lang:
                    type: string
                  total:
                    type: integer
                    description: Total published cars matching the filters (before paging).
                  cars:
                    type: array
                    items:
                      $ref: '#/components/schemas/CarSummary'
              examples:
                empty:
                  summary: transparentcars — no published stock yet
                  value:
                    site: transparentcars
                    lang: en
                    total: 0
                    cars: []
                populated:
                  summary: One car (shape captured live)
                  value:
                    site: transparentcars
                    lang: en
                    total: 1
                    cars:
                    - slug: renault-clio-2015
                      make: Renault
                      model: Clio
                      year: 2015
                      km: 118000
                      price_eur: 8900
                      tier: simple
                      fuel: Diesel
                      gearbox: Manual
                      body: Hatchback
                      photo: /photos/item/12/abc123_IMG_0001.jpeg
        '404':
          $ref: '#/components/responses/UnknownSite'
  /cars/{slug}:
    get:
      tags:
      - Inventory
      operationId: getCar
      summary: Get one car by slug
      description: Full detail for a single published car. Slugs come from `GET /cars`.
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          example: renault-clio-2015
      - name: lang
        in: query
        schema:
          type: string
          enum:
          - pt
          - en
          - ru
          - ua
          default: pt
      responses:
        '200':
          description: Car detail.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarDetail'
              examples:
                car:
                  summary: Shape captured live (fields as returned)
                  value:
                    id: 40
                    slug: alfa-romeo-tonale-2023
                    make: Alfa Romeo
                    model: Tonale
                    year: 2023
                    km: 24700
                    price_eur: 31900
                    tier: simple
                    fuel: Plug-in hybrid
                    gearbox: Automatic
                    body: SUV
                    colour: Blue
                    hp: 280
                    cc: 1332
                    co2: null
                    fuel_code: Híbrido Plug-in
                    description: <b>2023 Alfa Romeo Tonale — 280 HP Plug-in Hybrid</b><p>…</p>
                    youtube_url: https://youtu.be/oD0pCMH-Pgo
                    photos:
                    - /photos/item/40/3353111006be4b53_IMG_6568.jpeg
                    - /photos/item/40/968cfda0f6522244_IMG_6574.jpeg
                    updated_at: '2026-08-01T21:15:46.178974+00:00'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    CarSummary:
      type: object
      description: One car in a list. Labels (`fuel`, `gearbox`, `body`) are localised by `lang`.
      properties:
        slug:
          type: string
          example: renault-clio-2015
        make:
          type: string
          example: Renault
        model:
          type: string
          example: Clio
        year:
          type: integer
          example: 2015
        km:
          type: integer
          example: 118000
        price_eur:
          type: integer
          description: Asking price in EUR.
          example: 8900
        tier:
          type: string
          description: Internal stock tier (transparentcars = "simple").
          example: simple
        fuel:
          type:
          - string
          - 'null'
        gearbox:
          type:
          - string
          - 'null'
        body:
          type:
          - string
          - 'null'
        photo:
          type:
          - string
          - 'null'
          description: Site-relative path to the main photo (prefix with https://transparent.pt). Null if none.
          example: /photos/item/12/abc123_IMG_0001.jpeg
    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
    CarDetail:
      type: object
      description: Full car detail. Human-readable labels localised by `lang`; `fuel_code` is the raw stored code.
      properties:
        id:
          type: integer
          example: 40
        slug:
          type: string
        make:
          type: string
        model:
          type: string
        year:
          type: integer
        km:
          type: integer
        price_eur:
          type: integer
          description: Asking price in EUR.
        tier:
          type: string
        fuel:
          type:
          - string
          - 'null'
          description: Localised fuel label.
        gearbox:
          type:
          - string
          - 'null'
        body:
          type:
          - string
          - 'null'
        colour:
          type:
          - string
          - 'null'
        hp:
          type:
          - integer
          - 'null'
        cc:
          type:
          - integer
          - 'null'
        co2:
          type:
          - integer
          - 'null'
        fuel_code:
          type:
          - string
          - 'null'
          description: Raw (non-localised) fuel code.
        description:
          type: string
          description: HTML description in the requested language.
        youtube_url:
          type:
          - string
          - 'null'
          format: uri
        photos:
          type: array
          description: Ordered site-relative photo paths (prefix with https://transparent.pt).
          items:
            type: string
        updated_at:
          type: string
          format: date-time
  responses:
    UnknownSite:
      description: Unknown site slug.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: unknown site
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: not found
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).