{"openapi":"3.1.0","info":{"title":"Karoto Data API","version":"1.0.0","summary":"Used-car prices, valuations and listings for France and Germany.","description":"Read-only JSON API by Karoto (karoto.fr): valuation of any used car in France and Germany, residual values at future horizons (fleets, leasing), analysis of any listing, prices by version, ~3 million de-duplicated listings (search, bulk export, change log with the car concerned, full life of any listing even after removal), market liquidity (removals, probable sales, time to a probable sale, price drops — by model, age band and French département, with daily history), daily price index, depreciation, France/Germany gaps and import costs, prices by French département, and the measured accuracy of the Karoto estimate. All prices are asking prices, not trade-in or transaction prices.\n\nLanguage: every endpoint accepts `lang=fr|en|de` for readable labels and karoto.fr links in that language (French without it, as before); codes, slugs, field names and error messages do not change. Enumerated parameters take French codes (fuel=essence, gearbox=automatique…), whatever the language; every label returned comes with its code in an *_id field. Make and model names are accepted in French, German or English (vw, 3er, C-Klasse, Classe C, 3 Series).\n\nAuthentication: `Authorization: Bearer krt_live_…` (or `X-Api-Key`), with a key created at https://karoto.fr/compte/api.\n\nRequests: GET, and POST for the two batch endpoints. HEAD answers like GET (same status and headers, no body; key required, counted in the per-minute limit but never against the quota); OPTIONS answers 204, without a key, with an Allow header listing the methods served on that path; other methods answer 405 with Allow. Paths take no trailing slash (/valuation/ is redirected with a 308 to /valuation: call /valuation). country is case-insensitive (fr = FR), like lang. Control characters (U+0000 to U+001F, U+007F) are refused in parameter names and values (400 invalid_request, not counted). A make or model with no letter or digit (“---”, “🚗”) is refused as a filter on search and market endpoints (400 invalid_request, not counted) and is an unknown name where a make and model are looked up (404 not_found, counted, like any unknown make). Keep URLs under about 8 kB: longer ones are refused by the edge network before they reach the API, with a 431 and no JSON body (each parameter is capped at 120 characters or less anyway). POST bodies: 100,000 bytes at most (413 payload_too_large, not counted; a character such as é counts as 2 bytes).\n\nFree trial: 100 free requests per account, once (never reset), no credit card, verified e-mail address, 1 key, 10 requests per minute; /listings/feed, /listings/events, /valuation/batch, /residual-value/batch are not included (paid plans only, 402 plan_required). Once the 100 requests are used up, counted calls answer 402 trial_exhausted until a plan is chosen.\n\nThen: pay-as-you-go (€30 excl. VAT per 1,000 requests, no fixed fee, up to 3000 requests a month), Solo (€29 excl. VAT a month), Business (€79 excl. VAT a month, change log included) and Pro (€249 excl. VAT a month, listing export included) subscriptions — see https://karoto.fr/en/data. Counted responses carry X-Quota-Limit and X-Quota-Remaining, plus X-Quota-Reset with a paid plan (not during the free trial, which never resets). Per-minute limit: every authenticated call counts in a one-minute window per account (all keys together), free endpoints (/usage, /quality/accuracy), 400 and 404 errors and refused calls included. Responses after the key check (except 402 plan_required) carry X-RateLimit-Limit and X-RateLimit-Remaining; beyond the limit, 429 rate_limited with Retry-After. Counted: 200 responses, 404 not_found on a make, model, listing or data that cannot be found, and 400 errors on values only refused after reading the data (cursor, date, some unknown names). Never counted: parameters refused by validation (400 invalid_request), key_in_url, invalid_json, 401, 402, unknown endpoints (404), 405, 413, 429, 500 and 503. Display of the data requires the mention “Source: Karoto (karoto.fr)”.","contact":{"name":"Karoto","url":"https://karoto.fr/en/data","email":"contact@karoto.fr"},"termsOfService":"https://karoto.fr/cgu","x-logo":{"url":"https://karoto.fr/icon.png"}},"externalDocs":{"description":"Documentation","url":"https://karoto.fr/en/data/documentation"},"servers":[{"url":"https://karoto.fr/api/v1"}],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"tags":[{"name":"Valuation","description":"Value cars and analyse listings."},{"name":"Residual values","description":"Value of a car projected at future horizons, in France and Germany, at constant market."},{"name":"Listings","description":"Used cars for sale in France and Germany."},{"name":"Market","description":"Market statistics by model, version, country and département."},{"name":"Quality","description":"Measured accuracy of Karoto's estimates."},{"name":"Catalog","description":"Makes and models."},{"name":"Account","description":"Usage of your plan or of the free trial."}],"paths":{"/valuation":{"get":{"operationId":"getValuation","tags":["Valuation"],"summary":"Value a used car in France and Germany","description":"Market value of a car described by make, model, year, mileage and optionally fuel, gearbox, power and seller type, in France and Germany: valuation and range in each country, comparable listings and their price quartiles, precision (elevee / bonne / indicative), France / Germany gap, deal thresholds and the full cost of importing the car from Germany. All values are asking prices (prices shown in listings), not trade-in or transaction prices: for a purchase or trade-in price, subtract your own margin and reconditioning costs. Method: a price model per car model (age, mileage, power, fuel, gearbox, country and seller type), fitted on its listings online in France and Germany and recomputed every night; a fuel, gearbox or power left out follows the mix of the comparable listings. `germany_vs_france` is the model's average Germany / France gap for the same characteristics, over all its listings (−0.05 = 5% cheaper in Germany): it can differ from, or even have the opposite sign of, the gap between the two valuations of a given car. `estimates_germany_vs_france` is the gap between the two valuations returned: germany.estimate_eur / france.estimate_eur − 1 (null when one is missing). Deal thresholds exist for France only (`deal_thresholds_france`: 86%, 95% and 106% of the valuation): apply the same percentages to the German valuation. `import_from_germany` (both valuations present) gives the delivered price in France of the same car bought at its German valuation, and the saving, negative when importing does not pay off. `reliable: false` when listings are too few or too scattered.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"hsn","in":"query","required":false,"description":"German KBA manufacturer code (4 digits, Fahrzeugschein field 2.1, e.g. “0603”, “0005”); pair with tsn instead of make and model.","schema":{"type":"string","maxLength":12}},{"name":"tsn","in":"query","required":false,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein field 2.2, e.g. “BQS”, “AMQ”); pair with hsn instead of make and model.","schema":{"type":"string","maxLength":16}},{"name":"cnit","in":"query","required":false,"description":"French CNIT homologation code (carte grise field D.2.1, 10 to 17 characters, e.g. “M10ALFVP000U221”), instead of make and model.","schema":{"type":"string","maxLength":24}},{"name":"year","in":"query","required":true,"description":"Year of first registration.","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"mileage_km","in":"query","required":true,"description":"Mileage in km.","schema":{"type":"integer","minimum":0,"maximum":2000000}},{"name":"month","in":"query","required":false,"description":"Month of first registration.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"gearbox","in":"query","required":false,"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes.","schema":{"type":"string","enum":["manuelle","automatique"]}},{"name":"power_hp","in":"query","required":false,"description":"Power in hp (refines the estimate and the French registration tax).","schema":{"type":"integer","minimum":20,"maximum":2000}},{"name":"seller_type","in":"query","required":false,"description":"pro (dealer) or particulier (private seller): valuation of the asking price of that seller type. Default: seller unknown (market mix). Comparable listings are not filtered by seller.","schema":{"type":"string","enum":["pro","particulier"]}},{"name":"reconditioning_eur","in":"query","required":false,"description":"Optional reconditioning allowance (€) subtracted in dealer_buyback (0 to 20,000); estimated from age and mileage (400–1,600 €) when omitted.","schema":{"type":"integer","minimum":0,"maximum":20000}},{"name":"dealer_margin_pct","in":"query","required":false,"description":"Optional gross dealer margin (%) subtracted in dealer_buyback (0 to 40); calibrated by segment and precision (13–18%) when omitted.","schema":{"type":"number","minimum":0,"maximum":40}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/valuation?make=peugeot&model=3008&year=2019&mileage_km=85000&fuel=diesel\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"description":"Told apart by `reliable`. All values are asking prices (prices shown in listings), not trade-in or transaction prices: for a purchase or trade-in price, subtract your own margin and reconditioning costs.","oneOf":[{"type":"object","description":"Valuation of the car.","required":["reliable","make_slug","model_slug","car","precision","listings_analysed","france","germany","germany_vs_france","estimates_germany_vs_france","deal_thresholds_france","model_page","matching_listings_url"],"properties":{"reliable":{"type":"boolean","description":"true: the model's price model is reliable enough for a valuation.","const":true},"make_slug":{"type":"string","description":"Make slug."},"model_slug":{"type":"string","description":"Model slug."},"car":{"type":"string","description":"The car described, in words (in the language of lang, e.g. “Mercedes-Benz C-Klasse 2018, 100.000 km”)."},"seller_type":{"type":"string","description":"Seller type of the valuation, echoed when given.","enum":["pro","particulier"]},"precision":{"type":"string","description":"Spread of the model's asking prices around its valuation: elevee (high, typical spread up to about 20%), bonne (good, up to 30%) or indicative (up to 50%: wide range and no deal thresholds).","enum":["elevee","bonne","indicative"]},"listings_analysed":{"type":"integer","description":"Listings of the model, France and Germany, its price model is fitted on."},"france":{"type":"object","description":"Valuation and comparable listings in France.","required":["estimate_eur","range_eur","comparable_listings","comparable_price_quartiles_eur","same_power_comparables","dealer_buyback"],"properties":{"estimate_eur":{"type":["integer","null"],"description":"Valuation in France: expected asking price for that car, rounded to €50; null when France does not have enough listings of the model."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car (about one comparable car in two); null with estimate_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"comparable_listings":{"type":"integer","description":"Listings online in France close to the car: year ±1, mileage ±35% or ±25,000 km, same fuel and gearbox when given (all powers; see same_power_comparables)."},"comparable_price_quartiles_eur":{"type":["array","null"],"description":"[first quartile, third quartile] of the asking prices of those comparable listings; null without comparables.","items":{"type":"integer"},"minItems":2,"maxItems":2},"same_power_comparables":{"type":["object","null"],"description":"Comparable listings restricted to the requested power (±15%), when power_hp is given and at least 20 match; null otherwise.","required":["listings","price_quartiles_eur"],"properties":{"listings":{"type":"integer","description":"Comparable listings within ±15% of the requested power."},"price_quartiles_eur":{"type":"array","description":"[first quartile, third quartile] of their asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2}}},"dealer_buyback":{"type":["object","null"],"description":"Indicative dealer trade-in offer in France (HEK): not an observed trade-in price, but estimate_eur minus an assumed margin and reconditioning allowance (replace them with dealer_margin_pct and reconditioning_eur); null when estimate_eur is null.","required":["buyback_eur","range_eur","retail_reference_eur","margin_eur","margin_pct","reconditioning_eur"],"properties":{"buyback_eur":{"type":"integer","description":"Indicative dealer trade-in / purchase offer (Händlereinkaufspreis HEK in Germany, reprise marchand in France), rounded to €50: estimate_eur minus margin_eur and reconditioning_eur."},"range_eur":{"type":["array","null"],"description":"[low, high] trade-in range derived from range_eur after subtracting margin and reconditioning.","items":{"type":"integer"},"minItems":2,"maxItems":2},"retail_reference_eur":{"type":"integer","description":"Retail asking valuation (estimate_eur) used as the baseline."},"margin_eur":{"type":"integer","description":"Gross dealer margin (warranty, holding cost, commercial overhead) in euros, rounded to €50."},"margin_pct":{"type":"number","description":"Gross dealer margin in % of retail_reference_eur (dealer_margin_pct if given, else 13–18%)."},"reconditioning_eur":{"type":"integer","description":"Reconditioning allowance in euros (reconditioning_eur parameter if given, else €400–€1,600 by age and mileage)."}}}}},"germany":{"type":"object","description":"Valuation and comparable listings in Germany.","required":["estimate_eur","range_eur","comparable_listings","comparable_price_quartiles_eur","same_power_comparables","dealer_buyback"],"properties":{"estimate_eur":{"type":["integer","null"],"description":"Valuation in Germany: expected asking price for that car, rounded to €50; null when Germany does not have enough listings of the model."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car (about one comparable car in two); null with estimate_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"comparable_listings":{"type":"integer","description":"Listings online in Germany close to the car: year ±1, mileage ±35% or ±25,000 km, same fuel and gearbox when given (all powers; see same_power_comparables)."},"comparable_price_quartiles_eur":{"type":["array","null"],"description":"[first quartile, third quartile] of the asking prices of those comparable listings; null without comparables.","items":{"type":"integer"},"minItems":2,"maxItems":2},"same_power_comparables":{"type":["object","null"],"description":"Comparable listings restricted to the requested power (±15%), when power_hp is given and at least 20 match; null otherwise.","required":["listings","price_quartiles_eur"],"properties":{"listings":{"type":"integer","description":"Comparable listings within ±15% of the requested power."},"price_quartiles_eur":{"type":"array","description":"[first quartile, third quartile] of their asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2}}},"dealer_buyback":{"type":["object","null"],"description":"Indicative dealer trade-in offer in Germany (HEK): not an observed trade-in price, but estimate_eur minus an assumed margin and reconditioning allowance (replace them with dealer_margin_pct and reconditioning_eur); null when estimate_eur is null.","required":["buyback_eur","range_eur","retail_reference_eur","margin_eur","margin_pct","reconditioning_eur"],"properties":{"buyback_eur":{"type":"integer","description":"Indicative dealer trade-in / purchase offer (Händlereinkaufspreis HEK in Germany, reprise marchand in France), rounded to €50: estimate_eur minus margin_eur and reconditioning_eur."},"range_eur":{"type":["array","null"],"description":"[low, high] trade-in range derived from range_eur after subtracting margin and reconditioning.","items":{"type":"integer"},"minItems":2,"maxItems":2},"retail_reference_eur":{"type":"integer","description":"Retail asking valuation (estimate_eur) used as the baseline."},"margin_eur":{"type":"integer","description":"Gross dealer margin (warranty, holding cost, commercial overhead) in euros, rounded to €50."},"margin_pct":{"type":"number","description":"Gross dealer margin in % of retail_reference_eur (dealer_margin_pct if given, else 13–18%)."},"reconditioning_eur":{"type":"integer","description":"Reconditioning allowance in euros (reconditioning_eur parameter if given, else €400–€1,600 by age and mileage)."}}}}},"germany_vs_france":{"type":["number","null"],"description":"Average Germany / France gap of the model for the same characteristics, over all its listings (−0.05 = 5% cheaper in Germany), 3 decimals. It can differ from, or even have the opposite sign of, the gap between the two valuations of a given car (estimates_germany_vs_france)."},"estimates_germany_vs_france":{"type":["number","null"],"description":"Gap between the two valuations returned: germany.estimate_eur / france.estimate_eur − 1, 3 decimals; null when one is missing."},"deal_thresholds_france":{"type":["object","null"],"required":["very_good_deal_below_eur","good_deal_below_eur","high_price_above_eur"],"properties":{"very_good_deal_below_eur":{"type":"integer","description":"86% of the valuation, rounded to €50: below it, a great deal."},"good_deal_below_eur":{"type":"integer","description":"95% of the valuation, rounded to €50: below it, a good deal."},"high_price_above_eur":{"type":"integer","description":"106% of the valuation, rounded to €50: above it, a high price."}},"description":"Deal thresholds on the French valuation (on the German one when France has none); null when precision is indicative. There are no thresholds of their own for Germany: apply the same percentages to germany.estimate_eur."},"import_from_germany":{"type":"object","description":"Cost of buying the car in Germany and registering it in France. Present when both countries have a valuation.","required":["landed_price_in_france_eur","import_costs_eur","saving_vs_buying_in_france_eur","breakdown"],"properties":{"landed_price_in_france_eur":{"type":"integer","description":"Delivered price in France of the same car bought at its German valuation."},"import_costs_eur":{"type":"integer","description":"Import costs on top of the German price: French regional registration tax, penalties, certificate of conformity, transport, paperwork."},"saving_vs_buying_in_france_eur":{"type":"integer","description":"French valuation minus delivered price; negative when importing does not pay off."},"breakdown":{"type":"array","description":"Itemised import costs (labels in the language of lang).","items":{"type":"object","required":["item","eur"],"properties":{"item":{"type":"string","description":"Cost item."},"eur":{"type":"number","description":"Amount in euros."}}}},"assumption":{"type":"string","description":"Present when power or fuel is not given: the model's most common engine is assumed for the registration taxes."}}},"model_page":{"type":"string","description":"karoto.fr page of the model's valuation (in the language of lang).","format":"uri"},"matching_listings_url":{"type":"string","description":"karoto.fr search of the comparable listings (in the language of lang).","format":"uri"}}},{"type":"object","description":"No reliable valuation for this model.","required":["reliable","listings_analysed","message","model_page"],"properties":{"reliable":{"type":"boolean","description":"false: the model's listings are too few or their prices too scattered for a valuation.","const":false},"listings_analysed":{"type":"integer","description":"Listings of the model, France and Germany."},"message":{"type":"string","description":"Why there is no valuation."},"model_page":{"type":"string","description":"karoto.fr page of the model.","format":"uri"}}}]},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/valuation/batch":{"post":{"operationId":"postValuationBatch","tags":["Valuation"],"summary":"Value up to 50 cars in one call","description":"Not included in the free trial: from the pay-as-you-go plan. During the free trial this endpoint answers 402 plan_required. Same fields as /valuation per vehicle (seller_type included) in a JSON body `{ \"vehicles\": [ … ] }`. Each result keeps its `index`; a vehicle without a valuation (unknown model, no listings) gets an `error` without stopping the others, while a malformed vehicle rejects the whole call (400). All values are asking prices (prices shown in listings), not trade-in or transaction prices: for a purchase or trade-in price, subtract your own margin and reconditioning costs.\n\nCost: 1 request per vehicle.","parameters":[{"$ref":"#/components/parameters/lang"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicles"],"properties":{"vehicles":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","required":["year","mileage_km"],"properties":{"make":{"type":"string","maxLength":60,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given)."},"model":{"type":"string","maxLength":80,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given)."},"hsn":{"type":"string","maxLength":12,"description":"German KBA manufacturer code (4 digits, Fahrzeugschein field 2.1, e.g. “0603”, “0005”); pair with tsn instead of make and model."},"tsn":{"type":"string","maxLength":16,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein field 2.2, e.g. “BQS”, “AMQ”); pair with hsn instead of make and model."},"cnit":{"type":"string","maxLength":24,"description":"French CNIT homologation code (carte grise field D.2.1, 10 to 17 characters, e.g. “M10ALFVP000U221”), instead of make and model."},"year":{"type":"integer","minimum":1950,"maximum":2027,"description":"Year of first registration."},"mileage_km":{"type":"integer","minimum":0,"maximum":2000000,"description":"Mileage in km."},"month":{"type":"integer","minimum":1,"maximum":12,"description":"Month of first registration."},"fuel":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"],"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes."},"gearbox":{"type":"string","enum":["manuelle","automatique"],"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes."},"power_hp":{"type":"integer","minimum":20,"maximum":2000,"description":"Power in hp (refines the estimate and the French registration tax)."},"seller_type":{"type":"string","enum":["pro","particulier"],"description":"pro (dealer) or particulier (private seller): valuation of the asking price of that seller type. Default: seller unknown (market mix). Comparable listings are not filtered by seller."},"reconditioning_eur":{"type":"integer","minimum":0,"maximum":20000,"description":"Optional reconditioning allowance (€) subtracted in dealer_buyback (0 to 20,000); estimated from age and mileage (400–1,600 €) when omitted."},"dealer_margin_pct":{"type":"number","minimum":0,"maximum":40,"description":"Optional gross dealer margin (%) subtracted in dealer_buyback (0 to 40); calibrated by segment and precision (13–18%) when omitted."}},"additionalProperties":false}}},"additionalProperties":false}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -X POST \"https://karoto.fr/api/v1/valuation/batch\" -H \"Authorization: Bearer $KAROTO_API_KEY\" -H \"Content-Type: application/json\" -d '{\"vehicles\": [\n        {\"make\": \"renault\", \"model\": \"clio\", \"year\": 2020, \"mileage_km\": 45000},\n        {\"make\": \"volkswagen\", \"model\": \"golf\", \"year\": 2018, \"mileage_km\": 98000, \"fuel\": \"diesel\", \"seller_type\": \"pro\"}\n      ]}'"}],"x-free-trial":false,"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer","description":"Number of vehicles sent."},"results":{"type":"array","description":"One result per vehicle, in the order sent: the /valuation response with its index, or the error for that vehicle alone.","items":{"oneOf":[{"allOf":[{"type":"object","required":["index"],"properties":{"index":{"type":"integer","description":"Position of the vehicle in the request (from 0)."}}},{"type":"object","description":"Valuation of the car.","required":["reliable","make_slug","model_slug","car","precision","listings_analysed","france","germany","germany_vs_france","estimates_germany_vs_france","deal_thresholds_france","model_page","matching_listings_url"],"properties":{"reliable":{"type":"boolean","description":"true: the model's price model is reliable enough for a valuation.","const":true},"make_slug":{"type":"string","description":"Make slug."},"model_slug":{"type":"string","description":"Model slug."},"car":{"type":"string","description":"The car described, in words (in the language of lang, e.g. “Mercedes-Benz C-Klasse 2018, 100.000 km”)."},"seller_type":{"type":"string","description":"Seller type of the valuation, echoed when given.","enum":["pro","particulier"]},"precision":{"type":"string","description":"Spread of the model's asking prices around its valuation: elevee (high, typical spread up to about 20%), bonne (good, up to 30%) or indicative (up to 50%: wide range and no deal thresholds).","enum":["elevee","bonne","indicative"]},"listings_analysed":{"type":"integer","description":"Listings of the model, France and Germany, its price model is fitted on."},"france":{"type":"object","description":"Valuation and comparable listings in France.","required":["estimate_eur","range_eur","comparable_listings","comparable_price_quartiles_eur","same_power_comparables","dealer_buyback"],"properties":{"estimate_eur":{"type":["integer","null"],"description":"Valuation in France: expected asking price for that car, rounded to €50; null when France does not have enough listings of the model."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car (about one comparable car in two); null with estimate_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"comparable_listings":{"type":"integer","description":"Listings online in France close to the car: year ±1, mileage ±35% or ±25,000 km, same fuel and gearbox when given (all powers; see same_power_comparables)."},"comparable_price_quartiles_eur":{"type":["array","null"],"description":"[first quartile, third quartile] of the asking prices of those comparable listings; null without comparables.","items":{"type":"integer"},"minItems":2,"maxItems":2},"same_power_comparables":{"type":["object","null"],"description":"Comparable listings restricted to the requested power (±15%), when power_hp is given and at least 20 match; null otherwise.","required":["listings","price_quartiles_eur"],"properties":{"listings":{"type":"integer","description":"Comparable listings within ±15% of the requested power."},"price_quartiles_eur":{"type":"array","description":"[first quartile, third quartile] of their asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2}}},"dealer_buyback":{"type":["object","null"],"description":"Indicative dealer trade-in offer in France (HEK): not an observed trade-in price, but estimate_eur minus an assumed margin and reconditioning allowance (replace them with dealer_margin_pct and reconditioning_eur); null when estimate_eur is null.","required":["buyback_eur","range_eur","retail_reference_eur","margin_eur","margin_pct","reconditioning_eur"],"properties":{"buyback_eur":{"type":"integer","description":"Indicative dealer trade-in / purchase offer (Händlereinkaufspreis HEK in Germany, reprise marchand in France), rounded to €50: estimate_eur minus margin_eur and reconditioning_eur."},"range_eur":{"type":["array","null"],"description":"[low, high] trade-in range derived from range_eur after subtracting margin and reconditioning.","items":{"type":"integer"},"minItems":2,"maxItems":2},"retail_reference_eur":{"type":"integer","description":"Retail asking valuation (estimate_eur) used as the baseline."},"margin_eur":{"type":"integer","description":"Gross dealer margin (warranty, holding cost, commercial overhead) in euros, rounded to €50."},"margin_pct":{"type":"number","description":"Gross dealer margin in % of retail_reference_eur (dealer_margin_pct if given, else 13–18%)."},"reconditioning_eur":{"type":"integer","description":"Reconditioning allowance in euros (reconditioning_eur parameter if given, else €400–€1,600 by age and mileage)."}}}}},"germany":{"type":"object","description":"Valuation and comparable listings in Germany.","required":["estimate_eur","range_eur","comparable_listings","comparable_price_quartiles_eur","same_power_comparables","dealer_buyback"],"properties":{"estimate_eur":{"type":["integer","null"],"description":"Valuation in Germany: expected asking price for that car, rounded to €50; null when Germany does not have enough listings of the model."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car (about one comparable car in two); null with estimate_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"comparable_listings":{"type":"integer","description":"Listings online in Germany close to the car: year ±1, mileage ±35% or ±25,000 km, same fuel and gearbox when given (all powers; see same_power_comparables)."},"comparable_price_quartiles_eur":{"type":["array","null"],"description":"[first quartile, third quartile] of the asking prices of those comparable listings; null without comparables.","items":{"type":"integer"},"minItems":2,"maxItems":2},"same_power_comparables":{"type":["object","null"],"description":"Comparable listings restricted to the requested power (±15%), when power_hp is given and at least 20 match; null otherwise.","required":["listings","price_quartiles_eur"],"properties":{"listings":{"type":"integer","description":"Comparable listings within ±15% of the requested power."},"price_quartiles_eur":{"type":"array","description":"[first quartile, third quartile] of their asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2}}},"dealer_buyback":{"type":["object","null"],"description":"Indicative dealer trade-in offer in Germany (HEK): not an observed trade-in price, but estimate_eur minus an assumed margin and reconditioning allowance (replace them with dealer_margin_pct and reconditioning_eur); null when estimate_eur is null.","required":["buyback_eur","range_eur","retail_reference_eur","margin_eur","margin_pct","reconditioning_eur"],"properties":{"buyback_eur":{"type":"integer","description":"Indicative dealer trade-in / purchase offer (Händlereinkaufspreis HEK in Germany, reprise marchand in France), rounded to €50: estimate_eur minus margin_eur and reconditioning_eur."},"range_eur":{"type":["array","null"],"description":"[low, high] trade-in range derived from range_eur after subtracting margin and reconditioning.","items":{"type":"integer"},"minItems":2,"maxItems":2},"retail_reference_eur":{"type":"integer","description":"Retail asking valuation (estimate_eur) used as the baseline."},"margin_eur":{"type":"integer","description":"Gross dealer margin (warranty, holding cost, commercial overhead) in euros, rounded to €50."},"margin_pct":{"type":"number","description":"Gross dealer margin in % of retail_reference_eur (dealer_margin_pct if given, else 13–18%)."},"reconditioning_eur":{"type":"integer","description":"Reconditioning allowance in euros (reconditioning_eur parameter if given, else €400–€1,600 by age and mileage)."}}}}},"germany_vs_france":{"type":["number","null"],"description":"Average Germany / France gap of the model for the same characteristics, over all its listings (−0.05 = 5% cheaper in Germany), 3 decimals. It can differ from, or even have the opposite sign of, the gap between the two valuations of a given car (estimates_germany_vs_france)."},"estimates_germany_vs_france":{"type":["number","null"],"description":"Gap between the two valuations returned: germany.estimate_eur / france.estimate_eur − 1, 3 decimals; null when one is missing."},"deal_thresholds_france":{"type":["object","null"],"required":["very_good_deal_below_eur","good_deal_below_eur","high_price_above_eur"],"properties":{"very_good_deal_below_eur":{"type":"integer","description":"86% of the valuation, rounded to €50: below it, a great deal."},"good_deal_below_eur":{"type":"integer","description":"95% of the valuation, rounded to €50: below it, a good deal."},"high_price_above_eur":{"type":"integer","description":"106% of the valuation, rounded to €50: above it, a high price."}},"description":"Deal thresholds on the French valuation (on the German one when France has none); null when precision is indicative. There are no thresholds of their own for Germany: apply the same percentages to germany.estimate_eur."},"import_from_germany":{"type":"object","description":"Cost of buying the car in Germany and registering it in France. Present when both countries have a valuation.","required":["landed_price_in_france_eur","import_costs_eur","saving_vs_buying_in_france_eur","breakdown"],"properties":{"landed_price_in_france_eur":{"type":"integer","description":"Delivered price in France of the same car bought at its German valuation."},"import_costs_eur":{"type":"integer","description":"Import costs on top of the German price: French regional registration tax, penalties, certificate of conformity, transport, paperwork."},"saving_vs_buying_in_france_eur":{"type":"integer","description":"French valuation minus delivered price; negative when importing does not pay off."},"breakdown":{"type":"array","description":"Itemised import costs (labels in the language of lang).","items":{"type":"object","required":["item","eur"],"properties":{"item":{"type":"string","description":"Cost item."},"eur":{"type":"number","description":"Amount in euros."}}}},"assumption":{"type":"string","description":"Present when power or fuel is not given: the model's most common engine is assumed for the registration taxes."}}},"model_page":{"type":"string","description":"karoto.fr page of the model's valuation (in the language of lang).","format":"uri"},"matching_listings_url":{"type":"string","description":"karoto.fr search of the comparable listings (in the language of lang).","format":"uri"}}}]},{"allOf":[{"type":"object","required":["index"],"properties":{"index":{"type":"integer","description":"Position of the vehicle in the request (from 0)."}}},{"type":"object","description":"No reliable valuation for this model.","required":["reliable","listings_analysed","message","model_page"],"properties":{"reliable":{"type":"boolean","description":"false: the model's listings are too few or their prices too scattered for a valuation.","const":false},"listings_analysed":{"type":"integer","description":"Listings of the model, France and Germany."},"message":{"type":"string","description":"Why there is no valuation."},"model_page":{"type":"string","description":"karoto.fr page of the model.","format":"uri"}}}]},{"type":"object","required":["index","error"],"properties":{"index":{"type":"integer","description":"Position of the vehicle in the request (from 0)."},"error":{"type":"string","description":"Why this vehicle has no valuation (unknown model, no listings)."}}}]}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/PlanRequired"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/residual-value":{"get":{"operationId":"getResidualValue","tags":["Residual values"],"summary":"Residual values of a car at 12, 24, 36… months in France and Germany","description":"Value of a car today and at each horizon (12, 24, 36, 48 and 60 months by default), per country: projected asking price with its range, age and mileage at that horizon, share of today's value kept and, with list_price_eur, share of the list price. Same vehicle parameters as /valuation. `annual_km_source` says where the annual mileage comes from; `oldest_age_covered_years` is the oldest age the model's listings cover, beyond which values are null rather than extrapolated. 404 when the model has no reliable price model (too few listings or prices too scattered), or when the requested country is not covered. Projected at constant market: today's Karoto price model for the model (fitted on current listings in France and Germany) values the same car once it is older by each horizon and has driven annual_km kilometres a year. Assumptions, repeated in every response: Constant market: today's Karoto price model values the older, higher-mileage car; future market moves are not forecast. Asking prices, not trade-in or transaction prices; seller type unknown unless given. A car never gains value from one horizon to the next. No extrapolation beyond the ages present in the model's listings: value is null there. Range: first to third quartile of expected asking prices for that car (about one comparable car in two). Residual values of this kind are what leasing companies (long-term lease, lease with purchase option), lenders and fleet managers work with; Karoto publishes them for France and Germany, self-service, with the assumptions stated. Examples (14 November 2026): a 2022 petrol Volkswagen Golf with 45,000 km (about 10,000 km a year) was valued at €21,050 in France, and €16,500 at 36 months (78% of today's value); a 2021 Peugeot 3008 with 70,000 km and a €38,000 list price kept 36% of it at 36 months; a 2022 Tesla Model 3 had no value beyond 36 months, as its listings only went up to 7 years old.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"hsn","in":"query","required":false,"description":"German KBA manufacturer code (4 digits, Fahrzeugschein field 2.1, e.g. “0603”, “0005”); pair with tsn instead of make and model.","schema":{"type":"string","maxLength":12}},{"name":"tsn","in":"query","required":false,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein field 2.2, e.g. “BQS”, “AMQ”); pair with hsn instead of make and model.","schema":{"type":"string","maxLength":16}},{"name":"cnit","in":"query","required":false,"description":"French CNIT homologation code (carte grise field D.2.1, 10 to 17 characters, e.g. “M10ALFVP000U221”), instead of make and model.","schema":{"type":"string","maxLength":24}},{"name":"year","in":"query","required":true,"description":"Year of first registration.","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"mileage_km","in":"query","required":true,"description":"Mileage in km.","schema":{"type":"integer","minimum":0,"maximum":2000000}},{"name":"month","in":"query","required":false,"description":"Month of first registration.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"gearbox","in":"query","required":false,"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes.","schema":{"type":"string","enum":["manuelle","automatique"]}},{"name":"power_hp","in":"query","required":false,"description":"Power in hp (refines the estimate and the French registration tax).","schema":{"type":"integer","minimum":20,"maximum":2000}},{"name":"annual_km","in":"query","required":false,"description":"Kilometres driven per year from now on (bounded to 5,000–60,000). Default: the car's own pace (mileage divided by age, once it is at least one year old), else the median annual mileage of the model's listings, else 15,000.","schema":{"type":"integer","minimum":1000,"maximum":100000}},{"name":"horizons","in":"query","required":false,"description":"Months from now, comma-separated, 1 to 12 values of at most 120 (duplicates removed, sorted). Default: 12,24,36,48,60.","schema":{"type":"string","maxLength":60,"pattern":"^\\d{1,3}(,\\d{1,3})*$"}},{"name":"list_price_eur","in":"query","required":false,"description":"Catalogue price when new, to express each projected value as a share of it (share_of_list_price).","schema":{"type":"integer","minimum":1000,"maximum":2000000}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (both by default, when the model's price model covers them).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"seller_type","in":"query","required":false,"description":"Seller type of the projected asking prices (dealer or private); indifferent by default.","schema":{"type":"string","enum":["pro","particulier"]}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/residual-value?make=volkswagen&model=golf&year=2022&mileage_km=45000&fuel=essence&horizons=12,24,36,48,60\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["model","make_slug","model_slug","precision","priced_on","annual_km","annual_km_source","oldest_age_covered_years","markets","assumptions","methodology_url"],"properties":{"model":{"type":"string","description":"Model name."},"make_slug":{"type":"string","description":"Make slug."},"model_slug":{"type":"string","description":"Model slug."},"precision":{"type":"string","description":"Precision of the model's price model (same scale as /valuation).","enum":["elevee","bonne","indicative"]},"priced_on":{"type":["string","null"],"description":"Day the model's price model was last computed.","format":"date"},"annual_km":{"type":"integer","description":"Kilometres per year used for the projection."},"annual_km_source":{"type":"string","description":"given: the annual_km parameter; car: the car's own pace (mileage / age); model: median annual mileage of the model's listings; default: 15,000 km.","enum":["given","car","model","default"]},"oldest_age_covered_years":{"type":"integer","description":"Oldest age, in years, covered without gap by the model's listings (France and Germany): no value is projected beyond it."},"markets":{"type":"array","description":"One entry per country covered by the model's price model (only the requested country when given).","items":{"type":"object","required":["country","current_value_eur","current_range_eur","horizons"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"current_value_eur":{"type":"integer","description":"Today's value (Karoto estimate of the car as described), rounded to €50."},"current_range_eur":{"type":"array","description":"[low, high]: first to third quartile of today's expected asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2},"horizons":{"type":"array","description":"One entry per requested horizon, shortest first.","items":{"type":"object","required":["months","age_years","mileage_km","value_eur","range_eur","share_of_current_value","share_of_list_price"],"properties":{"months":{"type":"integer","description":"Horizon, in months from now."},"age_years":{"type":"number","description":"Age of the car at that horizon, in years since first registration (1 decimal)."},"mileage_km":{"type":"integer","description":"Projected mileage at that horizon: current mileage + annual_km × months / 12."},"value_eur":{"type":["integer","null"],"description":"Projected asking price at that horizon, rounded to €50; never higher than at the previous horizon. null when the car would be older than the oldest age covered by the model's listings (oldest_age_covered_years + 0.5)."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car at that horizon (about one comparable car in two). null with value_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"share_of_current_value":{"type":["number","null"],"description":"value_eur / current_value_eur (0.77 = 77% of today's value kept). 3 decimals."},"share_of_list_price":{"type":["number","null"],"description":"value_eur / list_price_eur; null without list_price_eur. 3 decimals."}}}}}}},"assumptions":{"type":"array","description":"Assumptions of the projection, repeated in every response.","items":{"type":"string"}},"methodology_url":{"type":"string","description":"Methodology of residual values: assumptions, age coverage, annual mileage used.","format":"uri"}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/residual-value/batch":{"post":{"operationId":"postResidualValueBatch","tags":["Residual values"],"summary":"Residual values of up to 50 cars in one call (fleet)","description":"Not included in the free trial: from the pay-as-you-go plan. During the free trial this endpoint answers 402 plan_required. Same fields as /residual-value, per vehicle, in a JSON body `{ \"vehicles\": [ … ] }` (horizons, annual_km, list_price_eur, country and seller_type may differ from one vehicle to the next). Each result keeps its `index`; a vehicle without a projection (unknown model, no reliable price model, country not covered) gets an `error` without stopping the others, while a malformed vehicle rejects the whole call (400). Projected at constant market: today's Karoto price model for the model (fitted on current listings in France and Germany) values the same car once it is older by each horizon and has driven annual_km kilometres a year. Assumptions, repeated in every response: Constant market: today's Karoto price model values the older, higher-mileage car; future market moves are not forecast. Asking prices, not trade-in or transaction prices; seller type unknown unless given. A car never gains value from one horizon to the next. No extrapolation beyond the ages present in the model's listings: value is null there. Range: first to third quartile of expected asking prices for that car (about one comparable car in two). Residual values of this kind are what leasing companies (long-term lease, lease with purchase option), lenders and fleet managers work with; Karoto publishes them for France and Germany, self-service, with the assumptions stated. Examples (14 November 2026): a 2022 petrol Volkswagen Golf with 45,000 km (about 10,000 km a year) was valued at €21,050 in France, and €16,500 at 36 months (78% of today's value); a 2021 Peugeot 3008 with 70,000 km and a €38,000 list price kept 36% of it at 36 months; a 2022 Tesla Model 3 had no value beyond 36 months, as its listings only went up to 7 years old.\n\nCost: 1 request per vehicle.","parameters":[{"$ref":"#/components/parameters/lang"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicles"],"properties":{"vehicles":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","required":["year","mileage_km"],"properties":{"make":{"type":"string","maxLength":60,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given)."},"model":{"type":"string","maxLength":80,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given)."},"hsn":{"type":"string","maxLength":12,"description":"German KBA manufacturer code (4 digits, Fahrzeugschein field 2.1, e.g. “0603”, “0005”); pair with tsn instead of make and model."},"tsn":{"type":"string","maxLength":16,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein field 2.2, e.g. “BQS”, “AMQ”); pair with hsn instead of make and model."},"cnit":{"type":"string","maxLength":24,"description":"French CNIT homologation code (carte grise field D.2.1, 10 to 17 characters, e.g. “M10ALFVP000U221”), instead of make and model."},"year":{"type":"integer","minimum":1950,"maximum":2027,"description":"Year of first registration."},"mileage_km":{"type":"integer","minimum":0,"maximum":2000000,"description":"Mileage in km."},"month":{"type":"integer","minimum":1,"maximum":12,"description":"Month of first registration."},"fuel":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"],"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes."},"gearbox":{"type":"string","enum":["manuelle","automatique"],"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes."},"power_hp":{"type":"integer","minimum":20,"maximum":2000,"description":"Power in hp (refines the estimate and the French registration tax)."},"annual_km":{"type":"integer","minimum":1000,"maximum":100000,"description":"Kilometres driven per year from now on (bounded to 5,000–60,000). Default: the car's own pace (mileage divided by age, once it is at least one year old), else the median annual mileage of the model's listings, else 15,000."},"horizons":{"type":"string","maxLength":60,"pattern":"^\\d{1,3}(,\\d{1,3})*$","description":"Months from now, comma-separated, 1 to 12 values of at most 120 (duplicates removed, sorted). Default: 12,24,36,48,60."},"list_price_eur":{"type":"integer","minimum":1000,"maximum":2000000,"description":"Catalogue price when new, to express each projected value as a share of it (share_of_list_price)."},"country":{"type":"string","enum":["FR","DE"],"description":"FR = France, DE = Germany (both by default, when the model's price model covers them)."},"seller_type":{"type":"string","enum":["pro","particulier"],"description":"Seller type of the projected asking prices (dealer or private); indifferent by default."}},"additionalProperties":false}}},"additionalProperties":false}}}},"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -X POST \"https://karoto.fr/api/v1/residual-value/batch\" -H \"Authorization: Bearer $KAROTO_API_KEY\" -H \"Content-Type: application/json\" -d '{\"vehicles\": [\n        {\"make\": \"peugeot\", \"model\": \"3008\", \"year\": 2021, \"mileage_km\": 70000, \"list_price_eur\": 38000, \"horizons\": \"12,24,36\"},\n        {\"make\": \"volkswagen\", \"model\": \"golf\", \"year\": 2022, \"mileage_km\": 45000, \"fuel\": \"essence\", \"annual_km\": 20000, \"country\": \"DE\"}\n      ]}'"}],"x-free-trial":false,"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer","description":"Number of vehicles sent."},"results":{"type":"array","description":"One result per vehicle, in the order sent: the /residual-value response with its index, or the error for that vehicle alone.","items":{"oneOf":[{"allOf":[{"type":"object","required":["index"],"properties":{"index":{"type":"integer","description":"Position of the vehicle in the request (from 0)."}}},{"type":"object","required":["model","make_slug","model_slug","precision","priced_on","annual_km","annual_km_source","oldest_age_covered_years","markets","assumptions","methodology_url"],"properties":{"model":{"type":"string","description":"Model name."},"make_slug":{"type":"string","description":"Make slug."},"model_slug":{"type":"string","description":"Model slug."},"precision":{"type":"string","description":"Precision of the model's price model (same scale as /valuation).","enum":["elevee","bonne","indicative"]},"priced_on":{"type":["string","null"],"description":"Day the model's price model was last computed.","format":"date"},"annual_km":{"type":"integer","description":"Kilometres per year used for the projection."},"annual_km_source":{"type":"string","description":"given: the annual_km parameter; car: the car's own pace (mileage / age); model: median annual mileage of the model's listings; default: 15,000 km.","enum":["given","car","model","default"]},"oldest_age_covered_years":{"type":"integer","description":"Oldest age, in years, covered without gap by the model's listings (France and Germany): no value is projected beyond it."},"markets":{"type":"array","description":"One entry per country covered by the model's price model (only the requested country when given).","items":{"type":"object","required":["country","current_value_eur","current_range_eur","horizons"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"current_value_eur":{"type":"integer","description":"Today's value (Karoto estimate of the car as described), rounded to €50."},"current_range_eur":{"type":"array","description":"[low, high]: first to third quartile of today's expected asking prices.","items":{"type":"integer"},"minItems":2,"maxItems":2},"horizons":{"type":"array","description":"One entry per requested horizon, shortest first.","items":{"type":"object","required":["months","age_years","mileage_km","value_eur","range_eur","share_of_current_value","share_of_list_price"],"properties":{"months":{"type":"integer","description":"Horizon, in months from now."},"age_years":{"type":"number","description":"Age of the car at that horizon, in years since first registration (1 decimal)."},"mileage_km":{"type":"integer","description":"Projected mileage at that horizon: current mileage + annual_km × months / 12."},"value_eur":{"type":["integer","null"],"description":"Projected asking price at that horizon, rounded to €50; never higher than at the previous horizon. null when the car would be older than the oldest age covered by the model's listings (oldest_age_covered_years + 0.5)."},"range_eur":{"type":["array","null"],"description":"[low, high]: first to third quartile of the expected asking prices for that car at that horizon (about one comparable car in two). null with value_eur.","items":{"type":"integer"},"minItems":2,"maxItems":2},"share_of_current_value":{"type":["number","null"],"description":"value_eur / current_value_eur (0.77 = 77% of today's value kept). 3 decimals."},"share_of_list_price":{"type":["number","null"],"description":"value_eur / list_price_eur; null without list_price_eur. 3 decimals."}}}}}}},"assumptions":{"type":"array","description":"Assumptions of the projection, repeated in every response.","items":{"type":"string"}},"methodology_url":{"type":"string","description":"Methodology of residual values: assumptions, age coverage, annual mileage used.","format":"uri"}}}]},{"type":"object","required":["index","error"],"properties":{"index":{"type":"integer","description":"Position of the vehicle in the request (from 0)."},"error":{"type":"string","description":"Why this vehicle has no projection (unknown model, no reliable price model, country not covered, invalid horizons)."}}}]}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/PlanRequired"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listing-check":{"get":{"operationId":"getListingCheck","tags":["Valuation"],"summary":"Analyse any used-car listing","description":"For any listing, including one published elsewhere: Karoto estimate and price rating (same scale as Karoto's badges), position among comparable listings (share cheaper, median, quartiles), mileage versus the model's typical mileage for its age (low / normal / high), the model's probable sale pace in the listing's country (`market_pace.probable_sale_pace`: share with a probable sale within 14 and 30 days, median once measurable, median age of the listings for sale) and how often prices drop (`market_pace.median_days_to_sell` is deprecated and always null), official manufacturer recalls (RappelConso) for the model and year, and for a French listing the landed price of the same car bought in Germany. `price_rating_id` gives the code of the rating (top, good, fair, high, very_high). The full /valuation result (unknown seller) is attached. Two estimates, on purpose: `karoto_estimate_eur` is the price model's estimate for exactly the characteristics given, in the listing's country and for the listing's `seller_type` (the calculation behind the price badges on Karoto's listings); `price_vs_estimate` and `price_rating` are computed on it, so compare the asking price with this one. `valuation.*` is /valuation for an unknown seller, where a fuel, gearbox or power left out follows the mix of the comparable listings. The two can therefore differ by a few percent, more when power_hp, fuel or gearbox are not given; give them for the two to agree closely.\n\nCost: 2 requests.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"hsn","in":"query","required":false,"description":"German KBA manufacturer code (4 digits, Fahrzeugschein field 2.1, e.g. “0603”, “0005”); pair with tsn instead of make and model.","schema":{"type":"string","maxLength":12}},{"name":"tsn","in":"query","required":false,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein field 2.2, e.g. “BQS”, “AMQ”); pair with hsn instead of make and model.","schema":{"type":"string","maxLength":16}},{"name":"cnit","in":"query","required":false,"description":"French CNIT homologation code (carte grise field D.2.1, 10 to 17 characters, e.g. “M10ALFVP000U221”), instead of make and model.","schema":{"type":"string","maxLength":24}},{"name":"year","in":"query","required":true,"description":"Year of first registration.","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"mileage_km","in":"query","required":true,"description":"Mileage in km.","schema":{"type":"integer","minimum":0,"maximum":2000000}},{"name":"month","in":"query","required":false,"description":"Month of first registration.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"gearbox","in":"query","required":false,"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes.","schema":{"type":"string","enum":["manuelle","automatique"]}},{"name":"power_hp","in":"query","required":false,"description":"Power in hp (refines the estimate and the French registration tax).","schema":{"type":"integer","minimum":20,"maximum":2000}},{"name":"price_eur","in":"query","required":true,"description":"Asking price of the listing.","schema":{"type":"integer","minimum":100,"maximum":5000000}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"seller_type","in":"query","required":false,"description":"Seller type of the listing: pro (dealer) or particulier (private seller). It is used for karoto_estimate_eur and the price rating; the attached valuation stays the one of an unknown seller.","schema":{"type":"string","enum":["pro","particulier"]}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listing-check?make=peugeot&model=3008&year=2019&mileage_km=85000&price_eur=15900&fuel=diesel\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listings":{"get":{"operationId":"searchListings","tags":["Listings"],"summary":"Search used cars for sale in France and Germany","description":"De-duplicated listings currently for sale, with Karoto's estimate, price rating, initial price and number of price drops, and for German cars the landed price in France. 24 results per page, 50 pages at most (narrow the filters beyond that, or use /listings/feed). Listings without a price are never returned, nor counted in `total_matching`. Labels (fuel, gearbox, price_rating, seller) follow lang; their codes are in fuel_id, gearbox_id, price_rating_id and seller_type_id.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"query","in":"query","required":false,"description":"Free-text keywords (trim, equipment).","schema":{"type":"string","maxLength":120}},{"name":"price_min","in":"query","required":false,"description":"Minimum price (€).","schema":{"type":"integer","minimum":0}},{"name":"price_max","in":"query","required":false,"description":"Maximum price (€).","schema":{"type":"integer","minimum":0}},{"name":"year_min","in":"query","required":false,"description":"Minimum year.","schema":{"type":"integer","minimum":1950}},{"name":"year_max","in":"query","required":false,"description":"Maximum year.","schema":{"type":"integer","minimum":1950}},{"name":"mileage_max","in":"query","required":false,"description":"Maximum mileage (km).","schema":{"type":"integer","minimum":0}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"gearbox","in":"query","required":false,"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes.","schema":{"type":"string","enum":["manuelle","automatique"]}},{"name":"body_type","in":"query","required":false,"description":"Body type. French codes: citadine (city car), berline (saloon or hatchback), break (estate), suv (SUV, 4x4), monospace (MPV, people carrier), coupe (coupé), cabriolet (convertible), utilitaire (light commercial vehicle, van), pickup (pick-up), autre (other body type). Use the codes, not English names.","schema":{"type":"string","enum":["citadine","berline","break","suv","monospace","coupe","cabriolet","utilitaire","pickup","autre"]}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"department","in":"query","required":false,"description":"French département code (33, 69, 2A…); implies France.","schema":{"type":"string","pattern":"^(\\d{2,3}|2[AB])$"}},{"name":"private_sellers_only","in":"query","required":false,"description":"Private sellers only.","schema":{"type":"boolean"}},{"name":"good_deals_only","in":"query","required":false,"description":"Only listings priced below Karoto's estimate.","schema":{"type":"boolean"}},{"name":"import_deals_only","in":"query","required":false,"description":"Only German cars at least €1,000 cheaper than in France, import costs included.","schema":{"type":"boolean"}},{"name":"vat_deductible_only","in":"query","required":false,"description":"Only listings with deductible VAT (TVA récupérable / MwSt. ausweisbar) for business buyers and intra-EU net export.","schema":{"type":"boolean"}},{"name":"sort","in":"query","required":false,"description":"Sort order.","schema":{"type":"string","enum":["relevance","newest","price_asc","price_desc","mileage_asc","year_desc","best_deal","import_saving","price_drop"]}},{"name":"page","in":"query","required":false,"description":"Page (1 to 50).","schema":{"type":"integer","minimum":1,"maximum":50}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listings?make=volkswagen&model=golf&year_min=2018&country=DE&sort=import_saving\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["total_matching","total_is_lower_bound","page","pages","per_page","results","all_results_url"],"properties":{"total_matching":{"type":"integer","description":"Listings matching the filters (listings without a price excluded)."},"total_is_lower_bound":{"type":"boolean","description":"true when the count reached its cap: there are at least that many."},"page":{"type":"integer","description":"Current page."},"pages":{"type":"integer","description":"Number of pages (50 at most)."},"per_page":{"type":"integer","description":"Results per page (24)."},"results":{"type":"array","items":{"type":"object","required":["id","title","year","mileage_km","fuel","fuel_id","gearbox","gearbox_id","power_hp","price_eur","karoto_estimate_eur","price_rating","price_rating_id","initial_price_eur","country","location","seller","seller_type_id","department","price_drops","published_on","url"],"properties":{"id":{"type":"string","description":"Karoto listing id (12 characters)."},"title":{"type":"string","description":"Make, model and version (model name in the language of lang)."},"year":{"type":["integer","null"],"description":"Year of first registration."},"mileage_km":{"type":["integer","null"],"description":"Mileage."},"fuel":{"type":["string","null"],"description":"Fuel label, in the language of lang."},"fuel_id":{"type":["string","null"],"description":"Code of the fuel (same values as the request parameter): essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). Compare codes, not labels: labels follow lang.","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre",null]},"gearbox":{"type":["string","null"],"description":"Gearbox label, in the language of lang."},"gearbox_id":{"type":["string","null"],"description":"Code of the gearbox (same values as the request parameter): manuelle (manual), automatique (automatic). Compare codes, not labels: labels follow lang.","enum":["manuelle","automatique",null]},"power_hp":{"type":["integer","null"],"description":"Power in hp."},"price_eur":{"type":["integer","null"],"description":"Asking price."},"karoto_estimate_eur":{"type":["integer","null"],"description":"Karoto valuation of the car (asking price expected)."},"price_rating":{"type":["string","null"],"description":"Price rating label (asking price versus valuation), in the language of lang."},"price_rating_id":{"type":["string","null"],"description":"Code of the price rating (same values as the request parameter): top (great deal), good (good deal), fair (fair price), high (high price), very_high (very high price). Compare codes, not labels: labels follow lang.","enum":["top","good","fair","high","very_high",null]},"initial_price_eur":{"type":["integer","null"],"description":"First asking price, when the price has dropped since; null otherwise."},"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"location":{"type":["string","null"],"description":"City, French département or German state (in the language of lang)."},"landed_price_in_france_eur":{"type":["integer","null"],"description":"German listings only: delivered price in France, import costs included."},"saving_vs_france_after_import_eur":{"type":["integer","null"],"description":"German listings only: saving versus the same car bought in France, after import costs."},"seller":{"type":"string","description":"Seller type label, in the language of lang."},"seller_type_id":{"type":["string","null"],"description":"Code of the seller type (same values as the request parameter): pro (dealer), particulier (private seller). Compare codes, not labels: labels follow lang.","enum":["pro","particulier",null]},"department":{"type":["string","null"],"description":"French département code; null in Germany."},"price_drops":{"type":"integer","description":"Number of price drops."},"published_on":{"type":"string","description":"Publication date at the source.","format":"date"},"url":{"type":"string","description":"karoto.fr page of the listing (in the language of lang).","format":"uri"}}}},"all_results_url":{"type":"string","description":"Same search on karoto.fr (in the language of lang).","format":"uri"},"hint":{"type":"string","description":"Present when nothing matched a make: how to check the names."}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listings/feed":{"get":{"operationId":"getListingsFeed","tags":["Listings"],"summary":"Bulk export of all listings for sale (cursor pagination)","description":"Pro plan only. With the other plans, this endpoint answers 402 plan_required. Every de-duplicated listing for sale, 200 per page at most, ordered by id: pass `next_cursor` to the next call until it is null. Each listing carries the search fields plus version, body type, power (kW), engine size, doors, seats, colour, CO2, Crit'Air sticker, Euro norm, electric range, city, equipment and last-seen date, with the codes fuel_id, gearbox_id, price_rating_id, seller_type_id and body_type_id next to the labels. Also: generation, phase (2 = facelift) and trim, read from the seller's title or inferred from Karoto's reference of each model (null when unknown); segment (finer than the body type); drivetrain (4x2 or 4x4); engine_litres; seller_title (the title written by the seller); seller_id (anonymous id shared by the whole stock of one dealer) and listed_on_sites (number of sites carrying the listing), with the codes segment_id and drivetrain_id. Stay in sync afterwards with /listings/events.\n\nCost: 1 request per 20 listings requested (10 for a page of 200).","parameters":[{"name":"cursor","in":"query","required":false,"description":"`next_cursor` of the previous page (omit for the first page).","schema":{"type":"string","maxLength":20}},{"name":"limit","in":"query","required":false,"description":"1 to 200 (default 200).","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"published_since","in":"query","required":false,"description":"Listings published since this date.","schema":{"type":"string","format":"date"}},{"name":"vat_deductible_only","in":"query","required":false,"description":"Only listings with deductible VAT (TVA récupérable / MwSt. ausweisbar).","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listings/feed?country=FR&limit=200\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"x-free-trial":false,"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/PlanRequired"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listings/events":{"get":{"operationId":"getListingEvents","tags":["Listings"],"summary":"Change log: price changes, removals, back online","description":"Business and Pro plans only. With the free trial, pay-as-you-go or Solo, this endpoint answers 402 plan_required. Listing events in order, each with the car concerned (`car`: make, model, slugs, version, year, mileage, country, département, seller type), so a segment can be followed without fetching every listing: `price_change` (old and new asking price), `removed` (the listing went offline; `reason`: expired when it is no longer found at its source, sold or removed when its seller marked it so on Karoto; `last_price_eur`: last asking price), `back_online`. An offline listing may come back: a removal in the liquidity statistics is only counted after 7 days without a sighting, and is not necessarily a sale. Keep `next_after_id` and pass it as `after_id` to the next call. Without after_id or since: the last 24 hours. Filter by country, make and model whenever you can: an unfiltered call with a large limit reads the whole market and can take several seconds (under a second filtered).\n\nCost: 1 request per 100 events requested.","parameters":[{"name":"after_id","in":"query","required":false,"description":"Last event_id received.","schema":{"type":"integer","minimum":0}},{"name":"since","in":"query","required":false,"description":"Events since this date or ISO timestamp.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"1 to 1000 (default 500).","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"make","in":"query","required":false,"description":"Make (with model).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model (with make).","schema":{"type":"string","maxLength":80}},{"name":"types","in":"query","required":false,"description":"Comma-separated event types: price_change, removed, back_online (all by default).","schema":{"type":"string","maxLength":60}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listings/events?since=2026-11-01&country=FR&make=peugeot&model=3008&types=price_change,removed&limit=1000\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"x-free-trial":false,"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["count","next_after_id","events"],"properties":{"count":{"type":"integer","description":"Events in this page."},"next_after_id":{"type":["integer","null"],"description":"Pass it as after_id to the next call."},"events":{"type":"array","items":{"type":"object","required":["event_id","listing_id","type","at","car"],"properties":{"event_id":{"type":"integer","description":"Increasing event id."},"listing_id":{"type":"string","description":"Karoto listing id (see /listings/{id}/history)."},"type":{"type":"string","description":"Event type.","enum":["price_change","removed","back_online"]},"old_price_eur":{"type":["integer","null"],"description":"price_change only: previous asking price."},"new_price_eur":{"type":["integer","null"],"description":"price_change only: new asking price."},"reason":{"type":["string","null"],"description":"removed only: expired (no longer found at its source), sold or removed (marked sold or withdrawn by its seller on Karoto)."},"last_price_eur":{"type":["integer","null"],"description":"removed only: last asking price."},"at":{"type":"string","description":"Time of the event.","format":"date-time"},"car":{"type":"object","required":["make","model","make_slug","model_slug","version","year","mileage_km","country","department","seller_type"],"properties":{"make":{"type":"string","description":"Make."},"model":{"type":"string","description":"Model."},"make_slug":{"type":"string","description":"Make slug."},"model_slug":{"type":"string","description":"Model slug."},"version":{"type":["string","null"],"description":"Version or trim."},"year":{"type":["integer","null"],"description":"Year of first registration."},"mileage_km":{"type":["integer","null"],"description":"Mileage."},"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["string","null"],"description":"French département code; null in Germany."},"seller_type":{"type":"string","description":"pro or particulier (private seller).","enum":["pro","particulier"]}}}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/PlanRequired"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listings/{id}":{"get":{"operationId":"getListing","tags":["Listings"],"summary":"Listing details","description":"Full details of a listing: specifications, equipment, price drops (`price_drops`, `initial_price_eur`, `price_changed_on`: the full dated price history is in /listings/{id}/history), estimate, itemised import cost for a German car, last-seen date, with the codes fuel_id, gearbox_id, body_type_id, price_rating_id and seller_type_id next to the labels. Also: generation, phase (2 = facelift) and trim, read from the seller's title or inferred from Karoto's reference of each model (null when unknown); segment (finer than the body type); drivetrain (4x2 or 4x4); engine_litres; seller_title (the title written by the seller); seller_id (anonymous id shared by the whole stock of one dealer) and listed_on_sites (number of sites carrying the listing), with the codes segment_id and drivetrain_id. `available: false` when the car is no longer for sale.\n\nCost: 1 request.","parameters":[{"name":"id","in":"path","required":true,"description":"Karoto listing id (12 characters), as returned by /listings.","schema":{"type":"string","pattern":"^[0-9a-z]{12}$"}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listings/{id}\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/listings/{id}/history":{"get":{"operationId":"getListingHistory","tags":["Listings"],"summary":"Life of a listing, even after removal","description":"Full life of a listing, including one no longer for sale: publication date (and whether it is estimated), first and last sighting, first and current or final asking price, every dated price change, number of drops, time on market, Karoto estimate at entry and latest, and its status: `for_sale`, `recently_unseen` (not seen for less than 7 days, it may come back), `removed` (round or unknown mileage: cannot be settled), `removed_probable_sale` (the same car is no longer for sale elsewhere on the sites Karoto follows), `removed_still_for_sale_elsewhere` (the same car is still for sale in another listing: not a sale). `same_car_other_removal_id` names another listing of the same car removed within a day (a car posted on several sites): the probable sale is counted once, on that listing. `days_on_market_fully_observed` is false when the publication date is estimated or earlier than 3 October 2026. Crawl round trips (a listing missed once, then seen again) are not market events and are not listed. Asking prices, not transaction prices.\n\nCost: 1 request.","parameters":[{"name":"id","in":"path","required":true,"description":"Karoto listing id (12 characters), as returned by /listings, /listings/feed or /listings/events — online or not.","schema":{"type":"string","pattern":"^[0-9a-z]{12}$"}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/listings/{id}/history\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["id","make","model","version","year","mileage_km","country","department","seller_type","published_on","published_date_estimated","first_seen_on","last_seen_on","status","same_car_other_removal_id","days_on_market","days_on_market_fully_observed","first_asking_price_eur","current_or_final_asking_price_eur","total_price_change","price_drops","price_history","karoto_estimate_eur","listing_url","definitions"],"properties":{"id":{"type":"string","description":"Karoto listing id."},"make":{"type":"string","description":"Make."},"model":{"type":"string","description":"Model."},"version":{"type":["string","null"],"description":"Version or trim."},"year":{"type":["integer","null"],"description":"Year of first registration."},"mileage_km":{"type":["integer","null"],"description":"Mileage."},"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["string","null"],"description":"French département code; null in Germany."},"seller_type":{"type":"string","description":"pro or particulier (private seller).","enum":["pro","particulier"]},"published_on":{"type":"string","description":"Publication date at the source.","format":"date"},"published_date_estimated":{"type":"boolean","description":"true when the source does not give the publication date (estimated from the first sighting)."},"first_seen_on":{"type":"string","description":"First sighting by Karoto.","format":"date"},"last_seen_on":{"type":"string","description":"Last sighting by Karoto.","format":"date"},"status":{"type":"string","description":"for_sale: online; recently_unseen: not seen for less than 7 days (it may come back); removed: removal whose mileage is round or unknown (undecidable); removed_probable_sale: probable sale, the same car is no longer for sale elsewhere on the sites Karoto follows; removed_still_for_sale_elsewhere: removal, but the same car is still (or again) for sale in another listing — not a sale.","enum":["for_sale","recently_unseen","removed","removed_probable_sale","removed_still_for_sale_elsewhere"]},"same_car_other_removal_id":{"type":["string","null"],"description":"Another listing of the same car (exact mileage), removed within a day of this one: the car was posted on several sites. The probable sale is counted once, on that listing; to count sales, keep the listings where this field is null."},"days_on_market":{"type":"number","description":"Days from publication to last sighting (to today while for sale), 1 decimal."},"days_on_market_fully_observed":{"type":"boolean","description":"false when the publication date is estimated or earlier than 3 October 2026 (start of full collection): only fully observed listings enter the cohort of the liquidity statistics (days_to_probable_sale)."},"first_asking_price_eur":{"type":["integer","null"],"description":"First asking price seen."},"current_or_final_asking_price_eur":{"type":["integer","null"],"description":"Current asking price, or the last one before removal."},"total_price_change":{"type":["number","null"],"description":"Current or final asking price / first asking price − 1 (−0.06 = 6% lower). 3 decimals."},"price_drops":{"type":"integer","description":"Number of price drops."},"price_history":{"type":"array","description":"Every asking-price change, oldest first (200 at most). Temporary disappearances (a listing missed by one crawl, then seen again) are not market events and are not listed.","items":{"type":"object","required":["on","from_eur","to_eur"],"properties":{"on":{"type":"string","description":"Day of the change.","format":"date"},"from_eur":{"type":["integer","null"],"description":"Previous asking price."},"to_eur":{"type":["integer","null"],"description":"New asking price."}}}},"karoto_estimate_eur":{"type":"object","required":["at_entry","latest"],"properties":{"at_entry":{"type":["integer","null"],"description":"Estimate of the first night (listings first priced from 15 November 2026)."},"latest":{"type":["integer","null"],"description":"Latest estimate (last night online for a removed listing)."}}},"listing_url":{"type":["string","null"],"description":"Karoto page of the listing; null once it is no longer online.","format":"uri"},"definitions":{"type":"object","description":"Definitions used by the figures, repeated in every response.","required":["removal","probable_sale","market_days_supply","days_to_probable_sale","prices","window_days","min_sample","methodology_url"],"properties":{"removal":{"type":"string","description":"Definition of a removal."},"probable_sale":{"type":"string","description":"Definition of a probable sale."},"market_days_supply":{"type":"string","description":"Definition of Market Days Supply (days of active inventory at the 60-day probable-sale pace)."},"days_to_probable_sale":{"type":"string","description":"Definition of the time to a probable sale (survival estimate) and of the shares within 14, 30, 60 and 90 days."},"prices":{"type":"string","description":"Reminder: asking prices, not transaction prices."},"window_days":{"type":"integer","description":"Observation window of removals, in days (60)."},"min_sample":{"type":"integer","description":"Below this number of cars, a median or a share is null (20)."},"methodology_url":{"type":"string","description":"Full methodology.","format":"uri"}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/import-cost":{"get":{"operationId":"getImportCost","tags":["Valuation"],"summary":"Cost of importing a car from Germany to France","description":"Landed price in France of a car bought in Germany: French regional registration tax, CO2 and weight penalties, certificate of conformity, transport, paperwork — itemised, with warnings. When `make` and `model` are given and `co2_g_km` or `weight_kg` is omitted, Karoto takes those of the closest ADEME homologated version (same model and fuel, nearest power): an estimate, not the car's own figure, to be checked on its certificate of conformity (`co2_source`, `weight_source`: `given`, `ademe_homologation`, `power_formula`, `zero_emission` or `unknown`).\n\nCost: 1 request.","parameters":[{"name":"price_eur","in":"query","required":true,"description":"Price in Germany, VAT included.","schema":{"type":"integer","minimum":500,"maximum":2000000}},{"name":"year","in":"query","required":true,"description":"Year of first registration.","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"mileage_km","in":"query","required":true,"description":"Mileage (km).","schema":{"type":"integer","minimum":0,"maximum":2000000}},{"name":"power_hp","in":"query","required":true,"description":"Power in hp.","schema":{"type":"integer","minimum":20,"maximum":2000}},{"name":"month","in":"query","required":false,"description":"Month of first registration.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"co2_g_km","in":"query","required":false,"description":"WLTP or NEDC CO2 (homologated ADEME figure or power estimate used if missing).","schema":{"type":"integer","minimum":0,"maximum":800}},{"name":"weight_kg","in":"query","required":false,"description":"Kerb weight (homologated ADEME kerb weight used if make and model are given).","schema":{"type":"integer","minimum":400,"maximum":5000}},{"name":"make","in":"query","required":false,"description":"Optional make (with model) to look up ADEME homologated CO2 and kerb weight.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Optional model (with make) to look up ADEME homologated CO2 and kerb weight.","schema":{"type":"string","maxLength":80}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/import-cost?price_eur=24000&year=2021&mileage_km=40000&power_hp=150&fuel=diesel\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/model":{"get":{"operationId":"getModelMarket","tags":["Market"],"summary":"Market overview of a model","description":"Cars for sale per country, median prices, median price by year of registration (last 20 years), France/Germany gap for the same car, probable sale pace per country (`probable_sale_pace`: share of the listings published since 3 October 2026 with a probable sale within 14 and 30 days, median days to a probable sale once measurable, median age of the listings for sale — a survival estimate that accounts for cars still for sale; details in /market/liquidity), share of listings with a price drop. `median_days_to_sell` is deprecated and always null: it was the median lifetime of already-removed listings only, biased towards quick removals.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/model?make=renault&model=clio\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/segments":{"get":{"operationId":"getModelSegments","tags":["Market"],"summary":"Prices and mileages by version (year × fuel × power band × gearbox)","description":"For one model, cars for sale grouped by country, year, fuel, gearbox and power band (<90, 90-119, 120-149, 150-199, 200-299, 300+ hp): number of listings, median price, price quartiles and median mileage of each group (last 20 years, groups of at least 5 listings). Each group gives fuel and gearbox with their codes (fuel_id, gearbox_id).\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/segments?make=renault&model=clio&country=FR\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/history":{"get":{"operationId":"getModelHistory","tags":["Market"],"summary":"Daily price index of a model","description":"Daily index of a model's value in France and Germany (100 on the first day), computed for a constant reference car: when the reference car changes, the index is carried over (`linked: false`) instead of reading a change of car as a price move. `latest_reference.car` gives fuel and gearbox with their codes (fuel_id, gearbox_id). Recorded nightly since 2 October 2026.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"name":"since","in":"query","required":false,"description":"From this date.","schema":{"type":"string","format":"date"}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/history?make=volkswagen&model=golf\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/liquidity":{"get":{"operationId":"getMarketLiquidity","tags":["Market"],"summary":"Market liquidity: removals, probable sales, time to a probable sale","description":"How fast a model — or the whole market, without make and model — moves, per country: listings for sale, new listings in the last 7 days, median asking price, and over the last 60 days the removals, the probable sales, the share of removals with a usable mileage whose same car is still for sale elsewhere, the median age of the listings for sale, the time to a probable sale (share within 14, 30, 60 and 90 days, quartiles once reached), the share of probable sales that went through a price drop, the median total drop, and the final asking price compared with the Karoto estimate. Without age_band, `by_age` gives the same figures per age band. Computed every night. Definitions — removal: a listing not seen for at least 7 days (a listing missed by one crawl comes back sooner), dated by its last sighting; probable sale: a removal whose car (same make, model, year, country and exact, non-round mileage) is no longer for sale elsewhere on the sites Karoto follows — with a round or unknown mileage the question cannot be settled and the removal is left out; time to a probable sale: survival estimate (Kaplan-Meier) on the cohort of listings published since 3 October 2026, where listings still for sale and removals that are not probable sales are censored rather than left out — published as the share with a probable sale within 14, 30, 60 and 90 days, and as quartiles once reached; with about six weeks of history in November 2026, under a quarter of the cohort had a probable sale within 30 days and the median was not reached yet: it should become measurable after about 3 to 4 months of collection. listing_age_median_days is the median age of the listings still for sale. All prices are asking prices, never transaction prices. A median or a share computed on fewer than 20 cars is null. First measurements (November 2026): about half of the removals with a usable mileage are the same car still for sale elsewhere — a removal is not a sale.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (both by default).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"age_band","in":"query","required":false,"description":"Age band in years (current year minus year of registration). Not combined with department.","schema":{"type":"string","enum":["0-2","3-5","6-9","10+"]}},{"name":"department","in":"query","required":false,"description":"French département code (33, 69, 2A…); implies France.","schema":{"type":"string","maxLength":3}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/liquidity?make=peugeot&model=3008&country=FR\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["model","make_slug","model_slug","as_of","definitions","markets"],"properties":{"model":{"type":"string","description":"Model name, or “All models”."},"make_slug":{"type":["string","null"],"description":"Make slug; null for the whole market."},"model_slug":{"type":["string","null"],"description":"Model slug; null for the whole market."},"as_of":{"type":"string","description":"Day of the snapshot (computed every night).","format":"date"},"definitions":{"type":"object","description":"Definitions used by the figures, repeated in every response.","required":["removal","probable_sale","market_days_supply","days_to_probable_sale","prices","window_days","min_sample","methodology_url"],"properties":{"removal":{"type":"string","description":"Definition of a removal."},"probable_sale":{"type":"string","description":"Definition of a probable sale."},"market_days_supply":{"type":"string","description":"Definition of Market Days Supply (days of active inventory at the 60-day probable-sale pace)."},"days_to_probable_sale":{"type":"string","description":"Definition of the time to a probable sale (survival estimate) and of the shares within 14, 30, 60 and 90 days."},"prices":{"type":"string","description":"Reminder: asking prices, not transaction prices."},"window_days":{"type":"integer","description":"Observation window of removals, in days (60)."},"min_sample":{"type":"integer","description":"Below this number of cars, a median or a share is null (20)."},"methodology_url":{"type":"string","description":"Full methodology.","format":"uri"}}},"markets":{"type":"array","description":"One row per country (only the requested country, département or age band when given).","items":{"type":"object","required":["country","department","age_band","listings_online","new_listings_7d","median_asking_price_eur","removals","removals_with_known_mileage","probable_sales","estimated_probable_sales","market_days_supply","still_for_sale_elsewhere_share","listing_age_median_days","days_to_probable_sale","sold_within_days_share","price_drop_share","median_total_price_drop","final_asking_price_vs_estimate","median_final_asking_price_eur"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["object","null"],"description":"French département; null for the whole country.","required":["code","name"],"properties":{"code":{"type":"string","description":"Département code (33, 69, 2A…)."},"name":{"type":"string","description":"Département name."}}},"age_band":{"type":["string","null"],"description":"Age band in years (current year minus year of registration); null for all ages.","enum":["0-2","3-5","6-9","10+",null]},"listings_online":{"type":"integer","description":"Listings for sale on the day of the snapshot (duplicates excluded)."},"new_listings_7d":{"type":"integer","description":"Listings first seen by Karoto in the last 7 days."},"median_asking_price_eur":{"type":["integer","null"],"description":"Median asking price of the listings for sale."},"removals":{"type":"integer","description":"Removals over the last 60 days: listings not seen for at least 7 days."},"removals_with_known_mileage":{"type":"integer","description":"Removals with an exact, non-round mileage — the only ones that can be checked against the other listings."},"probable_sales":{"type":"integer","description":"Removals with known mileage whose car is no longer for sale elsewhere on the sites Karoto follows."},"estimated_probable_sales":{"type":["integer","null"],"description":"Probable sales estimated over all removals: removals × probable_sales / removals_with_known_mileage (removals with a round mileage cannot be checked and are assumed to be probable sales in the same proportion). null below 20 probable sales."},"market_days_supply":{"type":["integer","null"],"description":"Days of active inventory at the probable-sale pace of the last 60 days: listings_online / (estimated_probable_sales / 60); null below 20 probable sales."},"still_for_sale_elsewhere_share":{"type":["number","null"],"description":"Share of removals with known mileage whose same car is still (or again) for sale in another listing: these removals are not sales. null below 20 removals with known mileage. 3 decimals."},"listing_age_median_days":{"type":["number","null"],"description":"Median age of the listings for sale, in days since their real publication date (1 decimal; listings with an estimated publication date excluded). It describes the stock, not the time to a probable sale. null below 20 listings for sale."},"days_to_probable_sale":{"type":"object","description":"Time from real publication to a probable sale, estimated by survival analysis (Kaplan-Meier) on the cohort of listings published since 3 October 2026: listings still for sale, and removals that are not probable sales, are censored (counted as “no probable sale yet” for as long as they were observed) instead of being left out. Keeping only completed probable sales would show only the quick ones while the history is short.","required":["method","p25","median","p75","cohort_listings","probable_sales_in_cohort","follow_up_days"],"properties":{"method":{"type":"string","description":"Estimation method.","enum":["kaplan_meier"]},"p25":{"type":["integer","null"],"description":"Days by which 25% of the cohort reached a probable sale; null until that share is reached (or below min_sample probable sales in the cohort)."},"median":{"type":["integer","null"],"description":"Days by which half of the cohort reached a probable sale; null until half of the cohort has. With probable_sales_in_cohort ≥ min_sample, a null median means it is longer than follow_up_days."},"p75":{"type":["integer","null"],"description":"Days by which 75% of the cohort reached a probable sale; null until that share is reached."},"cohort_listings":{"type":"integer","description":"Listings in the cohort: published (real date) since 3 October 2026, duplicates excluded, a car removed from several sites within a day counted once."},"probable_sales_in_cohort":{"type":"integer","description":"Probable sales observed in the cohort (the events of the estimate). Quartiles and shares are null below 20."},"follow_up_days":{"type":["integer","null"],"description":"Longest follow-up in the cohort, in days since publication; null when no listing of the cohort is in this segment."}}},"sold_within_days_share":{"type":"object","description":"Share of the cohort of days_to_probable_sale that reached a probable sale within 14, 30, 60 and 90 days of publication (Kaplan-Meier, censored listings included). null below 20 probable sales in the cohort.","required":["14","30","60","90"],"properties":{"14":{"type":["number","null"],"description":"Share of the cohort with a probable sale within 14 days; null until the cohort has been followed 14 days. 3 decimals."},"30":{"type":["number","null"],"description":"Within 30 days; null until the cohort has been followed 30 days. 3 decimals."},"60":{"type":["number","null"],"description":"Within 60 days; null until the cohort has been followed 60 days. 3 decimals."},"90":{"type":["number","null"],"description":"Within 90 days; null until the cohort has been followed 90 days. 3 decimals."}}},"price_drop_share":{"type":["number","null"],"description":"Share of probable sales whose asking price dropped at least once. null below 20 probable sales. 3 decimals."},"median_total_price_drop":{"type":["number","null"],"description":"Median total drop from first to final asking price (0.08 = 8% lower), among probable sales whose price dropped. null below 20 probable sales whose price dropped. 3 decimals."},"final_asking_price_vs_estimate":{"type":["number","null"],"description":"Median ratio of the final asking price to the Karoto estimate of the last night online (0.97 = 3% below the estimate), probable sales. null below 20 probable sales with an estimate. 3 decimals."},"median_final_asking_price_eur":{"type":["integer","null"],"description":"Median final asking price of probable sales — an asking price, not a transaction price. null below 20 probable sales."}}}},"by_age":{"type":"array","description":"Same figures per age band, per country. Present only when age_band is not given (empty with department).","items":{"type":"object","required":["country","department","age_band","listings_online","new_listings_7d","median_asking_price_eur","removals","removals_with_known_mileage","probable_sales","estimated_probable_sales","market_days_supply","still_for_sale_elsewhere_share","listing_age_median_days","days_to_probable_sale","sold_within_days_share","price_drop_share","median_total_price_drop","final_asking_price_vs_estimate","median_final_asking_price_eur"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["object","null"],"description":"French département; null for the whole country.","required":["code","name"],"properties":{"code":{"type":"string","description":"Département code (33, 69, 2A…)."},"name":{"type":"string","description":"Département name."}}},"age_band":{"type":["string","null"],"description":"Age band in years (current year minus year of registration); null for all ages.","enum":["0-2","3-5","6-9","10+",null]},"listings_online":{"type":"integer","description":"Listings for sale on the day of the snapshot (duplicates excluded)."},"new_listings_7d":{"type":"integer","description":"Listings first seen by Karoto in the last 7 days."},"median_asking_price_eur":{"type":["integer","null"],"description":"Median asking price of the listings for sale."},"removals":{"type":"integer","description":"Removals over the last 60 days: listings not seen for at least 7 days."},"removals_with_known_mileage":{"type":"integer","description":"Removals with an exact, non-round mileage — the only ones that can be checked against the other listings."},"probable_sales":{"type":"integer","description":"Removals with known mileage whose car is no longer for sale elsewhere on the sites Karoto follows."},"estimated_probable_sales":{"type":["integer","null"],"description":"Probable sales estimated over all removals: removals × probable_sales / removals_with_known_mileage (removals with a round mileage cannot be checked and are assumed to be probable sales in the same proportion). null below 20 probable sales."},"market_days_supply":{"type":["integer","null"],"description":"Days of active inventory at the probable-sale pace of the last 60 days: listings_online / (estimated_probable_sales / 60); null below 20 probable sales."},"still_for_sale_elsewhere_share":{"type":["number","null"],"description":"Share of removals with known mileage whose same car is still (or again) for sale in another listing: these removals are not sales. null below 20 removals with known mileage. 3 decimals."},"listing_age_median_days":{"type":["number","null"],"description":"Median age of the listings for sale, in days since their real publication date (1 decimal; listings with an estimated publication date excluded). It describes the stock, not the time to a probable sale. null below 20 listings for sale."},"days_to_probable_sale":{"type":"object","description":"Time from real publication to a probable sale, estimated by survival analysis (Kaplan-Meier) on the cohort of listings published since 3 October 2026: listings still for sale, and removals that are not probable sales, are censored (counted as “no probable sale yet” for as long as they were observed) instead of being left out. Keeping only completed probable sales would show only the quick ones while the history is short.","required":["method","p25","median","p75","cohort_listings","probable_sales_in_cohort","follow_up_days"],"properties":{"method":{"type":"string","description":"Estimation method.","enum":["kaplan_meier"]},"p25":{"type":["integer","null"],"description":"Days by which 25% of the cohort reached a probable sale; null until that share is reached (or below min_sample probable sales in the cohort)."},"median":{"type":["integer","null"],"description":"Days by which half of the cohort reached a probable sale; null until half of the cohort has. With probable_sales_in_cohort ≥ min_sample, a null median means it is longer than follow_up_days."},"p75":{"type":["integer","null"],"description":"Days by which 75% of the cohort reached a probable sale; null until that share is reached."},"cohort_listings":{"type":"integer","description":"Listings in the cohort: published (real date) since 3 October 2026, duplicates excluded, a car removed from several sites within a day counted once."},"probable_sales_in_cohort":{"type":"integer","description":"Probable sales observed in the cohort (the events of the estimate). Quartiles and shares are null below 20."},"follow_up_days":{"type":["integer","null"],"description":"Longest follow-up in the cohort, in days since publication; null when no listing of the cohort is in this segment."}}},"sold_within_days_share":{"type":"object","description":"Share of the cohort of days_to_probable_sale that reached a probable sale within 14, 30, 60 and 90 days of publication (Kaplan-Meier, censored listings included). null below 20 probable sales in the cohort.","required":["14","30","60","90"],"properties":{"14":{"type":["number","null"],"description":"Share of the cohort with a probable sale within 14 days; null until the cohort has been followed 14 days. 3 decimals."},"30":{"type":["number","null"],"description":"Within 30 days; null until the cohort has been followed 30 days. 3 decimals."},"60":{"type":["number","null"],"description":"Within 60 days; null until the cohort has been followed 60 days. 3 decimals."},"90":{"type":["number","null"],"description":"Within 90 days; null until the cohort has been followed 90 days. 3 decimals."}}},"price_drop_share":{"type":["number","null"],"description":"Share of probable sales whose asking price dropped at least once. null below 20 probable sales. 3 decimals."},"median_total_price_drop":{"type":["number","null"],"description":"Median total drop from first to final asking price (0.08 = 8% lower), among probable sales whose price dropped. null below 20 probable sales whose price dropped. 3 decimals."},"final_asking_price_vs_estimate":{"type":["number","null"],"description":"Median ratio of the final asking price to the Karoto estimate of the last night online (0.97 = 3% below the estimate), probable sales. null below 20 probable sales with an estimate. 3 decimals."},"median_final_asking_price_eur":{"type":["integer","null"],"description":"Median final asking price of probable sales — an asking price, not a transaction price. null below 20 probable sales."}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/liquidity/history":{"get":{"operationId":"getMarketLiquidityHistory","tags":["Market"],"summary":"Daily history of market liquidity","description":"The figures of /market/liquidity night after night for one country (and optionally one model, département or age band), oldest first, 400 nights at most, recorded since November 2026. Definitions — removal: a listing not seen for at least 7 days (a listing missed by one crawl comes back sooner), dated by its last sighting; probable sale: a removal whose car (same make, model, year, country and exact, non-round mileage) is no longer for sale elsewhere on the sites Karoto follows — with a round or unknown mileage the question cannot be settled and the removal is left out; time to a probable sale: survival estimate (Kaplan-Meier) on the cohort of listings published since 3 October 2026, where listings still for sale and removals that are not probable sales are censored rather than left out — published as the share with a probable sale within 14, 30, 60 and 90 days, and as quartiles once reached; with about six weeks of history in November 2026, under a quarter of the cohort had a probable sale within 30 days and the median was not reached yet: it should become measurable after about 3 to 4 months of collection. listing_age_median_days is the median age of the listings still for sale. All prices are asking prices, never transaction prices. A median or a share computed on fewer than 20 cars is null. First measurements (November 2026): about half of the removals with a usable mileage are the same car still for sale elsewhere — a removal is not a sale.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"country","in":"query","required":true,"description":"FR = France, DE = Germany.","schema":{"type":"string","enum":["FR","DE"]}},{"name":"age_band","in":"query","required":false,"description":"Age band in years. Not combined with department.","schema":{"type":"string","enum":["0-2","3-5","6-9","10+"]}},{"name":"department","in":"query","required":false,"description":"French département code; requires country=FR.","schema":{"type":"string","maxLength":3}},{"name":"since","in":"query","required":false,"description":"From this date.","schema":{"type":"string","format":"date"}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/liquidity/history?make=renault&model=clio&country=FR&since=2026-11-01\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["model","country","department","age_band","definitions","days"],"properties":{"model":{"type":"string","description":"Model name, or “All models”."},"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["string","null"],"description":"Département code when requested."},"age_band":{"type":["string","null"],"description":"Age band when requested.","enum":["0-2","3-5","6-9","10+",null]},"definitions":{"type":"object","description":"Definitions used by the figures, repeated in every response.","required":["removal","probable_sale","market_days_supply","days_to_probable_sale","prices","window_days","min_sample","methodology_url"],"properties":{"removal":{"type":"string","description":"Definition of a removal."},"probable_sale":{"type":"string","description":"Definition of a probable sale."},"market_days_supply":{"type":"string","description":"Definition of Market Days Supply (days of active inventory at the 60-day probable-sale pace)."},"days_to_probable_sale":{"type":"string","description":"Definition of the time to a probable sale (survival estimate) and of the shares within 14, 30, 60 and 90 days."},"prices":{"type":"string","description":"Reminder: asking prices, not transaction prices."},"window_days":{"type":"integer","description":"Observation window of removals, in days (60)."},"min_sample":{"type":"integer","description":"Below this number of cars, a median or a share is null (20)."},"methodology_url":{"type":"string","description":"Full methodology.","format":"uri"}}},"days":{"type":"array","description":"One snapshot per night, oldest first (400 at most).","items":{"allOf":[{"type":"object","required":["day"],"properties":{"day":{"type":"string","description":"Day of the snapshot.","format":"date"}}},{"type":"object","required":["country","department","age_band","listings_online","new_listings_7d","median_asking_price_eur","removals","removals_with_known_mileage","probable_sales","estimated_probable_sales","market_days_supply","still_for_sale_elsewhere_share","listing_age_median_days","days_to_probable_sale","sold_within_days_share","price_drop_share","median_total_price_drop","final_asking_price_vs_estimate","median_final_asking_price_eur"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["object","null"],"description":"French département; null for the whole country.","required":["code","name"],"properties":{"code":{"type":"string","description":"Département code (33, 69, 2A…)."},"name":{"type":"string","description":"Département name."}}},"age_band":{"type":["string","null"],"description":"Age band in years (current year minus year of registration); null for all ages.","enum":["0-2","3-5","6-9","10+",null]},"listings_online":{"type":"integer","description":"Listings for sale on the day of the snapshot (duplicates excluded)."},"new_listings_7d":{"type":"integer","description":"Listings first seen by Karoto in the last 7 days."},"median_asking_price_eur":{"type":["integer","null"],"description":"Median asking price of the listings for sale."},"removals":{"type":"integer","description":"Removals over the last 60 days: listings not seen for at least 7 days."},"removals_with_known_mileage":{"type":"integer","description":"Removals with an exact, non-round mileage — the only ones that can be checked against the other listings."},"probable_sales":{"type":"integer","description":"Removals with known mileage whose car is no longer for sale elsewhere on the sites Karoto follows."},"estimated_probable_sales":{"type":["integer","null"],"description":"Probable sales estimated over all removals: removals × probable_sales / removals_with_known_mileage (removals with a round mileage cannot be checked and are assumed to be probable sales in the same proportion). null below 20 probable sales."},"market_days_supply":{"type":["integer","null"],"description":"Days of active inventory at the probable-sale pace of the last 60 days: listings_online / (estimated_probable_sales / 60); null below 20 probable sales."},"still_for_sale_elsewhere_share":{"type":["number","null"],"description":"Share of removals with known mileage whose same car is still (or again) for sale in another listing: these removals are not sales. null below 20 removals with known mileage. 3 decimals."},"listing_age_median_days":{"type":["number","null"],"description":"Median age of the listings for sale, in days since their real publication date (1 decimal; listings with an estimated publication date excluded). It describes the stock, not the time to a probable sale. null below 20 listings for sale."},"days_to_probable_sale":{"type":"object","description":"Time from real publication to a probable sale, estimated by survival analysis (Kaplan-Meier) on the cohort of listings published since 3 October 2026: listings still for sale, and removals that are not probable sales, are censored (counted as “no probable sale yet” for as long as they were observed) instead of being left out. Keeping only completed probable sales would show only the quick ones while the history is short.","required":["method","p25","median","p75","cohort_listings","probable_sales_in_cohort","follow_up_days"],"properties":{"method":{"type":"string","description":"Estimation method.","enum":["kaplan_meier"]},"p25":{"type":["integer","null"],"description":"Days by which 25% of the cohort reached a probable sale; null until that share is reached (or below min_sample probable sales in the cohort)."},"median":{"type":["integer","null"],"description":"Days by which half of the cohort reached a probable sale; null until half of the cohort has. With probable_sales_in_cohort ≥ min_sample, a null median means it is longer than follow_up_days."},"p75":{"type":["integer","null"],"description":"Days by which 75% of the cohort reached a probable sale; null until that share is reached."},"cohort_listings":{"type":"integer","description":"Listings in the cohort: published (real date) since 3 October 2026, duplicates excluded, a car removed from several sites within a day counted once."},"probable_sales_in_cohort":{"type":"integer","description":"Probable sales observed in the cohort (the events of the estimate). Quartiles and shares are null below 20."},"follow_up_days":{"type":["integer","null"],"description":"Longest follow-up in the cohort, in days since publication; null when no listing of the cohort is in this segment."}}},"sold_within_days_share":{"type":"object","description":"Share of the cohort of days_to_probable_sale that reached a probable sale within 14, 30, 60 and 90 days of publication (Kaplan-Meier, censored listings included). null below 20 probable sales in the cohort.","required":["14","30","60","90"],"properties":{"14":{"type":["number","null"],"description":"Share of the cohort with a probable sale within 14 days; null until the cohort has been followed 14 days. 3 decimals."},"30":{"type":["number","null"],"description":"Within 30 days; null until the cohort has been followed 30 days. 3 decimals."},"60":{"type":["number","null"],"description":"Within 60 days; null until the cohort has been followed 60 days. 3 decimals."},"90":{"type":["number","null"],"description":"Within 90 days; null until the cohort has been followed 90 days. 3 decimals."}}},"price_drop_share":{"type":["number","null"],"description":"Share of probable sales whose asking price dropped at least once. null below 20 probable sales. 3 decimals."},"median_total_price_drop":{"type":["number","null"],"description":"Median total drop from first to final asking price (0.08 = 8% lower), among probable sales whose price dropped. null below 20 probable sales whose price dropped. 3 decimals."},"final_asking_price_vs_estimate":{"type":["number","null"],"description":"Median ratio of the final asking price to the Karoto estimate of the last night online (0.97 = 3% below the estimate), probable sales. null below 20 probable sales with an estimate. 3 decimals."},"median_final_asking_price_eur":{"type":["integer","null"],"description":"Median final asking price of probable sales — an asking price, not a transaction price. null below 20 probable sales."}}}]}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/liquidity/departments":{"get":{"operationId":"getMarketLiquidityDepartments","tags":["Market"],"summary":"Market liquidity by French département","description":"France only: the figures of /market/liquidity for each département with at least 10 listings for sale or removed, for one model or the whole market, fastest first (share with a probable sale within 30 days). Definitions — removal: a listing not seen for at least 7 days (a listing missed by one crawl comes back sooner), dated by its last sighting; probable sale: a removal whose car (same make, model, year, country and exact, non-round mileage) is no longer for sale elsewhere on the sites Karoto follows — with a round or unknown mileage the question cannot be settled and the removal is left out; time to a probable sale: survival estimate (Kaplan-Meier) on the cohort of listings published since 3 October 2026, where listings still for sale and removals that are not probable sales are censored rather than left out — published as the share with a probable sale within 14, 30, 60 and 90 days, and as quartiles once reached; with about six weeks of history in November 2026, under a quarter of the cohort had a probable sale within 30 days and the median was not reached yet: it should become measurable after about 3 to 4 months of collection. listing_age_median_days is the median age of the listings still for sale. All prices are asking prices, never transaction prices. A median or a share computed on fewer than 20 cars is null. First measurements (November 2026): about half of the removals with a usable mileage are the same car still for sale elsewhere — a removal is not a sale.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/liquidity/departments?make=renault&model=clio\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["model","as_of","definitions","departments"],"properties":{"model":{"type":"string","description":"Model name, or “All models”."},"as_of":{"type":"string","description":"Day of the snapshot.","format":"date"},"definitions":{"type":"object","description":"Definitions used by the figures, repeated in every response.","required":["removal","probable_sale","market_days_supply","days_to_probable_sale","prices","window_days","min_sample","methodology_url"],"properties":{"removal":{"type":"string","description":"Definition of a removal."},"probable_sale":{"type":"string","description":"Definition of a probable sale."},"market_days_supply":{"type":"string","description":"Definition of Market Days Supply (days of active inventory at the 60-day probable-sale pace)."},"days_to_probable_sale":{"type":"string","description":"Definition of the time to a probable sale (survival estimate) and of the shares within 14, 30, 60 and 90 days."},"prices":{"type":"string","description":"Reminder: asking prices, not transaction prices."},"window_days":{"type":"integer","description":"Observation window of removals, in days (60)."},"min_sample":{"type":"integer","description":"Below this number of cars, a median or a share is null (20)."},"methodology_url":{"type":"string","description":"Full methodology.","format":"uri"}}},"departments":{"type":"array","description":"One row per French département, fastest first (highest share with a probable sale within 30 days; départements without a published share last).","items":{"type":"object","required":["country","department","age_band","listings_online","new_listings_7d","median_asking_price_eur","removals","removals_with_known_mileage","probable_sales","estimated_probable_sales","market_days_supply","still_for_sale_elsewhere_share","listing_age_median_days","days_to_probable_sale","sold_within_days_share","price_drop_share","median_total_price_drop","final_asking_price_vs_estimate","median_final_asking_price_eur"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"department":{"type":["object","null"],"description":"French département; null for the whole country.","required":["code","name"],"properties":{"code":{"type":"string","description":"Département code (33, 69, 2A…)."},"name":{"type":"string","description":"Département name."}}},"age_band":{"type":["string","null"],"description":"Age band in years (current year minus year of registration); null for all ages.","enum":["0-2","3-5","6-9","10+",null]},"listings_online":{"type":"integer","description":"Listings for sale on the day of the snapshot (duplicates excluded)."},"new_listings_7d":{"type":"integer","description":"Listings first seen by Karoto in the last 7 days."},"median_asking_price_eur":{"type":["integer","null"],"description":"Median asking price of the listings for sale."},"removals":{"type":"integer","description":"Removals over the last 60 days: listings not seen for at least 7 days."},"removals_with_known_mileage":{"type":"integer","description":"Removals with an exact, non-round mileage — the only ones that can be checked against the other listings."},"probable_sales":{"type":"integer","description":"Removals with known mileage whose car is no longer for sale elsewhere on the sites Karoto follows."},"estimated_probable_sales":{"type":["integer","null"],"description":"Probable sales estimated over all removals: removals × probable_sales / removals_with_known_mileage (removals with a round mileage cannot be checked and are assumed to be probable sales in the same proportion). null below 20 probable sales."},"market_days_supply":{"type":["integer","null"],"description":"Days of active inventory at the probable-sale pace of the last 60 days: listings_online / (estimated_probable_sales / 60); null below 20 probable sales."},"still_for_sale_elsewhere_share":{"type":["number","null"],"description":"Share of removals with known mileage whose same car is still (or again) for sale in another listing: these removals are not sales. null below 20 removals with known mileage. 3 decimals."},"listing_age_median_days":{"type":["number","null"],"description":"Median age of the listings for sale, in days since their real publication date (1 decimal; listings with an estimated publication date excluded). It describes the stock, not the time to a probable sale. null below 20 listings for sale."},"days_to_probable_sale":{"type":"object","description":"Time from real publication to a probable sale, estimated by survival analysis (Kaplan-Meier) on the cohort of listings published since 3 October 2026: listings still for sale, and removals that are not probable sales, are censored (counted as “no probable sale yet” for as long as they were observed) instead of being left out. Keeping only completed probable sales would show only the quick ones while the history is short.","required":["method","p25","median","p75","cohort_listings","probable_sales_in_cohort","follow_up_days"],"properties":{"method":{"type":"string","description":"Estimation method.","enum":["kaplan_meier"]},"p25":{"type":["integer","null"],"description":"Days by which 25% of the cohort reached a probable sale; null until that share is reached (or below min_sample probable sales in the cohort)."},"median":{"type":["integer","null"],"description":"Days by which half of the cohort reached a probable sale; null until half of the cohort has. With probable_sales_in_cohort ≥ min_sample, a null median means it is longer than follow_up_days."},"p75":{"type":["integer","null"],"description":"Days by which 75% of the cohort reached a probable sale; null until that share is reached."},"cohort_listings":{"type":"integer","description":"Listings in the cohort: published (real date) since 3 October 2026, duplicates excluded, a car removed from several sites within a day counted once."},"probable_sales_in_cohort":{"type":"integer","description":"Probable sales observed in the cohort (the events of the estimate). Quartiles and shares are null below 20."},"follow_up_days":{"type":["integer","null"],"description":"Longest follow-up in the cohort, in days since publication; null when no listing of the cohort is in this segment."}}},"sold_within_days_share":{"type":"object","description":"Share of the cohort of days_to_probable_sale that reached a probable sale within 14, 30, 60 and 90 days of publication (Kaplan-Meier, censored listings included). null below 20 probable sales in the cohort.","required":["14","30","60","90"],"properties":{"14":{"type":["number","null"],"description":"Share of the cohort with a probable sale within 14 days; null until the cohort has been followed 14 days. 3 decimals."},"30":{"type":["number","null"],"description":"Within 30 days; null until the cohort has been followed 30 days. 3 decimals."},"60":{"type":["number","null"],"description":"Within 60 days; null until the cohort has been followed 60 days. 3 decimals."},"90":{"type":["number","null"],"description":"Within 90 days; null until the cohort has been followed 90 days. 3 decimals."}}},"price_drop_share":{"type":["number","null"],"description":"Share of probable sales whose asking price dropped at least once. null below 20 probable sales. 3 decimals."},"median_total_price_drop":{"type":["number","null"],"description":"Median total drop from first to final asking price (0.08 = 8% lower), among probable sales whose price dropped. null below 20 probable sales whose price dropped. 3 decimals."},"final_asking_price_vs_estimate":{"type":["number","null"],"description":"Median ratio of the final asking price to the Karoto estimate of the last night online (0.97 = 3% below the estimate), probable sales. null below 20 probable sales with an estimate. 3 decimals."},"median_final_asking_price_eur":{"type":["integer","null"],"description":"Median final asking price of probable sales — an asking price, not a transaction price. null below 20 probable sales."}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/price-to-sell":{"get":{"operationId":"getPriceToSell","tags":["Market"],"summary":"Probable-sale pace by first asking price","description":"For a model in France or Germany: share of the cars that found a buyer (probable sale) within 14 and 30 days, by range of first asking price relative to the Karoto valuation (from more than 10% below to more than 10% above). With year and mileage_km, each range is also given in euros for that car, with its valuation. Measured every night on the listings published since the start of the collection and followed for at least 30 days, at an exact mileage; a model with too few listings gets the figures of its whole country (scope = market). Asking prices, observed shares: not a guarantee.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"year","in":"query","required":false,"description":"Year of first registration (with mileage_km: prices in euros for this car).","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"mileage_km","in":"query","required":false,"description":"Mileage in km (with year).","schema":{"type":"integer","minimum":0,"maximum":2000000}},{"name":"power_hp","in":"query","required":false,"description":"Power in hp (refines the valuation).","schema":{"type":"integer","minimum":20,"maximum":2000}},{"name":"fuel","in":"query","required":false,"description":"Fuel. French codes: essence (petrol, gasoline), diesel, hybride (hybrid, not plug-in), hybride_rechargeable (plug-in hybrid), electrique (electric), gpl (LPG), ethanol (E85 ethanol), gnv (CNG, natural gas), hydrogene (hydrogen), autre (other fuel). “petrol” or “electric” are refused: use the codes.","schema":{"type":"string","enum":["essence","diesel","hybride","hybride_rechargeable","electrique","gpl","ethanol","gnv","hydrogene","autre"]}},{"name":"gearbox","in":"query","required":false,"description":"Gearbox. French codes: manuelle (manual), automatique (automatic). “manual” or “automatic” are refused: use the codes.","schema":{"type":"string","enum":["manuelle","automatique"]}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/price-to-sell?make=peugeot&model=3008&year=2021&mileage_km=60000\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["model","make_slug","model_slug","country","scope","as_of","valuation_eur","definitions","positions"],"properties":{"model":{"type":"string","description":"Model name."},"make_slug":{"type":"string","description":"Make identifier."},"model_slug":{"type":"string","description":"Model identifier."},"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"scope":{"type":"string","description":"model: the model's own listings; market: every model of the country (the model has too few listings).","enum":["model","market"]},"as_of":{"type":"string","description":"Day of the nightly measurement.","format":"date"},"valuation_eur":{"type":["integer","null"],"description":"Karoto valuation of the car in that country, when year and mileage_km are given."},"definitions":{"type":"object","description":"Definitions of the fields (price_vs_valuation, probable_sale, cohort, scope, prices)."},"positions":{"type":"array","description":"Six ranges of first asking price relative to the valuation, from more than 10% below to more than 10% above.","items":{"type":"object","required":["position","price_vs_valuation","price_range_eur","listings","probable_sale_within_14_days_share","probable_sale_within_30_days_share"],"properties":{"position":{"type":"string","description":"Range identifier.","enum":["more_than_10_below","5_to_10_below","0_to_5_below","0_to_5_above","5_to_10_above","more_than_10_above"]},"price_vs_valuation":{"type":"object","description":"First asking price / valuation.","required":["from","to"],"properties":{"from":{"type":["number","null"],"description":"Lower bound (null: open)."},"to":{"type":["number","null"],"description":"Upper bound, excluded (null: open)."}}},"price_range_eur":{"type":["object","null"],"description":"The range in euros for the car given (null without year and mileage_km).","required":["from","to"],"properties":{"from":{"type":["integer","null"],"description":"From (€)."},"to":{"type":["integer","null"],"description":"To (€), excluded."}}},"listings":{"type":"integer","description":"Listings in the range (followed at least 30 days, exact mileage)."},"probable_sale_within_14_days_share":{"type":["number","null"],"description":"Share with a probable sale within 14 days of publication. 3 decimals."},"probable_sale_within_30_days_share":{"type":["number","null"],"description":"Share with a probable sale within 30 days of publication. 3 decimals."}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/depreciation":{"get":{"operationId":"getModelDepreciation","tags":["Market"],"summary":"Depreciation curve of a model","description":"Value of the most common version year after year (model's average mileage), loss over 3 and 5 years, best age to buy, and the market's average retained value for comparison. `reference_version` gives fuel and gearbox with their codes (fuel_id, gearbox_id).\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/depreciation?make=toyota&model=yaris\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/france-germany":{"get":{"operationId":"getFranceGermanyGaps","tags":["Market"],"summary":"Models cheaper in Germany (or France)","description":"Models with their price gap between France and Germany for the same car (`germany_vs_france`) and the saving after import costs. With cheaper_in=DE (default), only models whose saving after import is at least €500 are kept, ranked by that saving as a share of the French price (`saving_after_import_eur / price_france_eur`, largest first) rather than by `germany_vs_france`: fewer than `limit` models can come back. With cheaper_in=FR, models are ranked by `germany_vs_france`, largest first. Common passenger cars of the last 15 years.\n\nCost: 1 request.","parameters":[{"name":"cheaper_in","in":"query","required":false,"description":"DE (default): models cheaper in Germany; FR: cheaper in France.","schema":{"type":"string","enum":["DE","FR"]}},{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"limit","in":"query","required":false,"description":"1 to 200 (default 10).","schema":{"type":"integer","minimum":1,"maximum":200}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/france-germany?cheaper_in=DE&limit=50\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/deals":{"get":{"operationId":"getBestDeals","tags":["Market"],"summary":"Best deals right now","description":"Recent listings priced well below Karoto's estimate (“very good deal”), with their price / estimate ratio. Each listing has the same fields as in /listings (labels and their codes).\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"year","in":"query","required":false,"description":"Year.","schema":{"type":"integer","minimum":1950}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"limit","in":"query","required":false,"description":"1 to 50 (default 10).","schema":{"type":"integer","minimum":1,"maximum":50}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/deals?country=DE&limit=20\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/market/departments":{"get":{"operationId":"getDepartmentPrices","tags":["Market"],"summary":"Used-car prices by French département","description":"Without parameters: price gap of each French département and region versus the national average for the same car, with its margin of error, median price, year and mileage, and share of dealers. With make and model: the same gap for that model only (départements with at least 30 listings).\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/market/departments?make=renault&model=clio\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/quality/accuracy":{"get":{"operationId":"getEstimateAccuracy","tags":["Quality"],"summary":"Measured accuracy of the Karoto estimate","description":"How close the Karoto estimate is to the final asking price of probable sales removed in the last 60 days, per country, for all cars and per age band, fuel and price band: number of cars, median absolute error, share within ±10% and ±20%, median bias. `basis` model: tonight's price model applied to the same probable sales, at each car's age on the day it left (out-of-sample test of the current model); exit: estimate of the last night online; entry: estimate of the first night (listings first priced from 15 November 2026). Segments of fewer than 20 cars are not published. Measured against asking prices, not transaction prices. Not counted against your quota (an API key is still required; available during the free trial), but counted in the per-minute limit.\n\nCost: free.","parameters":[{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/quality/accuracy\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["as_of","method","methodology_url","segments"],"properties":{"as_of":{"type":"string","description":"Day of the measurement.","format":"date"},"method":{"type":"string","description":"How the accuracy is measured."},"methodology_url":{"type":"string","description":"Full methodology.","format":"uri"},"segments":{"type":"array","items":{"type":"object","required":["country","axis","segment","basis","sample","median_absolute_error","within_10_percent","within_20_percent","median_bias"],"properties":{"country":{"type":"string","description":"FR = France, DE = Germany.","enum":["FR","DE"]},"axis":{"type":"string","description":"Breakdown: all cars, age band, fuel, or price band (final asking price).","enum":["all","age","fuel","price"]},"segment":{"type":["string","null"],"description":"Segment on that axis: age band (0-2, 3-5, 6-9, 10+), fuel (essence, diesel, hybride, hybride_rechargeable, electrique, gpl, ethanol, gnv, hydrogene, inconnue), price band (<10k, 10-20k, 20-40k, 40k+); null for axis \"all\"."},"basis":{"type":"string","description":"model: tonight's price model applied to the same probable sales, at each car's age on the day it left (out-of-sample: they are no longer online); exit: estimate of the last night online; entry: estimate of the first night (listings first priced from 15 November 2026).","enum":["model","exit","entry"]},"sample":{"type":"integer","description":"Probable sales compared (segments below 20 are not published)."},"median_absolute_error":{"type":["number","null"],"description":"Median absolute gap between the final asking price and the estimate (0.07 = 7%). 3 decimals."},"within_10_percent":{"type":["number","null"],"description":"Share of cars whose final asking price is within ±10% of the estimate. 3 decimals."},"within_20_percent":{"type":["number","null"],"description":"Share within ±20%. 3 decimals."},"median_bias":{"type":["number","null"],"description":"Median of final asking price / estimate − 1: positive when asking prices are above the estimate. 3 decimals."}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/makes":{"get":{"operationId":"getMakes","tags":["Catalog"],"summary":"Makes and number of listings","description":"Make names and slugs with their number of listings for sale, most listed first. `catalogue_makes` is the number of makes in Karoto's reference catalogue, not the length of the list. Names in French, German or English are accepted wherever a make or model is expected.\n\nCost: 1 request.","parameters":[{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany: count only the listings of that country (both by default).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"limit","in":"query","required":false,"description":"Up to 300.","schema":{"type":"integer","minimum":1,"maximum":300}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/makes\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["makes","catalogue_makes"],"properties":{"makes":{"type":"array","description":"Makes found in the listings for sale (of the country, with country), most listed first.","items":{"type":"object","required":["make","slug","listings"],"properties":{"make":{"type":"string","description":"Make name."},"slug":{"type":"string","description":"Make slug."},"listings":{"type":"integer","description":"Listings for sale."}}}},"catalogue_makes":{"type":"integer","description":"Number of makes in Karoto's reference catalogue (the makes most traded in France and Germany, with the model names and aliases used to recognise what you type). It is not the length of makes, which lists every make found in the listings."},"country":{"type":"string","description":"Country requested, echoed when given.","enum":["FR","DE"]}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/models":{"get":{"operationId":"getModels","tags":["Catalog"],"summary":"Models of a make and number of listings","description":"Model names and slugs of a make with their number of listings for sale, most listed first. Names are French by default (“Série 3”, “Classe C”), English or German with lang; names in all three languages are accepted as input (“3er”, “C-Klasse”, “3 Series”).\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany: count only the listings of that country (both by default).","schema":{"type":"string","enum":["FR","DE"]}},{"name":"limit","in":"query","required":false,"description":"Up to 500.","schema":{"type":"integer","minimum":1,"maximum":500}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/models?make=peugeot\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"type":"object","required":["make","slug","models"],"properties":{"make":{"type":"string","description":"Make name."},"slug":{"type":"string","description":"Make slug."},"country":{"type":"string","description":"Country requested, echoed when given.","enum":["FR","DE"]},"models":{"type":"array","description":"Models of the make with listings for sale (of the country, with country; empty when the make has none there), most listed first.","items":{"type":"object","required":["model","slug","listings"],"properties":{"model":{"type":"string","description":"Model name: French by default (“Série 3”, “Classe C”), in English or German with lang (“3 Series”, “3er”)."},"slug":{"type":"string","description":"Model slug, stable."},"listings":{"type":"integer","description":"Listings for sale."}}}}}},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/variants":{"get":{"operationId":"getVariants","tags":["Catalog"],"summary":"Engines (fuel, power, gearbox) and trims of a model","description":"Fuel × power × gearbox combinations of the listings online (at least 3 listings for one year, 5 otherwise), most common first: `id`, engine name from the version labels (“1.5 HDi 130”), codes in `fuel_id` and `gearbox_id`, `fuel` and `gearbox` (the same codes without lang, as originally; labels in that language with lang), power_hp, power_kw, years, listings, share, most common trims, and `valuation_params` (codes) to pass as they are to /valuation. Trims do not change the valuation. Near-duplicate powers of the same engine (100 and 101 hp) and powers in kW typed as hp by some sources are merged into the right variant; `merged_power_hp` lists the original values. When there is no corrected variant to merge into, `power_likely_kw` is true and `likely_power_hp` gives the probable power (140 kW typed as 140 hp: 190 hp); valuation_params keep the power the listings carry. Plug-in hybrids that some sources file as hybride (GTE, eHybrid, E-Tron, iV, C 300 de, T8, P400e…) are recognised from their version labels and offered as hybride_rechargeable; `listings_fuel_ids` gives the fuel codes stored on their listings, for /listings?fuel=. For German KBA codes (HSN/TSN), see /catalog/hsn-tsn; for French CNIT codes, see /catalog/cnit.\n\nCost: 1 request.","parameters":[{"name":"make","in":"query","required":true,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes”.","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":true,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er”.","schema":{"type":"string","maxLength":80}},{"name":"year","in":"query","required":false,"description":"Year of first registration (optional).","schema":{"type":"integer","minimum":1950,"maximum":2100}},{"name":"country","in":"query","required":false,"description":"FR = France, DE = Germany (case-insensitive: fr is read as FR).","schema":{"type":"string","enum":["FR","DE"]}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/variants?make=volkswagen&model=golf&year=2019&country=DE\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/hsn-tsn":{"get":{"operationId":"getHsnTsn","tags":["Catalog"],"summary":"German KBA vehicle identification (HSN / TSN, Fahrzeugschein 2.1 & 2.2)","description":"Official German Kraftfahrt-Bundesamt (KBA) registry mapping 34,000+ HSN/TSN passenger-car and van types to Karoto models, German registered fleet counts (`fleet_count_germany`, as of 1 January 2026) and live engine variants. Three lookup modes: (1) `hsn` + `tsn` (3 to 10 alphanumeric characters from Fahrzeugschein field 2.2; the first 3 characters identify the KBA type) returns the official KBA record, Karoto `make_slug` / `model_slug`, `valuation_params` and `matching_variants` from active German listings; (2) `hsn` alone (optional `model` and `limit`) lists the manufacturer's TSN types ranked by German fleet count; (3) `make` + `model` (no `hsn`) lists the German HSN/TSN codes of that model. You can also pass `hsn` and `tsn` directly to /valuation, /valuation/batch, /residual-value and /listing-check. The KBA file gives the model (commercial name), not always the engine: for a precise valuation, also pass `power_hp` and `fuel` (or pick one of `matching_variants`). Source: Kraftfahrt-Bundesamt, to be credited when reusing this data.\n\nCost: 1 request.","parameters":[{"name":"hsn","in":"query","required":false,"description":"4-digit German KBA manufacturer code (Fahrzeugschein 2.1, e.g. 0603, 0005).","schema":{"type":"string","maxLength":12}},{"name":"tsn","in":"query","required":false,"description":"German KBA type code (3 to 10 alphanumeric characters, Fahrzeugschein 2.2, e.g. BQS).","schema":{"type":"string","maxLength":16}},{"name":"make","in":"query","required":false,"description":"Make, written freely: “Peugeot”, “vw”, “Mercedes” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":60}},{"name":"model","in":"query","required":false,"description":"Model, in French, German or English: “3008”, “Golf 7”, “C-Class”, “C-Klasse”, “Classe C”, “3 Series”, “3er” (required on valuation endpoints unless hsn + tsn or cnit is given).","schema":{"type":"string","maxLength":80}},{"name":"year","in":"query","required":false,"description":"Optional registration year to narrow matching engine variants.","schema":{"type":"integer","minimum":1950,"maximum":2027}},{"name":"limit","in":"query","required":false,"description":"Up to 200 types when listing (default 50).","schema":{"type":"integer","minimum":1,"maximum":200}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/hsn-tsn?hsn=0603&tsn=BQS&year=2020\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/cnit":{"get":{"operationId":"getCnit","tags":["Catalog"],"summary":"French CNIT type-approval lookup (carte grise field D.2.1)","description":"Resolves a French national type-identification code (`cnit`, registration certificate field D.2.1, 10 to 17 alphanumeric characters) against the official UTAC / ADEME homologation database (20,000+ French CNIT codes): Karoto `make_slug` and `model_slug`, commercial designation, `fuel_id`, `gearbox_id`, `power_hp`, `power_kw`, homologated `co2_g_km`, kerb `weight_kg`, French `fiscal_hp`, `euro_norm`, and ready-to-use `valuation_params`. You can also pass `cnit` directly to /valuation, /valuation/batch, /residual-value and /listing-check.\n\nCost: 1 request.","parameters":[{"name":"cnit","in":"query","required":true,"description":"French CNIT code from carte grise field D.2.1 (e.g. M10ALFVP000U221).","schema":{"type":"string","maxLength":24}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/cnit?cnit=M10ALFVP000U221\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/catalog/vin":{"get":{"operationId":"getVin","tags":["Catalog"],"summary":"Validate and decode a 17-character VIN / FIN (ISO 3779)","description":"Validates the 17-character format of a Vehicle Identification Number (VIN / German FIN, ISO 3779, catching invalid lengths and forbidden I/O/Q characters) and decodes its World Manufacturer Identifier (`wmi`, 120+ European, Asian and American plant codes): `make`, `make_slug`, `sister_makes` of the same industrial group, `assembly_country`, `assembly_region`, `vds` and `vis`. When `make` is passed, `claimed_make_match` checks whether the VIN matches the listing's make (`same`, `group`, `different` or `unknown`).\n\nCost: 1 request.","parameters":[{"name":"vin","in":"query","required":true,"description":"17-character VIN / FIN (spaces and hyphens are stripped).","schema":{"type":"string","maxLength":30}},{"name":"make","in":"query","required":false,"description":"Optional claimed make of a listing to verify consistency against the VIN's WMI.","schema":{"type":"string","maxLength":60}},{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/catalog/vin?vin=XP7YGCEK8PB123456\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Success"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/TrialExhausted"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}},"/usage":{"get":{"operationId":"getUsage","tags":["Account"],"summary":"Plan, quota and usage","description":"Current plan, requests used and remaining, per-minute limit. With a paid plan: usage of the month (`month`) and the date the quota resets (`resets_on`). During the free trial: `plan` is `free_trial`, the counts cover the 100 requests offered to the account (never reset, `resets_on` is null), `not_included` lists the endpoints reserved for paid plans and `upgrade_url` the page to choose one (in the language of lang, else of your account). Not counted against the quota, but counted in the per-minute limit like every authenticated call.\n\nCost: free.","parameters":[{"$ref":"#/components/parameters/lang"}],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl \"https://karoto.fr/api/v1/usage\" -H \"Authorization: Bearer $KAROTO_API_KEY\""}],"responses":{"200":{"description":"Success","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"type":"object","required":["data","source"],"properties":{"data":{"description":"Paid plan (monthly quota) or free trial (requests offered once per account), told apart by `plan`.","oneOf":[{"type":"object","description":"Paid plan.","required":["plan","month","requests_used","requests_included","requests_remaining","rate_limit_per_minute","resets_on"],"properties":{"plan":{"type":"string","description":"Active paid plan: conso (pay-as-you-go), solo, business or pro; conso_v1 for the original pay-as-you-go terms.","enum":["conso","solo","business","pro","conso_v1"]},"month":{"type":"string","description":"Billing month, Paris time (YYYY-MM).","pattern":"^\\d{4}-\\d{2}$"},"requests_used":{"type":"integer","description":"Requests used: this month (paid plan) or since the account was created (free trial)."},"requests_included":{"type":"integer","description":"Requests included: the plan's monthly quota (the monthly cap for pay-as-you-go), or 100 for the free trial."},"requests_remaining":{"type":"integer","description":"requests_included − requests_used, never below 0."},"rate_limit_per_minute":{"type":"integer","description":"Requests per minute allowed (burst)."},"resets_on":{"type":"string","description":"First day of next month (Paris time): the monthly quota resets then.","format":"date"}}},{"type":"object","description":"Free trial: 100 requests per account, once.","required":["plan","requests_used","requests_included","requests_remaining","rate_limit_per_minute","resets_on","not_included","upgrade_url"],"properties":{"plan":{"type":"string","description":"No valid paid plan on the account: free trial.","const":"free_trial"},"requests_used":{"type":"integer","description":"Requests used: this month (paid plan) or since the account was created (free trial)."},"requests_included":{"type":"integer","description":"Requests included: the plan's monthly quota (the monthly cap for pay-as-you-go), or 100 for the free trial."},"requests_remaining":{"type":"integer","description":"requests_included − requests_used, never below 0."},"rate_limit_per_minute":{"type":"integer","description":"Requests per minute allowed (burst)."},"resets_on":{"type":"null","description":"Always null: the free trial is offered once per account and never resets."},"not_included":{"type":"array","description":"Endpoints not included in the free trial (paid plans only; 402 plan_required).","items":{"type":"string","enum":["/listings/feed","/listings/events","/valuation/batch","/residual-value/batch"]}},"upgrade_url":{"type":"string","description":"Page to choose a plan.","format":"uri"}}}]},"source":{"type":"string","const":"Karoto (karoto.fr)"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/TooManyRequests"}}}}},"components":{"parameters":{"lang":{"name":"lang","in":"query","required":false,"description":"Language of readable labels (fuel, gearbox, body type, seller, price rating, German states, model names, import cost items, car described) and of karoto.fr links: fr (default, the historical output), en or de. Case-insensitive, once. Codes, slugs, field names and error messages do not change. Any other value: 400 invalid_request, not counted.","schema":{"type":"string","enum":["fr","en","de"]}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key created at https://karoto.fr/compte/api"},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Api-Key"}},"schemas":{"Success":{"type":"object","required":["data","source"],"properties":{"data":{"description":"Endpoint-specific payload."},"source":{"type":"string","const":"Karoto (karoto.fr)"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_request","invalid_json","key_in_url","missing_key","invalid_key","plan_required","trial_exhausted","not_found","method_not_allowed","payload_too_large","rate_limited","quota_exceeded","internal_error","busy"],"description":"400 invalid_request (missing, unknown or malformed parameter, invalid lang, control characters U+0000 to U+001F or U+007F in a parameter, or a make or model filter with no letter or digit, such as “---”, on search and market endpoints; not counted, except a value only refused after reading the data: unreadable cursor or date, make or model not found on some endpoints), invalid_json (POST body not valid JSON; not counted), key_in_url (key sent in the URL; not counted); 401 missing_key (no key, or an Authorization header without the Bearer scheme), invalid_key (unknown or revoked key, or unverified e-mail address), with a WWW-Authenticate header; 402 plan_required (endpoint not included in the free trial), trial_exhausted (free trial used up); 404 not_found (unknown make, model, listing or no data for it: counted; unknown endpoint: not counted), a make or model with no letter or digit being an unknown name on valuation, model and catalog endpoints; 405 method_not_allowed (with an Allow header); 413 payload_too_large (POST body over 100,000 bytes); 429 rate_limited (per-minute limit, with Retry-After), quota_exceeded (monthly quota of a paid plan); 500 internal_error; 503 busy (with Retry-After). Only 200 responses, counted 404 and counted 400 are taken from the quota."},"message":{"type":"string","description":"Explanation in English; links to karoto.fr follow lang (else the account's language once the key is known)."}}}}}},"headers":{"X-Quota-Limit":{"description":"Requests included: the paid plan's monthly quota, or 100 during the free trial (per account, once).","schema":{"type":"integer"}},"X-Quota-Remaining":{"description":"Requests left: this month with a paid plan, in the free trial otherwise.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Calls allowed per minute for your account (all keys together). Present on every response after the key check (except 402 plan_required), free endpoints and errors included.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Calls left in the current one-minute window (0 on a 429 rate_limited).","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying (429 rate_limited, 503 busy).","schema":{"type":"integer"}},"X-Quota-Reset":{"description":"Day the monthly quota resets (YYYY-MM-DD, first day of next month, Paris time). Paid plans only: absent during the free trial, which never resets.","required":false,"schema":{"type":"string","format":"date"}}},"responses":{"Error":{"description":"Error (not counted against the quota). X-RateLimit-* headers are present once the key has been checked.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"not_found: unknown make, model or listing, or not enough data for it — counted against the quota, the lookup was done; or unknown endpoint — not counted.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TooManyRequests":{"description":"429 rate_limited (per-minute limit) or quota_exceeded (monthly quota of a paid plan); 503 busy. Not counted. Wait for Retry-After when present.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TrialExhausted":{"description":"trial_exhausted: the 100 free requests of the free trial are used up (or the call costs more than what is left); choose a plan at https://karoto.fr/compte/api.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"PlanRequired":{"description":"plan_required: this endpoint is not included in the free trial (paid plans only); trial_exhausted: the 100 free requests are used up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}