Documentación API - GetAPI

Explora nuestros endpoints, ejemplos de código y Begin to integrate.

API Vehículos

Consulta información, tasación, VIN, recalls y alertas por robo.

Parámetros

Nombre Tipo Req Descripción
plate string Sí Número de patente del vehículo (ej: BTV037)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/plate/SGXR43' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": {
    "id": "6115694",
    "licensePlate": "SPRT44",
    "dvLicensePlate": "K",
    "modelId": "214",
    "version": "1.5 AUT",
    "mileage": 19049,
    "color": "CAFE",
    "year": 2023,
    "codeSii": null,
    "vinNumber": "LJXCU2BB0PTF03021",
    "engineNumber": "N6G051960",
    "engine": "1500",
    "fuel": "BENCINA",
    "transmission": "AUTOMATICA",
    "doors": 5,
    "urlImage": "",
    "rtDate": "2025-08-05 04:00:00.000 +00:00",
    "rtResult": "A",
    "rtResultGas": "A",
    "model": {
      "id": "214",
      "name": "FORD TERRITORY",
      "typeVehicle": {
        "name": "SUV"
        "category": "LIVIANO"
      },
      "brand": {
        "name": "FORD"
      }
    },
    "horsePower": 160,
    "torque": 250,
    "fuelRange": 13,
    "traction": "FWD",
    "plantaRevisora": { // PRO
      "codPrt": "B-1327",
      "region": "METROPOLITANA",
      "comuna": "LA PINTANA",
      "concesionPlantaRevisora": "CHILENA DE REVISIONES TÉCNICAS SPA",
      "direccion": ""
    },
    "monthRT": "Julio"
  }
}
401 Error
{"success": false, "status": 401, "message": "Error: Not found apiKey"}
404 Error
{"success": false, "status": 404, "message": "Vehiculo no encontrado"}
422 Error
{"success": false, "status": 422, "message": "Formato de patente inválido"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Consulta un vehículo registrado en nuestra base por su VIN o número de chasis y recibe los mismos datos que /plate/{plate}. Requiere acceso Pro (Pro Light o Pro). La búsqueda compara valores normalizados: elimina caracteres especiales y convierte a mayúsculas. Codifica el VIN al incorporarlo a la URL; por ejemplo, % debe enviarse como %25. El endpoint /vin/{vin} se mantiene para decodificación.

Parámetros

Nombre Tipo Req Descripción
vin string (path) Sí VIN o número de chasis, máximo 50 caracteres antes de normalizar, sin largo mínimo. La coincidencia es exacta después de limpiar ambos valores.
make boolean (query) No Enviar make=true para incluir la decodificación cuando el VIN almacenado permita realizarla.

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/by-vin/LJXCU2BB0PTF03021' --header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": {
    "id": "6115694",
    "licensePlate": "SPRT44",
    "dvLicensePlate": "K",
    "vinNumber": "LJXCU2BB0PTF03021",
    "engineNumber": "N6G051960",
    "color": "CAFE",
    "year": 2023,
    "version": "1.5 AUT",
    "engine": "1500",
    "fuel": "BENCINA",
    "transmission": "AUTOMATICA",
    "doors": 5,
    "rtDate": "2025-08-05T04:00:00.000Z",
    "rtResult": "A",
    "rtResultGas": "A",
    "plantaRevisora": null,
    "model": {
      "name": "FORD TERRITORY",
      "typeVehicle": {
        "name": "SUV",
        "category": "LIVIANO"
      },
      "brand": {
        "name": "FORD"
      }
    },
    "horsePower": 160,
    "torque": 250,
    "fuelRange": 13,
    "traction": "FWD",
    "monthRT": "Julio"
  }
}
400 Error
{"success": false, "status": 400, "data": {"code": 400, "message": "El VIN supera 50 caracteres o la URL contiene caracteres sin codificar"}}
401 Error
{"success": false, "status": 401, "data": {"code": 401, "message": "Missing x-api-key getapi.cl"}}
403 Error
{"success": false, "status": 403, "data": {"code": 403, "message": "Necesitas un plan Pro para poder acceder a este endpoint"}}
404 Error
{"success": false, "status": 404, "data": {"code": 404, "message": "Vehículo no encontrado"}}
409 Error
{"success": false, "status": 409, "data": {"code": 409, "message": "El VIN está asociado a múltiples vehículos"}}
429 Error
{"success": false, "status": 429, "data": {"code": 429, "message": "Rate limit exceeded"}}

Parámetros

Nombre Tipo Req Descripción
plate string Sí Número de patente del vehículo (ej: SGXR44)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/appraisal/SGXR42' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": {
    "vehicleId": "125",
    "informacionFiscal": {
      "codigo": "NA",
      "permiso": "727063",
      "tasacion": 25674803,
      "ano_info_fiscal": 2026
    },
    "precioUsado": {
      "precio": 31200000,
      "banda_max": 33500000,
      "banda_min": 28900000
    },
    "precioRetoma": 23770000,
    "vehicle": {
      "id": "125",
      "licensePlate": "SGXR42",
      "dvLicensePlate": "0",
      "modelId": "107",
      "version": "3.5 RTL AWD AT 4P",
      "mileage": 35241,
      "color": "PLATEADO",
      "year": 2023,
      "codeSii": null,
      "vinNumber": "5FPYK3640NB900358",
      "engineNumber": "J35Y68237082",
      "engine": "3.5",
      "fuel": "BENCINA",
      "transmission": "AUTOMATICA",
      "doors": 4,
      "urlImage": null,
      "model": {
        "id": "107",
        "name": "RIDGELINE RTL 4X4 3.5 AUT",
        "typeVehicle": {
          "name": "CAMIONETA"
          "category": "LIVIANO"
        },
        "brand": {
          "name": "HONDA"
        }
      },
      "monthRT": "Mayo"
    }
  }
}
401 Error
{"success": false, "status": 401, "message": "Error: Not found apiKey"}
404 Error
{"success": false, "status": 404, "message": "Tasación no encontrada"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Parámetros

Nombre Tipo Req Descripción
vin string Sí Número VIN de 17 caracteres (ej: KMHCT41DAEU495646)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/vin/KMHCT41DAEU495646' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": {
    "vin": "KMHCT41DAEU495646",
    "year": 2014,
    "vds": "CT41D",
    "cd": "A",
    "vis": "EU495646",
    "wmi": "KMH",
    "serialNumber": "495646",
    "manufacturer": {
      "name": "Hyundai car",
      "region": "Asia",
      "country": "South Korea"
    }
  }
}
401 Error
{"success": false, "status": 401, "message": "Error: Not found apiKey"}
422 Error
{"success": false, "status": 422, "message": "El VIN debe ser una cadena de 17 caracteres"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Parámetros

Nombre Tipo Req Descripción
vin string Sí Número VIN de 17 caracteres (ej: LVTDD24BXD056994)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/recall/LVTDD24BXD056994' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": [
    {
      "campaignCode": "25117V01",
      "brand": "Ford",
      "model": "Mustang",
      "salesPeriod": "Junio 2021 a mayo 2025",
      "pdfUrl": "https://www.seguridaddeproductos.cl/...pdf",
      "urlDetalle": "https://www.seguridaddeproductos.cl/alerta/?ref=1500"
    }
  ]
}
401 Error
{"success": false, "status": 401, "message": "Error: Not found apiKey"}
404 Error
{"success": true, "status": 404, "data": null}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Parámetros

Nombre Tipo Req Descripción
patente string Sí Patente del vehículo sin puntos (ej: GKDH67)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/stolen/GKDH67' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": [
    {
      "marca": "MITSUBISHI",
      "modelo": "L200 DCAB",
      "color": "PLATEADO",
      "patente": "GKDH67",
      "roboLugar": "LASERENA",
      "fechaRobo": "NOVIEMBRE 2025"
    }
  ]
}
401 Error
{"success": false, "status": 401, "message": "Unauthorized"}
404 Error
{"success": true, "status": 404, "code": 404, "message": "Patente no encontrada"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Parámetros

Nombre Tipo Req Descripción
limit integer No Cantidad máxima de registros a retornar (default: 10, max: 100)

Request

curl --location 'https://chile.getapi.cl/v1/vehicles/stolen/latest' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "status": 200,
  "data": [
    {
      "patente": "BCDF12",
      "marca": "TOYOTA",
      "modelo": "COROLLA",
      "color": "ROJO",
      "roboLugar": "Santiago",
      "fechaRobo": "2025-05-20"
    },
    {
      "patente": "XYZS34",
      "marca": "HYUNDAI",
      "modelo": "TUCSON",
      "color": "BLANCO",
      "roboLugar": "Viña del Mar",
      "fechaRobo": "2025-05-19"
    }
  ]
}
401 Error
{"success": false, "status": 401, "message": "Unauthorized"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

API Peajes Chile

Calcula costos de peajes, consulta autopistas, categorías y ubicaciones.

Parámetros

Nombre Tipo Req Descripción
origin string Sí Ciudad de origen (ej: Vallenar)
destination string Sí Ciudad de destino (ej: La Serena)
category string No Categoría del vehículo: LIVIANO, PESADO (default: LIVIANO)
departureTime string No Fecha y hora de salida UTC (ej: 2026-02-01T08:30:00Z)

Request

curl --location 'https://chile.getapi.cl/v1/tollroutes/api/route-cost?origin=Vallenar&destination=La Serena&category=LIVIANO' \
--header 'X-Api-Key: TU_API_KEY'

Response

200 Success
{
  "success": true,
  "data": {
    "plate": null,
    "total": 6300,
    "currency": "CLP",
    "tollsCount": 2,
    "breakdown": {
      "tramoSur": 0,
      "tramoUrbano": 0,
      "tramoNorte": 6300
    },
    "details": [
      {
        "peaje": "Cachiyuyo Troncal",
        "type": "TRONCAL",
        "autopista": "Ruta 5 Norte",
        "direction": "AMBOS",
        "costo": 3150,
        "tarifa": "BASE",
        "hora_utc": "2026-04-15T16:20:08Z",
        "hora_chile": "2026-04-15 12:20:08",
        "tipo_dia": "LABORAL"
      },
      {
        "peaje": "Punta Colorada",
        "type": "TRONCAL",
        "autopista": "Ruta 5 Norte",
        "direction": "AMBOS",
        "costo": 3150,
        "tarifa": "BASE",
        "hora_utc": "2026-04-15T16:20:08Z",
        "hora_chile": "2026-04-15 12:20:08",
        "tipo_dia": "LABORAL"
      }
    ]
  }
}
401 Error
{"success": false, "status": 401, "message": "Unauthorized"}
404 Error
{"success": false, "status": 404, "message": "Ruta no encontrada"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Parámetros

Nombre Tipo Req Descripción
categoryCode string Sí Código de categoría: LIVIANO, PESADO
plate string No Patente del vehículo
useSampling boolean No Usar sampling para calcular peajes (default: true)
path array Sí Array de coordenadas GPS con timestamp (formato UTC)

Request

curl --location 'https://chile.getapi.cl/v1/tollroutes/api/calculate-by-path' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: TU_API_KEY' \
--data-raw '{
  "categoryCode": "LIVIANO",
  "plate": "BTV037",
  "useSampling": true,
  "path": [
    {"lat": -33.585419, "lng": -70.836247, "timestamp": "2026-02-08T02:07:34"},
    {"lat": -33.591372, "lng": -70.841099, "timestamp": "2026-02-08T03:05:18"}
  ]
}'

Response

200 Success
{
  "success": true,
  "data": {
    "plate": "PATENTE_06",
    "total": 8998,
    "currency": "CLP",
    "tollsCount": 4,
    "breakdown": {
      "tramoSur": 0,
      "tramoUrbano": 1198,
      "tramoNorte": 7800
    },
    "details": [
      {
        "peaje": "Troncal Variante Melipilla",
        "type": "TRONCAL",
        "autopista": "G-60",
        "km": "3.2",
        "direction": "AMBOS",
        "costo": 3900,
        "tarifa": "BASE",
        "hora_utc": "2026-02-06T06:53:04Z",
        "hora_chile": "2026-02-06 03:53:04",
        "tipo_dia": "LABORAL"
      }
    ]
  }
}
400 Error
{"success": false, "status": 400, "message": "Invalid path format"}
401 Error
{"success": false, "status": 401, "message": "Unauthorized"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}

Calcula el costo de peajes entre dos coordenadas GPS. Obtiene la trayectoria real mediante un servicio externo de direcciones para un cálculo más preciso. Si el servicio externo falla, utiliza línea recta como fallback.

Parámetros

Nombre Tipo Req Descripción
origin object Sí Coordenadas de origen: { lat, lng }
destination object Sí Coordenadas de destino: { lat, lng }
categoryCode string No Categoría del vehículo: LIVIANO, PESADO (default: LIVIANO)
departureTime string No Fecha y hora de salida UTC (ej: 2026-02-01T08:30:00Z)

Request

curl --location 'https://chile.getapi.cl/v1/tollroutes/api/route-cost-by-coords' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: TU_API_KEY' \
--data-raw '{
  "origin": { "lat": -33.4489, "lng": -70.6693 },
  "destination": { "lat": -33.0472, "lng": -71.6127 },
  "categoryCode": "LIVIANO",
  "departureTime": "2026-05-21T14:00:00Z"
}'

Response

200 Success
{
  "success": true,
  "data": {
    "plate": null,
    "total": 9450,
    "currency": "CLP",
    "tollsCount": 3,
    "breakdown": {
      "tramoSur": 0,
      "tramoUrbano": 3150,
      "tramoNorte": 6300
    },
    "details": [
      {
        "peaje": "Autopista del Sol",
        "type": "TRONCAL",
        "autopista": "Ruta 68",
        "direction": "AMBOS",
        "costo": 3150,
        "tarifa": "BASE",
        "hora_utc": "2026-05-21T14:00:00Z",
        "hora_chile": "2026-05-21 10:00:00",
        "tipo_dia": "LABORAL"
      }
    ]
  }
}
400 Error
{"success": false, "status": 400, "message": "origin y destination deben incluir lat y lng"}
401 Error
{"success": false, "status": 401, "message": "Unauthorized"}
404 Error
{"success": false, "status": 404, "message": "Ruta no encontrada"}
429 Error
{"success": false, "status": 429, "message": "Rate limit exceeded"}
GET /v1/tollroutes/api/highways

Lista todas las autopistas disponibles en Chile.

Request

{"success": true, "data": [{"id": "1", "name": "Ruta 5"}, {"id": "2", "name": "Autopista Central"}]}
GET /v1/tollroutes/api/categories

Lista las categorías de vehículos.

Request

{"success": true, "data": [{"code": "LIVIANO", "name": "Vehículo Liviano"}, {"code": "PESADO", "name": "Vehículo Pesado"}]}
GET /v1/tollroutes/api/locations

Lista las ciudades disponibles como origen/destino.

Request

{"success": true, "data": [{"city": "Santiago", "region": "Metropolitana"}, {"city": "Valparaíso"}]}

Endpoints y Campos PRO

Los endpoints marcados con PRO requieren un plan Pro Light o superior. El campo plantaRevisora en /plate/{plate} también es exclusivo del plan PRO.

Ver planes y precios →