Skip to content

Catalogs

In the examples, {{auto_equity_base_url}} is the Auto Equity base URL for the selected environment.

HTTP method URLExample

GET

{{auto_equity_base_url}}/api/catalogs/zip-code/{{zip-code}}

{{zip-code}} is a five-digit string. For example: “09440”.

The service returns 200 OK with the following response body.

Field TypeDescription

zipCode

String

The postal code sent in the request.

neighborhoods

String[]

A list of neighborhoods associated with the postal code. Ex: [“El Retoño”,“San Andrés Tetepilco”,“Zacahuitzco”]

municipality

String

The municipality associated with the postal code.

city

String

The city associated with the postal code.

state

Object

The Mexican state associated with the postal code.

Terminal window
curl --location --request GET '{{auto_equity_base_url}}/api/catalogs/zip-code/{{zip-code}}' \
--header 'Authorization: Bearer {{access_token}}'
{
"zipCode": "09440",
"neighborhoods": [
"El Retoño",
"San Andrés Tetepilco",
"Zacahuitzco"
],
"municipality": "Iztapalapa",
"city": "Ciudad de México",
"state": {
"id": "CDMX",
"name": "Ciudad de México"
}
}

Review the possible error responses.

Use these three endpoints in order to select a vehicle:

HTTP method URLExample

GET

{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands

{{year}}: The vehicle model year.

The service returns 200 OK with the following response body.

Field TypeDescription

[]

Array of objects

A list of brands available for the specified year.

Object.id

String

The brand identifier.

Object.name

String

The brand’s commercial name.

Terminal window
curl --location --request GET '{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands' \
--header 'Authorization: Bearer {{access_token}}'
[
{
"id": "910",
"name": "Acura"
},
{
"id": "920",
"name": "Alfa Romeo"
},
{
"id": "950",
"name": "Audi"
},
{
"id": "930",
"name": "Baic"
}
]
HTTP method URLExample

GET

{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands/{{brandId}}/models

{{year}}: The vehicle model year.
{{brandId}}: The brand identifier returned by the brands endpoint

The service returns 200 OK with the following response body.

Field TypeDescription

[]

Array of objects

A list of models available for the specified year and brand.

Object.id

String

The model identifier.

Object.name

String

The model’s commercial name.

Terminal window
curl --location --request GET '{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands/{{brandId}}/models' \
--header 'Authorization: Bearer {{access_token}}'
[
{
"id": "528",
"name": "ILX"
},
{
"id": "801",
"name": "MDX"
},
{
"id": "802",
"name": "RDX"
}
]
HTTP method URLExample

GET

{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands/{{brandId}}/models/{{modelId}}/versions

{{year}}: The vehicle model year.
{{brandId}}: The brand identifier returned by the brands endpoint
{{modelId}}: The model identifier returned by the models endpoint

The service returns 200 OK with the following response body.

Field TypeDescription

[]

Array of objects

A list of versions available for the specified year, brand, and model.

Object.id

String

The version identifier.

Object.name

String

The version’s commercial name.

Terminal window
curl --location --request GET '{{auto_equity_base_url}}/api/catalogs/years/{{year}}/brands/{{brandId}}/models/{{modelId}}/versions' \
--header 'Authorization: Bearer {{access_token}}'
[
{
"id": "2020910802280",
"name": "5p Tech L4/2.0/T Aut"
},
{
"id": "2020910802290",
"name": "5p A Spech L4/2.0/T Aut"
}
]