Download OpenAPI specification:
A API de consulta da Tabela FIPE fornece preços médios de veículos no mercado nacional. É atualizada mensalmente com dados extraídos da tabela FIPE.
Esta API da FIPE utiliza um 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 gratuita, fornecendo dados de veículos, motos e caminhões. Embora a API seja gratuita, ela é limitada a 500 requisições não autenticadas por dia (24h). Se você criar um token de acesso gratuito aqui, poderá fazer até 1.000 requisições por dia (24h).
Caso você precise de requisições ilimitadas e acesso a 1 ano de histórico de preços, além de download completo em CSV, considere contratar um plano de suporte por meio do site fipe.online.
Retorna as referências de meses e códigos da Fipe
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/references', headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "308",
- "month": "abril de 2024"
}
]
Retorna as marcas para o tipo de veículo
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "23",
- "name": "VW - VolksWagen"
}
]
Retorna os modelos para a marca
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
brandId required | integer Example: 59 ID da marca |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands/59/models', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "5585",
- "name": "AMAROK CD2.0 16V/S CD2.0 16V TDI 4x2 Die"
}
]
Retorna os anos para o modelo específico
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
brandId required | integer Example: 59 ID da marca |
modelId required | integer Example: 5940 ID do modelo |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands/59/models/5940/years', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "2022-3",
- "name": "2022 Diesel"
}
]
Retorna as informações da Fipe para o veículo (estimativa de preço)
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
brandId required | integer Example: 59 ID da marca |
modelId required | integer Example: 5940 ID do modelo |
yearId required | string Example: 2014-3 Ano |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands/59/models/5940/years/2014-3', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
{- "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": [
- {
- "month": "abril de 2024",
- "price": "R$ 10.000,00",
- "reference": "308"
}
], - "referenceMonth": "abril de 2024",
- "vehicleType": 1
}
Retorna os anos para a marca
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
brandId required | integer Example: 59 ID da marca |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands/59/years', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "2022-3",
- "name": "2022 Diesel"
}
]
Retorna os modelos para a marca e ano
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
brandId required | integer Example: 59 ID da marca |
yearId required | string Example: 2014-3 Ano |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/brands/59/years/2014-3/models', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "5585",
- "name": "AMAROK CD2.0 16V/S CD2.0 16V TDI 4x2 Die"
}
]
Retorna os anos disponíveis para o veículo por código FIPE
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
fipeCode required | string Example: 004278-1 Código FIPE |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/004278-1/years', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
[- {
- "code": "2022-3",
- "name": "2022 Diesel"
}
]
Retorna as informações da Fipe para o veículo (estimativa de preço)
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
fipeCode required | string Example: 004278-1 Código FIPE |
yearId required | string Example: 2014-3 Ano |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/004278-1/years/2014-3', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
{- "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": [
- {
- "month": "abril de 2024",
- "price": "R$ 10.000,00",
- "reference": "308"
}
], - "referenceMonth": "abril de 2024",
- "vehicleType": 1
}
Retorna o histórico de preços do veículo
vehicleType required | string Enum: "cars" "motorcycles" "trucks" Example: cars Tipo de veículo |
fipeCode required | string Example: 004278-1 Código FIPE |
yearId required | string Example: 2014-3 Ano |
reference | integer Example: reference=278 Mês e ano de referência |
X-Subscription-Token | string Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiZW1haWwiOiJleGFtcGxlLmNvbSIsImlhdCI6MTUxNjIzOTAyMn0.CmNu23cNxIhxZa9TABqIPD2t3Ja6Vmu_B0l2DJfiIaA Token de assinatura (https://fipe.online) |
const request = require('request'); const options = { method: 'GET', url: 'https://fipe.parallelum.com.br/api/v2/cars/004278-1/years/2014-3/history', qs: {reference: 'SOME_INTEGER_VALUE'}, headers: { accept: 'application/json', 'content-type': 'application/json', 'X-Subscription-Token': 'SOME_STRING_VALUE' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
{- "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": [
- {
- "month": "abril de 2024",
- "price": "R$ 10.000,00",
- "reference": "308"
}
], - "referenceMonth": "abril de 2024",
- "vehicleType": 1
}