REST API
Valuation API
One HTTP call, a JSON answer and an API key, to bring valuations into your own system. Company pay-as-you-go: €1.52 + VAT per valuation, requested from My account and invoiced at month end with no minimum; without it, credit packs cost €2.17 to €3.00 per credit incl. VAT. No subscription. Prices are in euros; from the UK you can pay in pounds sterling, converted by Stripe at checkout. Valuations come in the currency of the car's country (pounds in the UK).
Try it on your bookOnly want to value your own car? Go to the short path
Integrate it in your code
From zero to your first valuation from your own program. The first four steps do not spend a single credit.
- 01
Create your account
Free sign-up: name, email and password, plus the «I'm not a robot» box. You get 5 welcome credits once you verify your email.
- 02
Verify your email
You receive a verification link valid for 24 hours. It is mandatory: you cannot sign in until the address is verified.
- 03
Create a sandbox key (optional)
In My account → API Keys, tick the Sandbox box and create. The key starts with sk_test_ and its plaintext value is shown ONCE: copy it right there.
- 04
Make your first call
Paste the curl in this block with your key. The sandbox key returns sample figures in the same shape as the live response and never touches your balance (cap: 50 calls per day).
- 05
Go live
Create a second key with the Sandbox box unticked: it starts with sk_live_ and every valuation costs 1 credit. Same code — only the key changes.
Your first request
curl -X POST 'https://rv.arstdata.com/api/v1/valuation' \
-H 'Authorization: Bearer sk_test_YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"country": "GB",
"brand": "FORD",
"model": "FOCUS",
"year": 2021,
"km": 45000,
"fuel": "petrol",
"version": "1.0 EcoBoost Titanium 5dr",
"power_cv": 125,
"transmission": "manual"
}'Test key response (abridged)
{
"country": "GB",
"brand": "FORD",
"model": "FOCUS",
"year": 2021,
"km": 45000,
"fuel": "petrol",
"currency": "GBP",
"p10": 13304.0,
"p50": 14588.0,
"p90": 15871.0,
"confidence": "medium",
"sample_size": 0,
"model_level": "SANDBOX",
"detail_level": "sandbox",
"model_recognized": null,
"tokens_remaining": 5,
"sandbox": true,
"issued_at": "2026-11-11T10:15:00Z",
"signature": "v2.9f3c…",
"horizons": {
"0": { "price": 14588.0, "price_low": 13304.0, "price_high": 15871.0,
"pct": 55.2, "pct_low": 50.3, "pct_high": 60.0 },
"6": { "price": 13839.0, "price_low": 12518.0, "price_high": 15161.0,
"pct": 52.3, "pct_low": 47.4, "pct_high": 57.3 },
"12": { "price": 13130.0, "price_low": 11778.0, "price_high": 14482.0,
"pct": 49.7, "pct_low": 44.6, "pct_high": 54.8 },
"72": { "price": 7761.0, "price_low": 6379.0, "price_high": 9142.0,
"pct": 29.4, "pct_low": 24.1, "pct_high": 34.6 }
}
}With sk_test_ the figures are sample data, flagged with "sandbox": true; with sk_live_ the same shape carries the valuation of your car. The full response carries all 13 horizons: 0 (today) and then every 6 months up to 72.
The only difference between sandbox and live is the value of the Authorization header. The URL, the body and the response shape are identical.
What each response field means
Amounts come in the currency of the country you queried. To track your car, p50 is all you need.
| Field | What it is |
|---|---|
p50 | Market value today (median). The figure to track. |
p10 / p90 | Low and high end of the usual price range. Guidance, not a guarantee. |
horizons | The same valuation projected forward: the key is the month ("0" today, "6", "12" … "72"). Each one has price (median), price_low, price_high and the same three as percentages (pct, pct_low, pct_high). |
pct, pct_low, pct_high | Value as a % of the price of an equivalent new car. |
confidence | Reliability of the figure: high or medium. It is the same one you see in the web valuer for that car. Proprietary market data, aggregated and validated. |
model_recognized | true when we found that brand and model in that market. false (rare) = the figure is not specific to your car and confidence comes back medium: check the spelling. null = it could not be checked. |
currency | Currency of every amount. |
tokens_remaining | Credits you have left. |
issued_at, signature | UTC date and time of the valuation, and its signature. Keep them if you want the PDF report. |
detail_level | How much detail backs the figure: high (that brand and model), standard, basic or sandbox. model_level is the old name of the same field and goes away after 31 January 2027. |
rv_conservative, sample_size, pvpr_origin | Optional; you can ignore them. |
The response does not repeat the version you sent: keep your request next to the response.
Authentication
Every endpoint except the service status requires an API key in the Authorization header. There is no query parameter and no key in the URL.
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Live key
sk_live_ prefix — spends credits from your balance.
Sandbox key
sk_test_ prefix — sample data in the real format, never spends credits. Capped at 50 calls per day, reset at 00:00 UTC.
Format
Bearer header. Up to 10 active keys per account; revoking one leaves the others untouched.
Alternative
Web session (arst_token cookie) for browser calls made with your account already signed in.
Create and revoke keys in My account → API Keys. We store only a hash: if you lose the plaintext value you must create a new key.
How billing works
No subscription, no monthly fee, no lock-in. 1 valuation = 1 credit. Businesses can pay as they go, invoiced monthly (see Businesses below); otherwise you buy a pack when you need it. Credits do not expire while your account is active.
Credit packs · one-off purchase
5 credits
€14.99 incl. VAT
€3.00 per credit
15 credits
€39.99 incl. VAT
€2.67 per credit
40 credits
€95.99 incl. VAT
€2.40 per credit
100 credits
€216.99 incl. VAT
€2.17 per credit
Single price, VAT included. Credits are added to whatever balance you already have.
See packs and buy
Credit packs · one-off purchase
/valuation reference
The only route you need to value a car.
The main endpoint. We do the valuing: no price is needed; the value comes from the version, the year, the mileage and the market. Returns today's price range (p10, p50, p90) and the projection across 13 horizons: today and every 6 months up to 72. Amounts come back in the currency of the country you queried, stated in currency. Costs 1 credit; supports Idempotency-Key. rv_conservative carries a lower reference value for today when the country has one available; otherwise it arrives as null and never breaks the response.
Body parameters
Request body
{
"country": "GB",
"brand": "FORD",
"model": "FOCUS",
"year": 2021,
"km": 45000,
"fuel": "petrol",
"transmission": "manual",
"power_cv": 125,
"version": "1.0 EcoBoost Titanium 5dr"
}Response 200
{
"country": "GB",
"brand": "FORD",
"model": "FOCUS",
"year": 2021,
"km": 45000,
"fuel": "petrol",
"currency": "GBP",
"p10": 9258,
"p50": 11392,
"p90": 13524,
"confidence": "high",
"sample_size": 150000,
"detail_level": "standard",
"model_recognized": true,
"rv_conservative": null,
"horizons": {
"0": { "price": 11392, "price_low": 9258, "price_high": 13524,
"pct": 45.9, "pct_low": 37.2, "pct_high": 54.5 },
"6": { "price": 10803, "price_low": 8781, "price_high": 12825,
"pct": 43.4, "pct_low": 35.3, "pct_high": 51.5 },
"12": { "price": 10315, "price_low": 8384, "price_high": 12246,
"pct": 41.6, "pct_low": 33.8, "pct_high": 49.2 },
"72": { "price": 4927, "price_low": 4005, "price_high": 5850,
"pct": 19.8, "pct_low": 16.2, "pct_high": 23.5 }
},
"version": "1.0 EcoBoost Titanium 5dr",
"version_matched": true,
"tokens_remaining": 4,
"issued_at": "2026-11-05T09:30:00Z",
"signature": "v2.4b1e…"
}Common errors
Every error returns JSON with a detail field: a text or, for 422 validation errors, a list pointing at the field. The ones you will meet most while integrating are 401, 402 and 422.
| HTTP | What happened and how to fix it |
|---|---|
400 | Only on /pdf: the JSON lacks its signature field or a figure was changed. Send the valuation exactly as we returned it. |
401 | The Authorization header is missing, or the key is invalid, revoked, or in a shape we do not recognise. Check that you send "Bearer " in front of the key. |
402 | Balance exhausted: the call needs more credits than you have left (the message says “tokens”: those are your credits). Buy a pack (or switch on business pay-as-you-go) and the very same request works, unchanged. On pay-as-you-go, “Monthly pay-as-you-go cap reached”: write to us to raise it. |
403 | Account suspended over an outstanding payment. Write to info@arstdata.com to reactivate it. |
404 | Not found or not yours: a job_id or batch from another account, a certificate from another account or expired, or no new-car price for that make, model and year. |
409 | The request with that Idempotency-Key is still in progress. Retry in a few seconds. |
413 | Body too large (PDF generation only). Send the valuation JSON as-is, without attaching anything else. |
422 | Invalid parameters: a required field is missing or out of range, a country or fuel outside the supported list, a brand or model we do not recognise in that market, or a version we have no reference price for (try sending version or power_cv). The detail points at the field. Not charged. |
429 | You exceeded the pacing or the daily cap for that endpoint class. Wait the number of seconds in the Retry-After header (2 s if it is missing) and retry: no credit was charged. |
503 | That country is not served yet (market being prepared), the service is reloading or, for a non-euro country (GB, NO, SE, PL), no reliable exchange rate is available right now. Nothing is charged. The exchange-rate 503 carries a Retry-After header (60 s): wait that long and retry. In /batch that vehicle comes back as an error and is not charged; the rest of the batch goes on. |
5xx | 500, 502, 504 or a timeout: retry with the same Idempotency-Key. If the valuation did go through, a retry within 24 h returns the same response without charging twice. |
What errors look like
HTTP/1.1 401
{ "detail": "Invalid or revoked API key" }
HTTP/1.1 402
{ "detail": "No tokens available. Get more at arstdata.com." }
HTTP/1.1 422
{ "detail": "Brand or model not recognized in this market. Check the spelling; available models are listed at /api/v1/catalog/models." }
HTTP/1.1 422
{ "detail": [
{ "loc": ["body", "fuel"], "msg": "Field required", "type": "missing" }
] }Businesses and advanced use
Batches, buyback with a certificate, lease checks, PDF reports, pacing limits and the remaining routes. If you only value your own car you need none of this: the short path is at the end of the page.
Billing for batches, buyback and businesses
Pacing limits
| Endpoints | Per minute | Per day |
|---|---|---|
/valuation · /comparable · /buyback · /lease-check | 60 | uncapped |
/batch · /batch/async | 12 | uncapped |
/pdf · /certificates/{code}/pdf | 10 | 300 |
/pvpr · /catalog/* | 30 per IP (bursts of 10) | 10,000 |
/market-index | 600 | 10,000 |
/usage · /batch/async/{job_id} | 120 | 5,000 |
Per key, across keyed routes | 300 | uncapped |
Sandbox key (sk_test_) | same | 50 |
These are operational limits, identical for everyone: they protect the service from runaway loops, they are not a product tier. They apply BEFORE your balance is touched, so a throttled request never costs a credit. API 429s carry a Retry-After header; those from the proxy (catalogue and PVPR, per IP) do not: wait 2 s and retry. Daily caps reset at 00:00 UTC.
All routes
Eighteen routes in production. The rule never changes: valuing costs credits, looking things up does not.
| Method | Endpoint | Credits | What it does |
|---|---|---|---|
| POST | /valuation | 1 | Value one vehicle: price range today plus a 72-month projection. |
| POST | /batch | 1 / vehicle | Value up to 50 vehicles in a single synchronous call. |
| POST | /batch/async | 1 / vehicle | Queue a batch and get a job identifier back. |
| POST | /comparable | 1 | Vehicles comparable to yours in the current market. |
| POST | /buyback | 1 | Today's buyback price with a signed, verifiable PDF certificate. |
| GET | /certificates/{code}/pdf | 0 | Download again the signed PDF of one of your certificates. |
| POST | /lease-check | 1 | Is this lease a good deal? Checks a lease quote your customer brings. |
| GET | /batch/async/{job_id} | 0 | Poll the status and result of a queued batch. |
| POST | /pdf | 0 | Turn an already-computed valuation into a PDF report. |
| GET | /pvpr | 0 | Recommended new-car price (PVPR) for a brand, model and year. |
| GET | /catalog/brands | 0 | Brands present in a country’s market, ordered by volume. |
| GET | /catalog/models | 0 | Models of a brand in a country, ordered by volume. |
| GET | /catalog/versions | 0 | Trims of a model with new price and the years covered. |
| GET | /market-index | 0 | Monthly used-car market index, per country. |
| GET | /usage | 0 | Your credits left and your usage per endpoint class. |
| GET | /healthNo key | 0 | Service and per-country status. No authentication. |
| GET | /countriesNo key | 0 | Available markets and their model status. No authentication. |
| GET | /certificates/{code}No key | 0 | Verify a certificate by its code. Public, no key. |
Details of the other routes
Body, parameters and response for each endpoint. Expand the one you need.
At a glance
Residual value API, in each market's language
- residual value APIEnglish
- Restwert-APIDeutsch
- API valeur résiduelleFrançais
- API valore residuoItaliano
- restwaarde-APINederlands
Used car valuation API for the UK
Create an API key
My account → API Keys
Buy credits
One-off packs, no subscription
If you only want to value your own car
Four steps and a single call. Everything else on this page is optional.
- 01
Create your account: 5 free valuations (verify your email).
- 02
In My account → API Keys, create a live key (Sandbox box unticked) and copy it: it is shown only once.
- 03
Send a request with country, brand, model, year, current mileage and fuel. If you know it, add
version(e.g. "Long Range AWD"). - 04
You get today's value (
p50), its range (p10–p90) and the 72-month projection (horizons).
If you only want to value your car, skip the sandbox: create a live key directly. Your 5 free credits work with it. The sandbox is for testing your code without spending credits; its figures are samples and are not meant for decisions.
Example: an electric car in Germany, once a month
A 2022 Tesla Model Y with a live key. Replace the mileage with your odometer reading.
curl -X POST 'https://rv.arstdata.com/api/v1/valuation' \
-H 'Authorization: Bearer sk_live_YOUR_KEY' \
-H 'Idempotency-Key: model-y-2026-11' \
-H 'Content-Type: application/json' \
--max-time 60 \
-d '{
"country": "DE",
"brand": "TESLA",
"model": "MODEL Y",
"year": 2022,
"km": 41200,
"fuel": "electric",
"version": "Long Range AWD"
}'Before you automate it
- Brand and model as in the catalogue: "TESLA" and "MODEL Y" (with a space), or "MODEL 3"; fuel "electric"; the trim ("Long Range AWD") goes in
version. Upper or lower case does not matter. Each country's names come from/catalog/brandsand/catalog/models, free with your key. - If we do not recognise the brand or model in that market, the answer is a 422 that says so, and nothing is charged.
- Send the current mileage in
kmeach month. With theIdempotency-Keyheader, repeating the same request within 24 hours (after a dropped connection, say) does not charge you twice. - Set a 60-second timeout: a call can take up to about 20 seconds when the country was not loaded yet.
- Home Assistant: a
restsensor polls on its own, periodically and on every restart, and each call spends a credit. Prefer arest_commandtriggered by a monthly automation, withtimeout: 60. This is not an official integration: check it on your own setup.
Would rather not write code? Ask your AI assistant, no key needed: AI assistants. Questions about your account and credits: FAQ.