Cliquéalo for developers

Catalog

Makes, models, colors, locations, body types, transmissions, and fuels that Cliquéalo recognizes.

With the catalogo:leer permission. Each list comes complete, without pagination, with names in Spanish.

RouteParameterReturns
GET /catalogo/marcas—marcas: [{ id, nombre }]
GET /catalogo/modelosmarca_id (required)modelos: [{ id, nombre }]
GET /catalogo/colores—colores: [{ codigo, nombre }]
GET /catalogo/entidades—entidades: [{ codigo, nombre }] (32 states, two-digit code)
GET /catalogo/ciudadesentidad (required)ciudades: [{ codigo, nombre }] (three-digit code)
GET /catalogo/carrocerias—carrocerias: [{ codigo, nombre }]
GET /catalogo/transmisiones—transmisiones: [{ codigo, nombre }]
GET /catalogo/combustibles—combustibles: [{ codigo, nombre }]
curl "https://www.cliquealo.mx/api/v1/catalogo/ciudades?entidad=14" \
  -H "x-cliquealo-api-key: $CLIQUEALO_API_KEY"
{ "ok": true, "ciudades": [ { "codigo": "039", "nombre": "Guadalajara" }, { "codigo": "120", "nombre": "Zapopan" } ] }

How to use it

  • To filter the inventory: ?entidad=14, or ?ciudad=14:039 combining the state and the municipality. A city code alone isn't enough: 039 exists in several states.
  • To add cars: send the make and model with the catalog nombre, and body type, transmission, fuel, and color with their codigo. A value we don't recognize is added as a new option, so it's best to use the catalog's.
  • Ids and codes don't change; names can be corrected. Store the code, not the name.

Errors

A marca_id that isn't an id, or an entidad that isn't two digits, responds 400 with the reason. A valid marca_id or entidad that doesn't exist responds 200 with an empty list.

Keep it on your side

The catalog rarely changes and every request counts toward your hourly limit. Fetch it once a day and use it from your system.