Fipe API (2.0.0)

Download OpenAPI specification:Download

Deivid Fortuna: deividfortuna@gmail.com URL: https://fipe.online License: MIT

API de consulta Tabela FIPE fornece preços médios de veículos no mercado nacional. Atualizada mensalmente com dados extraidos da tabela FIPE.

Essa API Fipe utiliza banco de dados próprio, onde todas as requisições acontecem internamente, sem sobrecarregar o Web Service da Fipe, evitando assim bloqueios por múltiplos acessos.

A API está online desde 2015 e totalmente gratuíta. Gostaria que ele continuasse gratuíta? O que acha de me pagar uma cerveja? 🍺

Make a donation

Fipe API SDKs

Fipe

Fipe month references

Returns months and codes reference from Fipe

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Brands by type

Returns brands for the type of vehicle

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get vehicle models by brand

Returns models for the brand

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

brandId
required
integer
Example: 59

Brand id

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get years by model

Returns years for the specific model

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

brandId
required
integer
Example: 59

Brand id

modelId
required
integer
Example: 5940

Model id

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Fipe info

Returns the Fipe information for the vehicle (price estimation)

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

brandId
required
integer
Example: 59

Brand id

modelId
required
integer
Example: 5940

Model id

yearId
required
string
Example: 2014-3

Year

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
{
  • "brand": "VW - VolksWagen",
  • "codeFipe": "005340-6",
  • "fuel": "Diesel",
  • "fuelAcronym": "D",
  • "model": "AMAROK High.CD 2.0 16V TDI 4x4 Dies. Aut",
  • "modelYear": 2014,
  • "price": "R$ 10.000,00",
  • "priceHistory": [
    ],
  • "referenceMonth": "abril de 2024",
  • "vehicleType": 1
}

Get vehicle years by brand

Returns years for the brand

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

brandId
required
integer
Example: 59

Brand id

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get vehicle models by brand and year

Returns models for the brand and year

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

brandId
required
integer
Example: 59

Brand id

yearId
required
string
Example: 2014-3

Year

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Search by Fipe code

Get years by FIPE code vehicle

Returns the years available for the vehicle by FIPE code

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

fipeCode
required
string
Example: 004278-1

FIPE code

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get vehicle details by FIPE code

Returns the Fipe information for the vehicle (price estimation)

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

fipeCode
required
string
Example: 004278-1

FIPE code

yearId
required
string
Example: 2014-3

Year

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
{
  • "brand": "VW - VolksWagen",
  • "codeFipe": "005340-6",
  • "fuel": "Diesel",
  • "fuelAcronym": "D",
  • "model": "AMAROK High.CD 2.0 16V TDI 4x4 Dies. Aut",
  • "modelYear": 2014,
  • "price": "R$ 10.000,00",
  • "priceHistory": [
    ],
  • "referenceMonth": "abril de 2024",
  • "vehicleType": 1
}

Get vehicle history by FIPE code

Returns the price history for the vehicle

path Parameters
vehicleType
required
string
Enum: "cars" "motorcycles" "trucks"
Example: cars

Vehicle type

fipeCode
required
string
Example: 004278-1

FIPE code

yearId
required
string
Example: 2014-3

Year

query Parameters
reference
integer
Example: reference=278

Reference month and year

header Parameters
X-Subscription-Token
string
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA

Subscription token (https://fipe.online)

Responses

Response samples

Content type
application/json
{
  • "brand": "VW - VolksWagen",
  • "codeFipe": "005340-6",
  • "fuel": "Diesel",
  • "fuelAcronym": "D",
  • "model": "AMAROK High.CD 2.0 16V TDI 4x4 Dies. Aut",
  • "modelYear": 2014,
  • "price": "R$ 10.000,00",
  • "priceHistory": [
    ],
  • "referenceMonth": "abril de 2024",
  • "vehicleType": 1
}