API Updated 5 December 2026

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 URL {{BASE}}

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
Keep the key on your server (for example in an environment variable). Never put it in browser JavaScript, an app or a public repository: anyone who has it can use your quota. If it leaks, tell us and we replace it at once.

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:

PlanRequests per minuteRequests per day
trial301,000
standard12020,000
partner600200,000

Every response tells you where you stand:

X-RateLimit-Limit / -Remaining / -Resetthis minute: limit, requests left, seconds until it resets
X-Quota-Limit / -Remaining / -Resettoday (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.

  1. Start once: call /api/cars?sort=newest&count=1 and save the latestId from 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.)
  2. Every 5 minutes: call /api/cars?sort=newest&newSince=<latestId>&count=200. Save the cars in results (new) and in updated (later reports). Then save the new latestId. If hasMore is true, call again straight away (details).
  3. 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 in updated and replaces your copy. inspectionPending / historyPending = true means more is still coming for this car.
  4. Before you sell or publish a car, check it with /api/car?id=<Id>. A 404 with SOLD_OR_REMOVED means 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

Good to know

Please avoid

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.

200the car (status available)
404 SOLD_OR_REMOVEDno longer listed on Encar (sold or taken down); soldAt says since when. Remove it on your side
404 NOT_FOUNDwe 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"
}
resultscars 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
updatedcars 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
latestIdsend it back as newSince next time. Store it only after you have saved the cars
hasMoretrue: there is more right now; call again at once with the new latestId. Nothing is ever skipped
Why updates? On Encar many dealers upload the performance inspection hours after the listing: about 4 in 10 new cars have none at first, and about 5 % never get one. The insurance history can take up to a day. Every car therefore carries 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 }
EventWhendata
listing.createda car newly listed on Encar (once per car)id, pending, car
listing.updateda missing report arrived or is confirmed unavailableid, reason, car
listing.price_droppedthe asking price went downid, 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": { … } }, … ] }
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.

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

IdEncar listing number; the key to save a car under
Priceasking price in 만원 (10,000 won); price_krw in won, price_eur in euros
Mileagekilometres
Year, FormYearfirst 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
postedAtwhen the car was listed
status, available, reservedavailable or sold; reserved: a buyer has reserved it on Encar
checkedAt, soldAtwhen we last saw it listed, and when it disappeared
SellType, leasesale or lease/rental takeover; for a lease, lease has the monthly payment and terms, and Price is not a sale price
inspectionPending, historyPendingtrue: the report is not there yet and we are still checking (see updates)
priceDropthe latest price reduction, or null

Vehicle

en, detitle, manufacturer, modelGroup, model, badge, badgeDetail, fuelType, transmission, color, body, seatColor, region, sellType
detailsdisplacement (cm³; null for electric and hydrogen cars), seats, drive, modelYear, firstRegistration, vin, engineCode, newPrice (만원), warranty, seatColor
powerPs, powerKwpower; powerConfidence says how sure the figure is (manual = checked against the manufacturer). null when not certain
colorFamily, bodyStylecolour family (Silver) and Convertible / Wagon / Coupe (German in bodyStyleDe)
options[]equipment: code, name (Korean), nameEn, nameDe
liensseizures and pledges registered on the car

History and condition

historyinsurance record: ownAccidents / ownAccidentCost, otherAccidents / otherAccidentCost, ownerChanges, plateChanges, totalLoss, floodTotalLoss, floodPartialLoss, theft, usedAsRental, usedCommercially, usedByGovernment, accidents[], ownerChangeDates[], uninsuredPeriods[]. Amounts in won
inspectionperformance inspection: accident, simpleRepair, issuedAt, roadworthinessValidUntil, waterDamage, seriousDefects, tuning, usageChanges, odometerOk, vinMarkingOk, emissions, mechanical (all checks with findings)
damagethe summary: inspection_verdict (English) / inspection_verdict_de, frame_damage, replaced_panels, repaired_panels, panel_map[], insurance totals in won and euros
recallstatus open / done / none / unknown, with English and German text
encarEncar's own panel check (diagnosis), certifications, remaining warranty, views

Prices & currency

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_damagedamage to this car, paid by its own insurance
own_damage_other_insurerdamage to this car, paid by the other party's insurance
other_damagedamage 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)

Xreplaced
Wsheet metal / welding repair
WCwelded / cut
Ascratch
Udent
Ccorrosion
Tdamage

Inspection verdict (damage.inspection_category)

clean_no_accidentno replaced or repaired panels
outer_panel_simple_replacementouter panels replaced, frame intact (counts as accident-free)
outer_panel_repairouter panels repaired, frame intact
frame_damageframe or structural parts repaired or replaced
flood_or_total_lossflood damage reported
other_accidentaccident recorded without panel details
no_datano 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

CodeMeaningWhat to do
400a request we don't understand, e.g. /api/cars without sort=newest or priceDropped=1fix the request; the detail says what is wrong
401key missing, invalid, revoked or expiredcheck the X-API-Key header
404SOLD_OR_REMOVED: no longer on Encar; NOT_FOUND: unknown Idremove the car on your side
422a parameter has a wrong value (e.g. limit=1000, an unknown event type)the detail names the parameter
429minute limit or daily quota reachedwait Retry-After seconds
5xxa problem on our side, usually a few seconds during an updateretry 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