WordPress: US auction history for a VIN
Show buyers what happened to an imported car in the USA: auction sales, price, damage, title and photos — next to the Danish vehicle data. Works with the Lynbro plugin (Soge lookup → section "US auction history").
Connect in 4 steps
1. Create an account
Open the key page and sign in with your email — we send a one-time code. A new email creates a free account.
2. Create a key for your site
The plugin's "Get a key" button opens the page with your site filled in. Check the website address, keep the access boxes ticked and press "Create key". Copy the key — it is shown only once.
3. Paste it in WordPress
WordPress → Settings → Lynbro Soge lookup → US auction history: paste the key in "carsexport.us API key" and save.
4. Test
Press "Test". You see your plan, this month's usage and the site the key is bound to. A red message tells you exactly what to fix (see the errors below).
What is sent
Your site sends only the VIN the visitor asked about, your key and your site address (header X-Lynbro-Site). No visitor data, no WordPress logins. carsexport.us never gets access to your site: the only way back is the optional webhook, which posts to an address you choose and is signed.
What you get back
For each recorded US auction sale: auction, date, sale price, damage, title, odometer, location and photos. An empty list means no recorded sale.
One key per site
A key is bound to the website address it was created for (plus an optional staging site) — never to a server IP, so moving hosting changes nothing. Another site with the same key gets the error origin_mismatch.
Plans and limits
Every call that returns history or a report counts. The Test button (/me) never counts. The quota resets on the 1st of each month (UTC).
Errors
Every error has the same shape: {"error":{"code","message","details"}}; the message is in Danish, English or Ukrainian by the Accept-Language header.
invalid_key | 401 | The key is missing, mistyped or revoked — copy it again or create a new one. |
origin_mismatch | 403 | The key belongs to another site. Create a key for this site. |
scope_missing | 403 | The key has no access to this function (details.scope). |
quota_exceeded | 402 | The month's calls are used up (details.resets_at, details.upgrade_url). |
rate_limited | 429 | Too many calls per minute — wait Retry-After seconds. |
invalid_vin | 422 | The VIN is not 17 valid characters. |
Webhook (optional)
Add a webhook URL to the key and we POST the VINs your site looked up whose auction history changed — so the plugin can refresh its cache. Every call is signed with Lynbro Signature v1; reject anything older than 5 minutes or with a wrong signature. Failed deliveries are retried with growing pauses.
POST <your webhook URL>
Content-Type: application/json
X-Lynbro-Timestamp: 1763900000
X-Lynbro-Event-Id: 6f1c…-uuid
X-Lynbro-Signature: v1=<hex HMAC-SHA256(secret, ts + "." + "POST" + " " + path + "." + raw_body)>
{"event":"vin.changed","event_id":"6f1c…","created_at":"2026-11-23T10:00:00Z","vin":["1HGCV2F34LA013927"]}
path = the path of your webhook URL, plus ?query when it has one.
$ts = $request->get_header('x_lynbro_timestamp');
$sig = $request->get_header('x_lynbro_signature');
$path = wp_parse_url(rest_url('your-plugin/v1/carsexport'), PHP_URL_PATH); // the path you registered
$raw = $request->get_body();
$want = 'v1=' . hash_hmac('sha256', $ts . '.POST ' . $path . '.' . $raw, $secret);
if (abs(time() - (int) $ts) > 300 || ! hash_equals($want, (string) $sig)) {
return new WP_Error('bad_signature', 'Bad signature', array('status' => 401));
}
// json_decode($raw)->vin is the list of changed VINs; dedupe by X-Lynbro-Event-Id.
Revoke or replace a key
On the key page: "Revoke" stops the key at once; "New value" replaces it (paste the new value in WordPress). Removing the plugin does not revoke the key.
For developers
OpenAPI: /api/v1/openapi.json. Auth header X-API-TOKEN (or Authorization: Bearer). Calls are server-to-server only — keyed calls have no CORS.
curl -H "X-API-TOKEN: cx_live_…" -H "X-Lynbro-Site: https://myshop.dk" \
-H "Accept-Language: da" https://carsexport.us/api/v1/me
curl -H "X-API-TOKEN: cx_live_…" -H "X-Lynbro-Site: https://myshop.dk" \
https://carsexport.us/api/v1/vin/1HGCV2F34LA013927/history
Where the data comes from
Records of public US salvage and insurance auctions (Copart, IAAI) collected by carsexport.us. carsexport.us is not affiliated with the auction houses.