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).

Create my API key Integrate it in your code
https://rv.arstdata.com/api/v1

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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).

  5. 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
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)

JSON
{
  "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.

FieldWhat it is
p50Market value today (median). The figure to track.
p10 / p90Low and high end of the usual price range. Guidance, not a guarantee.
horizonsThe 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_highValue as a % of the price of an equivalent new car.
confidenceReliability 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_recognizedtrue 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.
currencyCurrency of every amount.
tokens_remainingCredits you have left.
issued_at, signatureUTC date and time of the valuation, and its signature. Keep them if you want the PDF report.
detail_levelHow 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_originOptional; 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.

Once you verify your email5 free credits, no card required.
Valuation1 credit per vehicle valued, 72-month projection included.
RetriesWith the Idempotency-Key header (on /valuation, /batch, /batch/async, /comparable, /buyback and /lease-check), repeating the same request within 24 h returns the same response without charging again (Idempotent-Replayed: true header). The same key with a different body returns 422.
LookupsCatalogue, PVPR (recommended new-car price), market index, PDF report and usage: 0 credits. They only require a key.
Sandboxsk_test_ keys never touch the balance.
ErrorsA 429 (pacing) or a 422 validation error never reaches the engine and costs nothing.

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

requiredcountry — ISO code: ES, DE, FR, IT, NL, AT, BE, PT, GB, NO, SE, FI, PL, LU (UK is accepted as GB)
requiredbrand — Brand, as in /catalog/brands (e.g. "TESLA", "BMW"); upper or lower case does not matter
requiredmodel — Model, as in /catalog/models (e.g. "MODEL Y", with a space, or "320D")
requiredyear — Registration year (2000–2030)
requiredkm — Current odometer mileage (0–500,000)
requiredfuel — diesel | petrol | electric | hybrid | lpg | cng | hydrogen
optionalversion — Trim text, e.g. "Long Range AWD" or "320d xDrive M Sport". Optional; it helps when the model has trims at different prices. You can paste the version_label from /catalog/versions here.
optionalpower_cv — Power in CV (0–2000). Optional; together with version it helps fit the valuation to the specific trim. Send them if you have them.
optionaltransmission — manual | automatic
optionalkm_per_year — Expected kilometres per year, for the projection (default 15,000)
optionalbody_style — Body style (van, suv, hatchback, estate…). Optional: when missing it is derived from the model
optionalcondition — Declared condition, optional object: grade A|B|C, body_damage and mechanical_damage none|minor|major, repaired_accident, owners, inspection_valid, color. Adds condition_adjustment to the response; p10/p50/p90 do not change

Request body

JSON
{
  "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

JSON
{
  "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.

HTTPWhat happened and how to fix it
400Only on /pdf: the JSON lacks its signature field or a figure was changed. Send the valuation exactly as we returned it.
401The 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.
402Balance 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.
403Account suspended over an outstanding payment. Write to info@arstdata.com to reactivate it.
404Not 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.
409The request with that Idempotency-Key is still in progress. Retry in a few seconds.
413Body too large (PDF generation only). Send the valuation JSON as-is, without attaching anything else.
422Invalid 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.
429You 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.
503That 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.
5xx500, 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
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

Batch/batch: 1 credit per vehicle valued successfully, charged at the end; items in error are free. /batch/async: 1 per vehicle when queued, and you get the credit back for every vehicle that fails.
Buyback/buyback: 1 credit, like a valuation, with its signed PDF certificate included. Downloading the PDF again or verifying the certificate is free.
BusinessesCompany pay-as-you-go: €1.52 + VAT per credit (1 valuation = 1 credit), requested from My account → Pay-as-you-go for companies and invoiced at month end, with no minimum and no commitment, billed in euros, on the web or over the API; without it, credit packs cost €2.17 to €3.00 per credit incl. VAT. It includes the portfolio monitor (1 per vehicle). At the monthly cap the API answers 402 and we warn you at 80%; we review each pay-as-you-go request and confirm activation by email. To raise the cap, write to info@arstdata.com.

Pacing limits

EndpointsPer minutePer day
/valuation · /comparable · /buyback · /lease-check60uncapped
/batch · /batch/async12uncapped
/pdf · /certificates/{code}/pdf10300
/pvpr · /catalog/*30 per IP (bursts of 10)10,000
/market-index60010,000
/usage · /batch/async/{job_id}1205,000
Per key, across keyed routes300uncapped
Sandbox key (sk_test_)same50

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.

MethodEndpointCreditsWhat it does
POST/valuation1Value one vehicle: price range today plus a 72-month projection.
POST/batch1 / vehicleValue up to 50 vehicles in a single synchronous call.
POST/batch/async1 / vehicleQueue a batch and get a job identifier back.
POST/comparable1Vehicles comparable to yours in the current market.
POST/buyback1Today's buyback price with a signed, verifiable PDF certificate.
GET/certificates/{code}/pdf0Download again the signed PDF of one of your certificates.
POST/lease-check1Is this lease a good deal? Checks a lease quote your customer brings.
GET/batch/async/{job_id}0Poll the status and result of a queued batch.
POST/pdf0Turn an already-computed valuation into a PDF report.
GET/pvpr0Recommended new-car price (PVPR) for a brand, model and year.
GET/catalog/brands0Brands present in a country’s market, ordered by volume.
GET/catalog/models0Models of a brand in a country, ordered by volume.
GET/catalog/versions0Trims of a model with new price and the years covered.
GET/market-index0Monthly used-car market index, per country.
GET/usage0Your credits left and your usage per endpoint class.
GET/healthNo key0Service and per-country status. No authentication.
GET/countriesNo key0Available markets and their model status. No authentication.
GET/certificates/{code}No key0Verify 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

Base URLrv.arstdata.com/api/v1
AuthBearer sk_live_ / sk_test_
Cost1 credit per vehicle valued
Companies€1.52 + VAT per credit on company pay-as-you-go, from My account; no subscription, no minimum
Timeout60 s (a call can take up to ~20 s)
Batchup to 50 vehicles per call
CountriesES DE FR IT NL AT BE PT GB NO SE FI PL LU
Fuel typesdiesel · petrol · electric · hybrid · lpg · cng · hydrogen
Horizons0 and every 6 months up to 72

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.

  1. 01

    Create your account: 5 free valuations (verify your email).

  2. 02

    In My account → API Keys, create a live key (Sandbox box unticked) and copy it: it is shown only once.

  3. 03

    Send a request with country, brand, model, year, current mileage and fuel. If you know it, add version (e.g. "Long Range AWD").

  4. 04

    You get today's value (p50), its range (p10–p90) and the 72-month projection (horizons).

Cost1 valuation = 1 credit (€2.17 to €3.00 per credit incl. VAT, depending on the pack). Two cars every month is 24 credits a year. Credits do not expire while your account is active. You get 5 free once you verify your email. Businesses: request pay-as-you-go from My account; we confirm activation by email. To raise the cap, write to info@arstdata.com.

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
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/brands and /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 km each month. With the Idempotency-Key header, 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 rest sensor polls on its own, periodically and on every restart, and each call spends a credit. Prefer a rest_command triggered by a monthly automation, with timeout: 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.