Car API documentation
Every used car listed on Encar, Korea's largest car marketplace, as clean JSON: about 140,000 cars for sale (each car once: Encar's duplicate copies, leases and rentals left out), each with English and German texts, the performance inspection, the insurance history and prices in euros.
{{BASE}}- Fresh: new cars arrive within about 10 minutes of being listed; the whole catalogue is re-checked every day, and sold cars are marked.
- Translated: brand, model, trim, colours, options, inspection items and damage in English and German, with the Korean original kept.
- Complete history: every insurance claim with date and cost, owner and plate changes, total loss, flood, theft, rental and commercial use.
- Condition: the official performance inspection (replaced and repaired panels, frame damage, every mechanical check, recalls) plus Encar's own panel check.
- Prices in EUR at the European Central Bank's daily rate, next to the Korean price.
- Push or pull: poll every few minutes, or let us send every new car and price reduction to your server (webhooks).
All responses are JSON in UTF-8, over HTTPS only. Times are UTC in ISO 8601 (2026-11-29T15:37:59.000Z). The car Id is Encar's listing number, so https://fem.encar.com/cars/detail/<Id> opens the original listing.
Authentication
Send your API key in the X-API-Key header with every request. Only /api/health works without a key.
X-API-Key: YOUR_KEY
A missing key, or one that is invalid, revoked or expired, gets 401.
Limits
Each key has a limit per minute and per day (UTC). Your plan is agreed with us:
| Plan | Requests per minute | Requests per day |
|---|---|---|
| trial | 30 | 1,000 |
| standard | 120 | 20,000 |
| partner | 600 | 200,000 |
Every response tells you where you stand:
X-RateLimit-Limit / -Remaining / -Reset | this minute: limit, requests left, seconds until it resets |
X-Quota-Limit / -Remaining / -Reset | today (UTC): limit, requests left, seconds until midnight UTC |
Over a limit you get 429 with a Retry-After header (seconds). Wait that long, then continue.
Quick start
The five newest BMW X5 under 40,000 €, as small result cards:
curl -H "X-API-Key: $CARSTREAM_KEY" \
"{{BASE}}/vehicles?manufacturer=BMW&model_group=X5&price_eur_max=40000&sort=newest&limit=5&fields=summary"
// Node 18+ (server side)
const res = await fetch(
"{{BASE}}/vehicles?manufacturer=BMW&model_group=X5&price_eur_max=40000&limit=5&fields=summary",
{ headers: { "X-API-Key": process.env.CARSTREAM_KEY } }
);
const { total, results } = await res.json();
for (const car of results) console.log(car.Id, car.en.title, car.price_eur, "€");
<?php
$ch = curl_init("{{BASE}}/vehicles?manufacturer=BMW&model_group=X5&price_eur_max=40000&limit=5&fields=summary");
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("CARSTREAM_KEY")]]);
$data = json_decode(curl_exec($ch), true);
foreach ($data["results"] as $car) echo $car["Id"], " ", $car["de"]["title"], " ", $car["price_eur"], " €\n";
import os, requests
r = requests.get("{{BASE}}/vehicles",
params={"manufacturer": "BMW", "model_group": "X5", "price_eur_max": 40000,
"limit": 5, "fields": "summary"},
headers={"X-API-Key": os.environ["CARSTREAM_KEY"]}, timeout=30)
for car in r.json()["results"]:
print(car["Id"], car["en"]["title"], car["price_eur"], "€")
Answer (shortened):
{
"total": 612,
"page": 1,
"limit": 5,
"fx": { "krwPerEur": 1462.65, "date": "2026-11-27", "source": "ECB" },
"results": [
{ "Id": "43250028", "Price": 5490, "price_krw": 54900000, "price_eur": 37535,
"Year": 202103, "FormYear": "2021", "Mileage": 48210,
"en": { "title": "BMW X5 (G05) xDrive30d M Sport", "fuelType": "Diesel", ... },
"de": { "title": "BMW X5 (G05) xDrive30d M Sport", "fuelType": "Diesel", ... },
"Photos": [ { "location": "/carpicture05/pic4325/43250028_001.jpg", "type": "OUTER" } ],
"status": "available", ... }
]
}
Connecting your software
Your software needs a single job that runs every 5 minutes. It receives every new car, the inspection or insurance history that arrives for a car later, and never creates duplicates. It costs about 300 requests a day.
- Start once: call
/api/cars?sort=newest&count=1and save thelatestIdfrom the answer. From then on you receive every car listed after this moment. (If you also want the cars that are already online, load them once with/api/vehicles, up to 500 per page.) - Every 5 minutes: call
/api/cars?sort=newest&newSince=<latestId>&count=200. Save the cars inresults(new) and inupdated(later reports). Then save the newlatestId. IfhasMoreistrue, call again straight away (details). - Save each car under its
Id(insert or update). This is what keeps duplicates out: a car is new only once; when its inspection or insurance history arrives later it comes again inupdatedand replaces your copy.inspectionPending/historyPending=truemeans more is still coming for this car. - Before you sell or publish a car, check it with
/api/car?id=<Id>. A404withSOLD_OR_REMOVEDmeans it is no longer on Encar (sold or removed): take it off on your side.
Example: the 5-minute job
Start it every 5 minutes (cron, Windows Task Scheduler, your framework's scheduler). save_car is where your software stores the car.
import os, requests
BASE = "{{BASE}}"
HEADERS = {"X-API-Key": os.environ["CARSTREAM_KEY"]}
STATE = "carstream_latest_id.txt" # where the job remembers how far it got
def save_car(car):
"""Insert or update the car in YOUR database, by car["Id"]."""
...
def run(): # every 5 minutes
if not os.path.exists(STATE): # first run: start from now
r = requests.get(f"{BASE}/cars", params={"sort": "newest", "count": 1},
headers=HEADERS, timeout=30)
r.raise_for_status()
open(STATE, "w").write(str(r.json()["latestId"]))
return
latest = int(open(STATE).read())
while True:
r = requests.get(f"{BASE}/cars",
params={"sort": "newest", "newSince": latest, "count": 200},
headers=HEADERS, timeout=60)
if r.status_code != 200: # 429 / 5xx: just try again on the next run
return
data = r.json()
for car in data["results"] + data["updated"]:
save_car(car) # same Id → overwrite, never a duplicate
latest = data["latestId"]
open(STATE, "w").write(str(latest)) # only after the cars are saved
if not data["hasMore"]:
return
run()
// Node 18+
import fs from "node:fs";
const BASE = "{{BASE}}";
const HEADERS = { "X-API-Key": process.env.CARSTREAM_KEY };
const STATE = "carstream_latest_id.txt"; // where the job remembers how far it got
async function saveCar(car) {
// insert or update the car in YOUR database, by car.Id
}
async function run() { // every 5 minutes
if (!fs.existsSync(STATE)) { // first run: start from now
const r = await fetch(`${BASE}/cars?sort=newest&count=1`, { headers: HEADERS });
fs.writeFileSync(STATE, String((await r.json()).latestId));
return;
}
let latest = Number(fs.readFileSync(STATE, "utf8"));
for (;;) {
const r = await fetch(`${BASE}/cars?sort=newest&newSince=${latest}&count=200`, { headers: HEADERS });
if (r.status !== 200) return; // 429 / 5xx: just try again on the next run
const data = await r.json();
for (const car of [...data.results, ...data.updated]) await saveCar(car); // same Id → overwrite
latest = data.latestId;
fs.writeFileSync(STATE, String(latest)); // only after the cars are saved
if (!data.hasMore) return;
}
}
await run();
<?php
const BASE = "{{BASE}}";
const STATE = __DIR__ . "/carstream_latest_id.txt"; // where the job remembers how far it got
function api(string $query): array {
$ch = curl_init(BASE . "/cars?" . $query);
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("CARSTREAM_KEY")]]);
$body = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
return [$code, json_decode((string)$body, true)];
}
function save_car(array $car): void {
// insert or update the car in YOUR database, by $car["Id"]
}
// every 5 minutes (cron)
if (!file_exists(STATE)) { // first run: start from now
[$code, $data] = api("sort=newest&count=1");
if ($code === 200) file_put_contents(STATE, $data["latestId"]);
exit;
}
$latest = (int)file_get_contents(STATE);
do {
[$code, $data] = api("sort=newest&newSince=$latest&count=200");
if ($code !== 200) exit; // 429 / 5xx: just try again on the next run
foreach (array_merge($data["results"], $data["updated"]) as $car) save_car($car);
$latest = $data["latestId"];
file_put_contents(STATE, $latest); // only after the cars are saved
} while ($data["hasMore"]);
Optional
- Price reductions: the same job with
/api/cars?priceDropped=1&newSince=<latestId>. Keep a second, separatelatestIdfor it (details). - No polling at all: we can send each change to your server by webhook, within about a minute.
- Search pages on a website can call
/api/vehicleslive withfields=summary(about 7× smaller). Caching answers on your server for a few minutes is fine.
Good to know
- How fast: a car is in the API about 7–10 minutes after the dealer lists it on Encar. With a job every 5 minutes it reaches your software within about 15 minutes. Asking more often brings nothing.
- If your job stops (server down, holidays), nothing is lost: the next run with the saved
latestIdreceives everything since then, page by page. Changes are kept for 30 days. - Errors: after a
429waitRetry-After, after a5xxor a timeout simply try again on the next run. Never save thelatestIdof a failed call.
Please avoid
- downloading the whole catalogue again and again: the feed gives you only what changed;
- calling the API from your visitors' browsers (the key would be public);
- retrying at once after a
429or5xx: waitRetry-Afteror a few seconds.
Search GET /api/vehicles
Live cars matching your filters, 24 per page by default. Several values in one filter are separated by commas (fuel=Diesel,Hybrid); values are not case-sensitive.
GET /api/vehicles?manufacturer=Mercedes-Benz&model_group=S-Class&year_min=2019&mileage_max=80000&accident_free=true&sort=price_asc&page=1&limit=24
| Parameter | Description |
|---|---|
q | Free text in English, German or Korean: s-class, c-klasse, 쏘렌토 |
manufacturer | Brand in English: BMW, Mercedes-Benz, Hyundai. Short forms work (Mercedes, Citroen) |
model_group | Model: S-Class, X5, 5 Series. All values: facets |
model | One generation: S-Class W222, X5 (G05) |
badge | Engine / trim variant as listed in facets badges[].name: S500L 4MATIC |
body_type | Encar's category: SUV, Sedan, Sports Car, Van… |
body_style | Convertible, Wagon or Coupe (German Cabrio, Kombi, Coupé also work) |
fuel | Gasoline, Diesel, Electric, Hybrid, LPG… (LPG includes petrol + LPG) |
transmission | Automatic (includes CVT and semi-automatic), Manual |
color | Colour or colour family: White, Black, Gray, Silver, Blue, Red, Green… A family finds all its shades |
seat_color | Interior colour: Black, Beige, Brown… (German names also work) |
region | Where the car is: Seoul, Gyeonggi, Incheon… |
year_min, year_max | Year of first registration: 2019 |
mileage_min, mileage_max | Kilometres |
seats_min, seats_max | Number of seats, e.g. seats_min=7 |
price_eur_min, price_eur_max | Price in euros at today's ECB rate |
price_min, price_max | Price in 만원 (10,000 won), like the Price field: 2500 = ₩25,000,000 |
accident_free | true: no accident by the inspection's definition (no frame damage; replaced outer panels are allowed) |
no_repairs | true: the inspection found no replaced or repaired panels at all |
no_claims | true: an insurance record with zero claims |
max_owners | At most this many owner changes |
has_photo | true: only cars with photos |
has_damage_info | true: only cars with an insurance record |
recall_open | true: a recall that was not carried out; false: none open |
copies | Encar lists about 30 % of cars twice: the dealer's ad and a home-delivery copy of it (same car, same VIN, ServiceCopyCar: "DUPLICATION"). hide (default): the copy is left out while its original is listed, so each car appears once · include: show both. Any car still opens by its id |
sell_type | Encar also lists cars for lease and rent (SellType 리스 / 렌트, about 5 %); their Price is not a sale price. sale (default): only cars for sale · lease: only leases and rentals (terms in the lease block) · all: both. Any car still opens by its id |
sort | newest (default; by the time the car was listed on Encar), oldest, price_asc, price_desc, mileage_asc, mileage_desc, year_asc, year_desc, damage_asc, damage_desc. Cars without a real price sort last |
page | Page, starting at 1 |
limit | Cars per page, default 24, at most 500 |
fields | full (default) or summary: only what a result card needs (first photos, title, price, mileage, power…), about 7× smaller |
Answer: { total, page, limit, fx, results }. total counts all matching cars; results are the cars of this page (see fields).
One car GET /api/car?id=<Id>
One car with all its data. Use it for your car page and to check that a car is still for sale.
200 | the car (status available) |
404 SOLD_OR_REMOVED | no longer listed on Encar (sold or taken down); soldAt says since when. Remove it on your side |
404 NOT_FOUND | we have never had a car with this Id |
{ "code": "SOLD_OR_REMOVED", "message": "No longer listed on Encar (sold or removed)", "soldAt": "2026-11-28T12:31:26.894Z" }
GET /api/vehicles/<Id> returns the same car, but also sold ones (with status: "sold" and soldAt), for example to show a "sold" page.
New cars & updates GET /api/cars?sort=newest
The simplest way to get every new car. The first call gives you a starting point, every following call only what is new since then.
GET /api/cars?sort=newest&count=5 # first call: the newest cars + latestId
GET /api/cars?sort=newest&newSince=<latestId>&count=200 # every 5–10 minutes
{
"total": 37,
"results": [ { "Id": "43250311", ..., "inspectionPending": true, "historyPending": false } ],
"updated": [ { "Id": "43249870", ..., "updateReason": "inspection_added" } ],
"latestId": 18342,
"hasMore": false,
"live": true,
"fetchedAt": "2026-11-29T17:40:02.118Z"
}
results | cars newly listed on Encar since your last call. Each car appears here only once. New cars are sent as soon as their details are in, without waiting for the reports |
updated | cars you already received whose inspection or insurance history arrived later (or Encar confirmed there is none). updateReason says which. Overwrite the car with the same Id |
latestId | send it back as newSince next time. Store it only after you have saved the cars |
hasMore | true: there is more right now; call again at once with the new latestId. Nothing is ever skipped |
inspectionPending and historyPending: true means we are still checking and the car will come again in updated. Each car comes in updated at most once per missing item.updateReason: inspection_added, inspection_unavailable (the dealer did not provide one), history_added, history_unavailable (no public record).
Parameters: count 1–200 (default 24); page from 0, only without newSince. A latestId larger than ours (for example from another provider) starts again at the current end without an error. About 3,500 new cars are listed on a weekday, far fewer at weekends.
Price reductions GET /api/cars?priceDropped=1
GET /api/cars?priceDropped=1&droppedWithin=7&page=0&count=24 # reduced in the last 7 days (1–30)
GET /api/cars?priceDropped=1&newSince=<latestId>&count=200 # only reductions since your last call
Live cars whose latest price change was a reduction, newest first. Each car has priceDrop: previousPrice (만원), previousPriceSeenAt and droppedAt; the new price is Price. Leases and placeholder prices such as 9,999만원 are left out. Keep a separate latestId for this request; with newSince each car appears once, with its newest reduction.
"Price": 1990,
"priceDrop": { "previousPrice": 2180, "previousPriceSeenAt": "2026-11-29T16:27:29.456Z", "droppedAt": "2026-11-29T17:27:29.502Z" }
Change feed GET /api/feed
All changes as one ordered list of events, the same ones the webhooks send. Keep the last event id and pass it as after. Events are kept for 30 days.
GET /api/feed?after=18342&types=listing.created,listing.updated&limit=200
{ "events": [ { "id": 18343, "type": "listing.created", "occurredAt": "2026-11-29T17:41:10Z",
"data": { "id": "43250402", "pending": ["inspection"], "car": { ... } } } ],
"next": 18343, "hasMore": false }
| Event | When | data |
|---|---|---|
listing.created | a car newly listed on Encar (once per car) | id, pending, car |
listing.updated | a missing report arrived or is confirmed unavailable | id, reason, car |
listing.price_dropped | the asking price went down | id, previousPrice, price, unit, previousPriceKrw, priceKrw, previousPriceEur, priceEur, droppedBy, droppedByPercent, previousPriceSeenAt, url |
Parameters: after (default 0 = the oldest kept), types (comma-separated, default all three), limit 1–200 (default 50). Event ids only grow.
Webhooks
Instead of asking, you can have the events sent to you: give us an HTTPS address on your server and the event types you want. We send a POST within about a minute of each change, up to 50 events per request (or one car per request, if you prefer), oldest first.
POST https://your-server.example/carstream-hook
Content-Type: application/json
X-AKK-Signature: t=1764438070,v1=5f2b9c…
X-AKK-Delivery: 1-18343-18361
{ "deliveryId": "1-18343-18361", "sentAt": "2026-11-29T17:41:10Z",
"events": [ { "id": 18343, "type": "listing.created", "occurredAt": "…", "data": { … } }, … ] }
- Answer with any 2xx within 20 seconds. Save the events first and process them afterwards.
- Retries: on an error or no answer we try again after 1, 5, 15 and 30 minutes, 1, 2 and 4 hours, then every 6 hours. Nothing is skipped: after downtime everything arrives, in order.
- Duplicates: after a retry the same events can arrive twice. Ignore event ids you already have, and save cars by
Id. - Check the signature so that nobody else can send you fake cars. With the secret we give you: HMAC-SHA256 of
<t>.<raw body>must equalv1, andtshould be less than 5 minutes old.
import crypto from "node:crypto";
function verify(rawBody, header, secret) { // rawBody: the exact bytes received
const { t, v1 } = Object.fromEntries(header.split(",").map(p => p.split("=")));
const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300;
return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
}
import hashlib, hmac, time
def verify(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
expected = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
fresh = abs(time.time() - int(parts["t"])) < 300
return fresh and hmac.compare_digest(expected, parts["v1"])
<?php
function verify(string $rawBody, string $header, string $secret): bool {
parse_str(str_replace(",", "&", $header), $p);
$expected = hash_hmac("sha256", $p["t"] . "." . $rawBody, $secret);
return abs(time() - (int)$p["t"]) < 300 && hash_equals($expected, $p["v1"]);
}
// $rawBody = file_get_contents("php://input"); $header = $_SERVER["HTTP_X_AKK_SIGNATURE"];
Facets (filter values) GET /api/facets
Every value you can filter by, with the number of live cars, for your dropdowns. It takes the same filters as the search, so the counts follow what the visitor has already chosen.
- always:
total,manufacturers,body_types,body_styles,fuels,transmissions,colors,color_families,seat_colors,regions,damage(cars accident-free, without repairs, without claims, with an open recall…) - with
manufacturer:models, each model with its generations, in English - with
model_groupormodel:badges, the engine and trim variants, each with its main fuel
GET /api/facets?manufacturer=BMW&model_group=X5
Fields of a car
Field names in capitals (Id, Price, Manufacturer…) are Encar's own, with Korean values. The en and de objects hold the same in English and German. A field that is null means unknown, never "zero" or "no".
Listing
Id | Encar listing number; the key to save a car under |
Price | asking price in 만원 (10,000 won); price_krw in won, price_eur in euros |
Mileage | kilometres |
Year, FormYear | first registration as YYYYMM (202103), and the model year ("2021") |
Photos[], photos_full[] | photo paths (location, type) and the same as full URLs on https://ci.encar.com/carpicture |
postedAt | when the car was listed |
status, available, reserved | available or sold; reserved: a buyer has reserved it on Encar |
checkedAt, soldAt | when we last saw it listed, and when it disappeared |
SellType, lease | sale or lease/rental takeover; for a lease, lease has the monthly payment and terms, and Price is not a sale price |
inspectionPending, historyPending | true: the report is not there yet and we are still checking (see updates) |
priceDrop | the latest price reduction, or null |
Vehicle
en, de | title, manufacturer, modelGroup, model, badge, badgeDetail, fuelType, transmission, color, body, seatColor, region, sellType |
details | displacement (cm³; null for electric and hydrogen cars), seats, drive, modelYear, firstRegistration, vin, engineCode, newPrice (만원), warranty, seatColor |
powerPs, powerKw | power; powerConfidence says how sure the figure is (manual = checked against the manufacturer). null when not certain |
colorFamily, bodyStyle | colour family (Silver) and Convertible / Wagon / Coupe (German in bodyStyleDe) |
options[] | equipment: code, name (Korean), nameEn, nameDe |
liens | seizures and pledges registered on the car |
History and condition
history | insurance record: ownAccidents / ownAccidentCost, otherAccidents / otherAccidentCost, ownerChanges, plateChanges, totalLoss, floodTotalLoss, floodPartialLoss, theft, usedAsRental, usedCommercially, usedByGovernment, accidents[], ownerChangeDates[], uninsuredPeriods[]. Amounts in won |
inspection | performance inspection: accident, simpleRepair, issuedAt, roadworthinessValidUntil, waterDamage, seriousDefects, tuning, usageChanges, odometerOk, vinMarkingOk, emissions, mechanical (all checks with findings) |
damage | the summary: inspection_verdict (English) / inspection_verdict_de, frame_damage, replaced_panels, repaired_panels, panel_map[], insurance totals in won and euros |
recall | status open / done / none / unknown, with English and German text |
encar | Encar's own panel check (diagnosis), certifications, remaining warranty, views |
Prices & currency
Priceanddetails.newPriceare in 만원 (10,000 won), as on Encar:2500= ₩25,000,000.price_krwis the same in won,price_eurin euros at the European Central Bank's rate, shown infx(krwPerEur,date). We refresh it every 6 hours.- Insurance and repair amounts (
history,accidents[]) are in won (₩1);damagealso gives them in euros. - The prices are Korean asking prices: export, shipping, customs and taxes are not included.
Damage & inspection
Two independent sources: the performance inspection (성능점검), a legally required check by a licensed inspector, and the insurance record (보험이력) from Korea's insurance development institute. Both are in every full car; there is no extra request.
history.accidents[]
{ "date": "2025-05-18", "type": "own_damage", "cost": 623512, "costSource": "repair_breakdown",
"partCost": 360193, "laborCost": 117240, "paintingCost": 146079, "insuranceBenefit": 209300 }
own_damage | damage to this car, paid by its own insurance |
own_damage_other_insurer | damage to this car, paid by the other party's insurance |
other_damage | damage this car caused to another car (says nothing about this car's condition) |
cost is parts + labour + paint. When the insurer gave no breakdown it is the payout instead, and costSource is insurance_benefit. When a car has no public insurance record (about 3 %), every history field is null.
damage.panel_map[]
{ "panel_code": "P011", "panel_name": "Hood", "panel_name_de": "Motorhaube",
"damage_code": "X", "damage_name": "Replaced", "damage_name_de": "Ausgetauscht", "rank": "1", "frame": false }
rank 1 and 2 are outer panels (bolted or welded), A, B, C are frame parts. frame: true means structural damage.
Codes
Panel damage (damage_code)
X | replaced |
W | sheet metal / welding repair |
WC | welded / cut |
A | scratch |
U | dent |
C | corrosion |
T | damage |
Inspection verdict (damage.inspection_category)
clean_no_accident | no replaced or repaired panels |
outer_panel_simple_replacement | outer panels replaced, frame intact (counts as accident-free) |
outer_panel_repair | outer panels repaired, frame intact |
frame_damage | frame or structural parts repaired or replaced |
flood_or_total_loss | flood damage reported |
other_accident | accident recorded without panel details |
no_data | no inspection available |
Mechanical check (inspection.mechanical.items[].status)
good, adequate, none (not fitted) are fine; minor_oil_leak, oil_leak, minor_coolant_leak, coolant_leak, low, faulty, present are findings and are also listed in findings. Every item has English and German names (item, itemDe, statusEn, statusDe).
Errors
| Code | Meaning | What to do |
|---|---|---|
400 | a request we don't understand, e.g. /api/cars without sort=newest or priceDropped=1 | fix the request; the detail says what is wrong |
401 | key missing, invalid, revoked or expired | check the X-API-Key header |
404 | SOLD_OR_REMOVED: no longer on Encar; NOT_FOUND: unknown Id | remove the car on your side |
422 | a parameter has a wrong value (e.g. limit=1000, an unknown event type) | the detail names the parameter |
429 | minute limit or daily quota reached | wait Retry-After seconds |
5xx | a problem on our side, usually a few seconds during an update | retry after a few seconds |
{ "detail": "Rate limit of 120 requests per minute exceeded" }
GET /api/health (no key) answers {"status": "ok"} when the service is up. An interactive list of all endpoints, where you can try them with your key, is at /reference.
Changes
- Only cars for sale: Encar's lease and rental ads (about 5 %,
SellType리스/렌트) are left out of search, counts,/api/carsand the feed.sell_type=leaseorsell_type=allshows them; every id still opens. - Search: a word may be glued to the one before it, as Encar writes trims (
q=cls 250finds CLS250,q=c 200C200).details.displacementisnullfor electric and hydrogen cars (Encar fills one for most EVs). - Each car once: Encar's home-delivery copies of a listing (about 30 % of all ads, same car and VIN) are left out of search, counts,
/api/carsand the feed while the original is listed.copies=includeshows them again; every id still opens. -
sort=newestnow orders by the time the car was listed on Encar (before: when we first saw it). After a pause, older listings collected late no longer appear at the top. - Step-by-step guide for connecting your software, with a ready 5-minute job in Python, Node.js and PHP.
- Number of seats filter (
seats_min,seats_max). - New cars are sent right away, with
inspectionPending/historyPending; late reports come inupdated. New:/api/cars(newSince,priceDropped),/api/car,/api/feed, webhooks. This documentation in 7 languages. - Interior colour filter (
seat_color) and interior colour on result cards. - Without an inspection,
inspectionfields arenull(unknown) instead of empty. - Horsepower checked against manufacturer data for more models; insurance history
nullwhen Encar has no record.