{"openapi":"3.1.0","info":{"title":"MrVIN Partner API","description":"Vehicle history reports for business partners, billed per call.\n\nBuy a report with `POST /v1/reports`. Some sections are assembled asynchronously, so a response may come back with `status: enriching` and the remaining sections named in `pendingSections`; re-read the report with `GET /v1/reports/{reportId}` to collect them. Re-reads are free for the life of the report's access window, and so is the report you already bought — you are charged for the lookup, not for reading it back.\n\nCalls that return an error are never billed.","version":"v1"},"servers":[{"url":"https://api.mrvin.com","description":"Production"}],"security":[{"apiKey":[]}],"paths":{"/v1/reports":{"post":{"tags":["web-partner-report-api"],"summary":"Buy a report","description":"The one billable call. Looks the vehicle up and returns the report. Some sections may still be assembling: then `status` is `enriching` and `pendingSections` names them; re-read the report to collect them, free. A repeat request for the same vehicle inside your charge window returns the same report at no charge.","operationId":"createReport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReportRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-Credit-Balance":{"description":"Remaining prepaid balance in EUR after this call. Prepaid accounts only.","schema":{"type":"string"}},"X-Credits-Remaining":{"description":"Report credits left after this call. Only on accounts that spend report credits.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PartnerReport"}}}},"402":{"description":"No credit left, or the cycle's call allowance is used up. `INSUFFICIENT_CREDIT` means top up; `USAGE_LIMIT_REACHED` means wait for the cycle or ask us to raise it. Never billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"403":{"description":"Not entitled to this endpoint, or the request came from an address outside your allowlist. `FORBIDDEN` or `IP_NOT_ALLOWED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"429":{"description":"Rate limit exceeded. `RATE_LIMITED`. Honour the `Retry-After` header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"503":{"description":"A source we depend on is unavailable. `UPSTREAM_UNAVAILABLE`. Never billed; safe to retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/reports/{reportId}":{"get":{"tags":["web-partner-report-api"],"summary":"Read a report you bought","description":"Free for the report's access window, as often as you need. Past the window it answers 410; buy the report again for a current copy.","operationId":"getReport","parameters":[{"name":"reportId","in":"path","description":"The `reportId` returned when the report was bought.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Optional language for display values, for example `de` or `pl`. Codes, dates and numbers are never translated; the PDF is produced in this language.","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PartnerReport"}}}},"404":{"description":"No report with that id on your account. `REPORT_NOT_FOUND`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"410":{"description":"The report is past its access window. `REPORT_EXPIRED`. Buy it again for a current copy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"429":{"description":"Rate limit exceeded. `RATE_LIMITED`. Honour the `Retry-After` header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/reports/{reportId}/pdf":{"get":{"tags":["web-partner-report-api"],"summary":"Get a PDF download link","description":"Free within the access window. The link is short lived; call again when it has lapsed.","operationId":"getReportPdf","parameters":[{"name":"reportId","in":"path","description":"The `reportId` returned when the report was bought.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Optional language for display values, for example `de` or `pl`. Codes, dates and numbers are never translated; the PDF is produced in this language.","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PartnerPdfLink"}}}},"404":{"description":"No report with that id on your account. `REPORT_NOT_FOUND`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"410":{"description":"The report is past its access window. `REPORT_EXPIRED`. Buy it again for a current copy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"429":{"description":"Rate limit exceeded. `RATE_LIMITED`. Honour the `Retry-After` header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"503":{"description":"A source we depend on is unavailable. `UPSTREAM_UNAVAILABLE`. Never billed; safe to retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/reports/{reportId}/images/{kind}":{"get":{"tags":["web-partner-report-api"],"summary":"Fetch a picture of the report","description":"Redirects to a short lived URL of the picture. Use the links the report carries; they are signed and need no key, so a browser can load them directly.","operationId":"getReportImage","parameters":[{"name":"reportId","in":"path","description":"The `reportId` returned when the report was bought.","required":true,"schema":{"type":"string"}},{"name":"kind","in":"path","description":"`model` or `interior`.","required":true,"schema":{"type":"string"}},{"name":"k","in":"query","description":"Part of the signed link the report carries. Do not construct these yourself.","required":false,"schema":{"type":"string"}},{"name":"exp","in":"query","description":"Part of the signed link the report carries. Do not construct these yourself.","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"sig","in":"query","description":"Part of the signed link the report carries. Do not construct these yourself.","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}}},"401":{"description":"Missing, unknown, revoked or expired key. `UNAUTHORIZED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"404":{"description":"No report with that id on your account. `REPORT_NOT_FOUND`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}},"410":{"description":"The report is past its access window. `REPORT_EXPIRED`. Buy it again for a current copy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/ping":{"get":{"tags":["web-partner-ping-api"],"summary":"Is the API up","operationId":"ping","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PingResponse"}}}}}}},"/v1/account":{"get":{"tags":["web-partner-account-api"],"summary":"Your account","description":"Costs nothing. The first call to make: it confirms the key works and tells you what you will be charged.","operationId":"account","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"401":{"description":"Missing, unknown, revoked or expired key. `UNAUTHORIZED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/account/usage":{"get":{"tags":["web-partner-usage-api"],"summary":"Your usage over a date range","operationId":"usage","parameters":[{"name":"from","in":"query","description":"First day, inclusive, YYYY-MM-DD.","required":false,"schema":{"type":"string","format":"date"}},{"name":"to","in":"query","description":"Day after the last day, YYYY-MM-DD.","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}},"401":{"description":"Missing, unknown, revoked or expired key. `UNAUTHORIZED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}},"/v1/account/statements":{"get":{"tags":["web-partner-usage-api"],"summary":"Your closed billing periods","operationId":"statements","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests per minute your account may make.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"string"}}},"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Statement"}}}}},"401":{"description":"Missing, unknown, revoked or expired key. `UNAUTHORIZED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerError"}}}}}}}},"components":{"schemas":{"CreateReportRequest":{"type":"object","description":"What to look up.","properties":{"vin":{"type":"string","description":"The VIN, 17 characters. Case does not matter."},"lang":{"type":"string","description":"Optional language for display values, for example `de` or `pl`. Codes, dates and numbers are never translated. Absent means the original wording."}}},"AccidentEntry":{"type":"object","description":"One damage record: an insurance claim, a repair estimate or a salvage auction sale. Amounts are rounded or given as a range by design.","properties":{"date":{"type":"string","description":"Date of the damage event, often month precision."},"type":{"type":"string","description":"Kind of record: claim, estimate, auction sale."},"description":{"type":"string","description":"What happened, in plain words."},"referenceId":{"type":"integer","format":"int64","description":"Our reference for this record."},"country":{"type":"string","description":"Country of the record, ISO 3166-1 alpha-2."},"damageValue":{"type":"number","format":"double","description":"Damage amount, rounded or the lower bound of a range."},"damageCurrency":{"type":"string","description":"Currency of the damage amounts."},"damageValueMin":{"type":"number","format":"double","description":"Lower bound of the damage range."},"damageValueMax":{"type":"number","format":"double","description":"Upper bound of the damage range."},"damageValueEur":{"type":"number","format":"double","description":"Damage amount converted to EUR."},"otherPartyDamageValue":{"type":"number","format":"double","description":"Damage to the other party where recorded."},"otherPartyDamageCurrency":{"type":"string","description":"Currency of the other party amount."},"otherPartyDamageValueEur":{"type":"number","format":"double","description":"Other party amount in EUR."},"wasVictim":{"type":"boolean","description":"True when this vehicle was the damaged party."},"cause":{"type":"string","description":"Cause in plain words."},"damageZones":{"type":"array","description":"Areas of the vehicle hit.","items":{"type":"string"}},"damagePositions":{"type":"array","description":"Positions within those areas.","items":{"type":"string"}},"partGroups":{"type":"array","description":"Part groups affected.","items":{"type":"string"}},"referenceCode":{"type":"string","description":"Reference code of the record."},"photos":{"type":"array","description":"Damage photos we host.","items":{"$ref":"#/components/schemas/Photo"}},"videos":{"type":"array","description":"Damage videos we host.","items":{"$ref":"#/components/schemas/Video"}},"groupedRecordCount":{"type":"integer","format":"int32","description":"How many near identical records were collapsed into this one."},"registryRecord":{"type":"boolean"}}},"AdSpec":{"type":"object","properties":{"trim":{"type":"string"},"version":{"type":"string"},"variant":{"type":"string"},"firstRegistrationYear":{"type":"integer","format":"int32"},"weightKg":{"type":"integer","format":"int32"},"lengthMm":{"type":"integer","format":"int32"},"widthMm":{"type":"integer","format":"int32"},"heightMm":{"type":"integer","format":"int32"},"co2Gkm":{"type":"integer","format":"int32"},"emissionStandard":{"type":"string"},"gears":{"type":"integer","format":"int32"},"batteryKwh":{"type":"number","format":"double"},"allWheelDrive":{"type":"boolean"},"daysToSell":{"type":"integer","format":"int32"}}},"AuctionEntry":{"type":"object","description":"One North American salvage auction sale. It also appears as a damage record in `accidentHistory`.","properties":{"saleIndex":{"type":"string","description":"Position of this sale in the vehicle's auction history."},"saleDate":{"type":"string","description":"Sale date, ISO 8601."},"saleStatus":{"type":"string","description":"Sold, not sold, or the auction's own wording."},"price":{"type":"string","description":"Sale price as recorded."},"priceAmount":{"type":"integer","format":"int32","description":"Sale price as a number."},"priceCurrency":{"type":"string","description":"Currency of the sale price."},"odometerMi":{"type":"integer","format":"int32","description":"Odometer in miles."},"odometerKm":{"type":"integer","format":"int32","description":"Odometer in km."},"titleType":{"type":"string","description":"Title type at sale, for example salvage."},"primaryDamage":{"type":"string","description":"Main damage."},"secondaryDamage":{"type":"string","description":"Secondary damage."},"estRepairCost":{"type":"string","description":"Estimated repair cost."},"bodyStyle":{"type":"string","description":"Body style."},"color":{"type":"string","description":"Colour."},"fuelType":{"type":"string","description":"Fuel."},"transmission":{"type":"string","description":"Gearbox."},"sellerType":{"type":"string","description":"Kind of seller."},"location":{"type":"string","description":"Auction location."},"country":{"type":"string"},"originCountry":{"type":"string"},"runsAndDrives":{"type":"boolean"},"keys":{"type":"integer","format":"int32"},"extraWheels":{"type":"boolean"},"damaged":{"type":"boolean"},"interiorColor":{"type":"string"},"inventoryType":{"type":"string"},"firstSeenAt":{"type":"string"},"spec":{"$ref":"#/components/schemas/AdSpec"},"lotNumber":{"type":"string","description":"Lot number."},"northAmerican":{"type":"boolean","description":"True when the sale took place in North America."},"photos":{"type":"array","description":"Auction photos we host.","items":{"$ref":"#/components/schemas/Photo"}}}},"Checks":{"type":"object","description":"Yes/no flags and the odometer verdict derived from the records. A null flag means the subject was not covered, not that the answer is no.","properties":{"hasAccidents":{"type":"boolean","description":"True when damage records exist."},"isTaxi":{"type":"boolean","description":"True when registered as a taxi."},"isLearningVehicle":{"type":"boolean","description":"True when registered as a driving school vehicle."},"hasOpenRecall":{"type":"boolean","description":"True when a recall campaign is open for this vehicle."},"isExported":{"type":"boolean","description":"True when the vehicle is marked as exported."},"odometerVerdict":{"type":"string","description":"Plausibility of the odometer readings in plain words."},"odometerVerdictCode":{"type":"string","description":"Verdict as a stable code: `plausible`, `implausible` or `unknown`."},"odometerVerdictExplanation":{"type":"string","description":"Why the verdict was given."},"canBeTransferred":{"type":"boolean","description":"Whether the registration can be transferred, where a registry publishes this."}}},"Coverage":{"type":"object","description":"What could actually be checked for this vehicle, one verdict per subject.","properties":{"checks":{"type":"array","description":"One verdict per subject. Subjects: `mileage`, `damage`, `theft`, `inspection`, `service`, `ownership`, `us_history`, `auction`, `recalls`.","items":{"$ref":"#/components/schemas/CoverageCheck"}}}},"CoverageCheck":{"type":"object","description":"The verdict for one subject: `HIT` when records exist, `CLEAN` when a competent source answered and reported nothing, null when nothing could be checked. A null is not a clean bill.","properties":{"key":{"type":"string","description":"The subject."},"status":{"type":"string","description":"`HIT`, `CLEAN` or null. Null means nothing competent answered for this subject; it is not a clean bill."}}},"Defect":{"type":"object","description":"One defect found at an inspection.","properties":{"group":{"type":"string","description":"Area of the vehicle."},"subgroup":{"type":"string","description":"Component."},"description":{"type":"string","description":"Defect in plain words."},"severity":{"type":"string","description":"Severity as the inspection records it."},"details":{"type":"string","description":"Further detail."}}},"EquipmentEntry":{"type":"object","description":"One factory option or feature recorded against the vehicle.","properties":{"code":{"type":"string","description":"Option code."},"description":{"type":"string","description":"Option in plain words."},"category":{"type":"string","description":"Area of the vehicle.","enum":["SAFETY","LIGHTS","INTERIOR","MEDIA","DRIVETRAIN","EXTERIOR","PACKAGES","OTHER","FACTORY"]},"tier":{"type":"string","description":"Standard or optional.","enum":["HIGHLIGHT","FEATURE","DETAIL"]},"label":{"type":"string","description":"Short label."},"featureKey":{"type":"string","description":"Stable key for the feature."}}},"EquipmentLine":{"type":"object","description":"One line of standard equipment.","properties":{"name":{"type":"string","description":"Equipment item."},"description":{"type":"string","description":"Detail."}}},"EvAc":{"type":"object","description":"AC charging: plug, power in kW, phases and time for a full charge in minutes.","properties":{"plug":{"type":"string","description":"Plug type."},"powerKw":{"type":"number","format":"double","description":"Maximum AC power in kW."},"phases":{"type":"integer","format":"int32","description":"Number of phases."},"minutes0to100":{"type":"integer","format":"int32","description":"Minutes for a full charge."},"kmPerHour":{"type":"integer","format":"int32","description":"Range added per hour of charging, in km."},"estimate":{"type":"boolean","description":"True when estimated."}}},"EvBattery":{"type":"object","description":"Battery capacity in kWh.","properties":{"usableKwh":{"type":"number","format":"double","description":"Usable capacity in kWh."},"fullKwh":{"type":"number","format":"double","description":"Nominal capacity in kWh."},"estimate":{"type":"boolean","description":"True when the figure is estimated rather than published."}}},"EvCandidate":{"type":"object","description":"A catalogue variant the vehicle may be, when the match is ambiguous.","properties":{"vehicleId":{"type":"integer","format":"int64","description":"Catalogue id."},"label":{"type":"string","description":"Variant in plain words."},"yearFrom":{"type":"integer","format":"int32","description":"First model year."},"yearTo":{"type":"integer","format":"int32","description":"Last model year."}}},"EvCharging":{"type":"object","description":"AC and DC charging figures.","properties":{"ac":{"$ref":"#/components/schemas/EvAc","description":"AC charging."},"dc":{"$ref":"#/components/schemas/EvDc","description":"DC fast charging."}}},"EvCosts":{"type":"object","description":"Charging cost estimates in EUR for the given country and tariff period.","properties":{"country":{"type":"string","description":"Country the tariffs are for, ISO 3166-1 alpha-2."},"period":{"type":"string","description":"Tariff period."},"acEurPerKwh":{"type":"number","description":"Home AC tariff in EUR per kWh."},"dcEurPerKwh":{"type":"number","description":"Public DC tariff in EUR per kWh."},"fullChargeAcEur":{"type":"number","description":"Cost of a full charge on AC, EUR."},"fullChargeDcEur":{"type":"number","description":"Cost of a full charge on DC, EUR."},"acEurPer100Km":{"type":"number","description":"Cost per 100 km on AC, EUR."},"dcEurPer100Km":{"type":"number","description":"Cost per 100 km on DC, EUR."}}},"EvDc":{"type":"object","description":"DC fast charging: plug, peak and average power in kW and time from 10% to 80% in minutes.","properties":{"plug":{"type":"string","description":"Plug type."},"maxKw":{"type":"number","format":"double","description":"Peak DC power in kW."},"avgKw":{"type":"number","format":"double","description":"Average DC power over a 10% to 80% charge, in kW."},"minutes10to80":{"type":"integer","format":"int32","description":"Minutes from 10% to 80%."},"kmPerHour":{"type":"integer","format":"int32","description":"Range added per hour, in km."},"optional":{"type":"boolean","description":"True when fast charging is an option rather than standard."},"estimate":{"type":"boolean","description":"True when estimated."}}},"EvRange":{"type":"object","description":"Range figures in km.","properties":{"mode":{"type":"string","description":"Which profile the headline range is for."},"wltpKm":{"type":"integer","format":"int32","description":"WLTP range in km."},"mild":{"$ref":"#/components/schemas/EvRangeSet","description":"Range in mild weather."},"cold":{"$ref":"#/components/schemas/EvRangeSet","description":"Range in cold weather."},"efficiencyKwhPer100Km":{"type":"number","format":"double","description":"Consumption in kWh per 100 km."}}},"EvRangeSet":{"type":"object","description":"Range by driving profile, in km.","properties":{"cityKm":{"type":"integer","format":"int32","description":"City range in km."},"highwayKm":{"type":"integer","format":"int32","description":"Highway range in km."},"combinedKm":{"type":"integer","format":"int32","description":"Combined range in km."}}},"EvSpec":{"type":"object","description":"Battery, range, charging and running cost figures for a battery electric vehicle. Present only for confirmed electric vehicles; absent otherwise.","properties":{"status":{"type":"string","description":"`matched` when one catalogue variant fits, `ambiguous` when several do, `none` when no figures could be matched."},"selectedVehicleId":{"type":"integer","format":"int64","description":"Catalogue id of the matched variant."},"selectedLabel":{"type":"string","description":"Matched variant in plain words."},"matchedVia":{"type":"string","description":"What the match was made on."},"candidates":{"type":"array","description":"Other variants it may be, when ambiguous.","items":{"$ref":"#/components/schemas/EvCandidate"}},"battery":{"$ref":"#/components/schemas/EvBattery","description":"Battery figures."},"range":{"$ref":"#/components/schemas/EvRange","description":"Range figures."},"charging":{"$ref":"#/components/schemas/EvCharging","description":"Charging figures."},"costs":{"$ref":"#/components/schemas/EvCosts","description":"Charging cost estimates."}}},"FactoryData":{"type":"object","description":"Factory data for vehicles sold new in the US market: original price, factory recall campaigns, warranty terms, crash test ratings, standard equipment and fuel economy. Null for other vehicles.","properties":{"trim":{"type":"string","description":"Factory trim."},"style":{"type":"string","description":"Body style and drive as sold."},"baseMsrp":{"type":"string","description":"Base list price when new."},"deliveryCharges":{"type":"string","description":"Delivery charges when new."},"invoicePrice":{"type":"string","description":"Dealer invoice price when new."},"totalPrice":{"type":"string","description":"Total list price when new."},"priceCurrency":{"type":"string","description":"Currency of the prices, USD."},"epaCityMpg":{"type":"string","description":"Fuel economy, city, miles per US gallon."},"epaHwyMpg":{"type":"string","description":"Fuel economy, highway."},"epaCombinedMpg":{"type":"string","description":"Fuel economy, combined."},"recalls":{"type":"array","description":"Factory recall campaigns.","items":{"$ref":"#/components/schemas/FactoryRecall"}},"warranties":{"type":"array","description":"Factory warranty terms.","items":{"$ref":"#/components/schemas/FactoryWarranty"}},"nhtsaRatings":{"type":"array","items":{"$ref":"#/components/schemas/SafetyRating"}},"iihsRatings":{"type":"array","items":{"$ref":"#/components/schemas/SafetyRating"}},"standardEquipment":{"type":"array","description":"Standard equipment lines.","items":{"$ref":"#/components/schemas/EquipmentLine"}},"featureGroups":{"type":"array","description":"Standard equipment by area.","items":{"$ref":"#/components/schemas/FeatureGroup"}}}},"FactoryRecall":{"type":"object","description":"A factory recall campaign. `scope` says whether it was matched to this VIN or only to the model.","properties":{"campaignId":{"type":"string","description":"Campaign id."},"date":{"type":"string","description":"Campaign date, ISO 8601."},"component":{"type":"string","description":"Component concerned."},"summary":{"type":"string","description":"What is wrong."},"consequences":{"type":"string","description":"What can happen."},"remedy":{"type":"string","description":"What the fix is."},"scope":{"type":"string","description":"`vin` when the campaign was matched to this VIN; `model` when it is a model level campaign that may name a production window this vehicle is not in."}}},"FactoryWarranty":{"type":"object","description":"A factory warranty term and, where the readings allow it, whether it has run out.","properties":{"type":{"type":"string","description":"Warranty type, for example basic or powertrain."},"months":{"type":"string","description":"Term in months."},"miles":{"type":"string","description":"Term in miles, or unlimited."},"since":{"type":"string","description":"Start date where derivable."},"until":{"type":"string","description":"End date where derivable."},"status":{"type":"string","description":"`ended` when the term has passed, `mileage_passed` when the recorded readings exceed the limit. Absent while neither can be shown; never reads as active."}}},"FeatureGroup":{"type":"object","description":"Standard equipment grouped by area.","properties":{"title":{"type":"string","description":"Area of the vehicle."},"items":{"type":"array","description":"Items in that area.","items":{"type":"string"}}}},"HistoryCheck":{"type":"object","description":"One named check from the North American history, found or not found. Clean checks are listed too.","properties":{"group":{"type":"string","description":"`title`, `damage`, `record` or `usage`."},"key":{"type":"string","description":"Stable key of the check, for example `flood`, `lien`, `rental`."},"found":{"type":"boolean","description":"True when the record exists."},"text":{"type":"string","description":"The check in plain words."}}},"HistoryEvent":{"type":"object","description":"One dated event in the North American history.","properties":{"date":{"type":"string","description":"Event date as recorded."},"location":{"type":"string","description":"State or city and state."},"odometerKm":{"type":"integer","format":"int32","description":"Odometer in km where recorded."},"details":{"type":"array","description":"What was recorded, one line per item.","items":{"type":"string"}}}},"Identity":{"type":"object","description":"What the vehicle is: make, model, variant, colour, body and build facts.","properties":{"make":{"type":"string","description":"Make."},"model":{"type":"string","description":"Model."},"variant":{"type":"string","description":"Variant or trim where known."},"commercialName":{"type":"string","description":"Commercial name as the manufacturer markets it."},"year":{"type":"string","description":"Model year or year of manufacture, as a string."},"color":{"type":"string","description":"Exterior colour, descriptive."},"colorKey":{"type":"string","description":"Exterior colour as a normalised key."},"colorHex":{"type":"string","description":"Exterior colour as a hex value, when one can be derived."},"interiorColor":{"type":"string","description":"Interior colour where known."},"bodyType":{"type":"string","description":"Body type in plain words."},"category":{"type":"string","description":"Vehicle category in plain words."},"seatCount":{"type":"integer","format":"int32","description":"Number of seats."},"doors":{"type":"integer","format":"int32","description":"Number of doors."},"isRightHandDrive":{"type":"boolean","description":"True for right hand drive."},"isTaxi":{"type":"boolean","description":"True when registered as a taxi at some point."},"isLearningVehicle":{"type":"boolean","description":"True when registered as a driving school vehicle."},"currentStatus":{"type":"string","description":"Current registration status in plain words."},"manufacturedDate":{"type":"string","description":"Date of manufacture, ISO 8601 where known."}}},"Images":{"type":"object","description":"The vehicle's pictures where we hold them, as signed links on this API that need no key. Valid until `accessUntil`.","properties":{"modelPhoto":{"type":"string","description":"Exterior picture, signed link."},"interiorPhoto":{"type":"string","description":"Interior picture, signed link."},"modelPhotoOem":{"type":"boolean"}}},"Inspection":{"type":"object","description":"One roadworthiness or technical inspection, with the defects noted.","properties":{"date":{"type":"string","description":"Inspection date, ISO 8601."},"type":{"type":"string","description":"Kind of inspection."},"decision":{"type":"string","description":"Outcome: passed, failed, or the registry's own wording."},"odometer":{"type":"integer","format":"int32","description":"Reading at inspection in km."},"nextInspectionDate":{"type":"string","description":"Next inspection due, ISO 8601."},"company":{"type":"string","description":"Inspection station."},"address":{"type":"string","description":"Station address."},"defects":{"type":"array","description":"Defects noted.","items":{"$ref":"#/components/schemas/Defect"}}}},"InsuranceEntry":{"type":"object","description":"One insurance policy period.","properties":{"insurer":{"type":"string","description":"Insurer."},"from":{"type":"string","description":"Policy start, ISO 8601."},"to":{"type":"string","description":"Policy end, ISO 8601."},"issueDate":{"type":"string","description":"Issue date, ISO 8601."}}},"ListingEntry":{"type":"object","description":"One sale listing: when it was seen and at what price.","properties":{"firstSeenAt":{"type":"string","description":"First seen, ISO 8601."},"lastSeenAt":{"type":"string","description":"Last seen, ISO 8601."},"price":{"type":"integer","format":"int32","description":"Asking price."},"mileage":{"type":"integer","format":"int32","description":"Mileage advertised, in km."},"sellerType":{"type":"string","description":"Dealer or private."},"inventoryType":{"type":"string","description":"New or used."},"currency":{"type":"string"},"priceEur":{"type":"integer","format":"int32"},"mileageUnit":{"type":"string"},"mileageMax":{"type":"integer","format":"int32"},"country":{"type":"string"},"location":{"type":"string"},"exteriorColor":{"type":"string"},"interiorColor":{"type":"string"},"adText":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/Photo"}},"priceHistory":{"type":"array","items":{"$ref":"#/components/schemas/PricePoint"}},"damaged":{"type":"boolean"},"primaryDamage":{"type":"string"},"secondaryDamage":{"type":"string"},"originCountry":{"type":"string"},"runsAndDrives":{"type":"boolean"},"keys":{"type":"integer","format":"int32"},"extraWheels":{"type":"boolean"},"spec":{"$ref":"#/components/schemas/AdSpec"}}},"ListingHistory":{"type":"object","description":"Sale listings we have seen for this vehicle.","properties":{"totalListings":{"type":"integer","format":"int32","description":"How many listings were seen."},"entries":{"type":"array","description":"The listings.","items":{"$ref":"#/components/schemas/ListingEntry"}}}},"MileageEntry":{"type":"object","description":"One recorded odometer reading.","properties":{"date":{"type":"string","description":"Reading date, ISO 8601."},"odometer":{"type":"integer","format":"int32","description":"Reading in km."},"country":{"type":"string","description":"Country the reading was recorded in, ISO 3166-1 alpha-2."}}},"OwnerRecord":{"type":"object","description":"One owner in the North American history.","properties":{"owner":{"type":"string","description":"Owner label, for example Owner 1."},"purchased":{"type":"string","description":"Year of purchase."},"state":{"type":"string","description":"US state or Canadian province code."},"owned":{"type":"string","description":"Ownership period as recorded."},"duration":{"type":"string","description":"Length of ownership as recorded."},"role":{"type":"string","description":"`current` or `previous`."},"auctionWinner":{"type":"boolean","description":"True when this owner bought the vehicle at auction."}}},"OwnershipEntry":{"type":"object","description":"One period of ownership or keepership.","properties":{"ownerType":{"type":"string","description":"Private or company."},"from":{"type":"string","description":"Start of the period, ISO 8601."},"to":{"type":"string","description":"End of the period, ISO 8601, or null while current."},"durationDays":{"type":"integer","format":"int32","description":"Length of the period in days."},"country":{"type":"string"}}},"OwnershipUnrecorded":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"country":{"type":"string"}}},"PartOption":{"type":"object","description":"One part number option.","properties":{"brand":{"type":"string"},"partNumber":{"type":"string"}}},"PartnerReport":{"type":"object","description":"A report you bought, with the window it stays readable in and the links that come with it. The data itself is under `report`.","properties":{"reportId":{"type":"string","description":"Unique id of this purchase. Store it: it is how you read the report back, free, for the access window."},"status":{"type":"string","description":"`complete` when every section has arrived, `enriching` while the sections in `pendingSections` are still being assembled. Re-read the report to collect them; late data can also fill `equipment` and the manufacturer fields. Usually complete within a minute; a few slow sources can take up to about 25."},"pendingSections":{"type":"array","description":"Sections still being assembled. Empty when `status` is `complete`.","items":{"type":"string"}},"vin":{"type":"string","description":"The VIN the report is about, normalised."},"registrationNumber":{"type":"string","description":"Registration number, when the report was bought by plate. Null otherwise."},"accessUntil":{"type":"string","description":"When the access window closes, ISO 8601. Re-reads, the PDF and the pictures work until then."},"originalReportUrl":{"type":"string","description":"The same report on mrvin.com, as a signed link your customer can open. Valid until `accessUntil`."},"pdfUrl":{"type":"string","description":"`GET /v1/reports/{reportId}/pdf`, with your key. Answers with a short lived download URL. Free."},"sectionStatus":{"type":"object","additionalProperties":{"type":"string"},"description":"Per section state for the sections that can arrive later: `serviceHistory`, `serviceSchedule`, `photos`, `auctionPhotos`, `vehicle`. Values: `ready`, `generating`, `none`."},"report":{"$ref":"#/components/schemas/VehicleReport","description":"The vehicle data."}}},"Photo":{"type":"object","description":"A damage photo we host, as a link that needs no key. Absent when the picture is not ours to show.","properties":{"claimId":{"type":"string","description":"Claim this photo belongs to."},"wan":{"type":"string","description":"Work order the photo belongs to."},"url":{"type":"string","description":"Signed link to the photo on this API. Needs no key."}}},"PricePoint":{"type":"object","properties":{"date":{"type":"string"},"price":{"type":"integer","format":"int32"}}},"Recall":{"type":"object","description":"A safety recall campaign that applies to this vehicle, with whether the work has been done where that is known.","properties":{"campaignId":{"type":"string","description":"Campaign id."},"manufacturerCode":{"type":"string","description":"Manufacturer's own code."},"date":{"type":"string","description":"Campaign date, ISO 8601."},"manufacturer":{"type":"string","description":"Manufacturer."},"component":{"type":"string","description":"Component concerned."},"summary":{"type":"string","description":"What is wrong."},"consequences":{"type":"string","description":"What can happen."},"risk":{"type":"string","description":"Risk in plain words."},"remedy":{"type":"string","description":"What the fix is."},"repaired":{"type":"boolean","description":"True when the work is recorded as done."},"status":{"type":"string","description":"Open, repaired or unknown."},"vehiclesAffected":{"type":"integer","format":"int32","description":"Vehicles affected in total."},"vehiclesAffectedInCountry":{"type":"integer","format":"int32","description":"Vehicles affected in `country`."},"country":{"type":"string","description":"Country of the campaign record."}}},"Registration":{"type":"object","description":"Registration and import facts: first registration, country trail, keeper type and catalogue price where known.","properties":{"firstRegisteredAt":{"type":"string","description":"First registration anywhere, ISO 8601."},"firstRegisteredCountry":{"type":"string"},"registeredInLatviaAt":{"type":"string","description":"First registration in Latvia, when the vehicle was registered there."},"purchaseCountry":{"type":"string","description":"Country the vehicle was bought in, ISO 3166-1 alpha-2."},"previousRegistrationCountry":{"type":"string","description":"Country of the previous registration."},"importedFromCountry":{"type":"string","description":"Country the vehicle was imported from."},"importedToCountry":{"type":"string","description":"Country it was imported to."},"importedAt":{"type":"string","description":"Import date, ISO 8601."},"isCurrentlyInsured":{"type":"boolean","description":"Whether a current insurance policy is on record."},"currentOwnerType":{"type":"string","description":"Private or company."},"currentKeeperSince":{"type":"string","description":"Since when the current keeper holds the vehicle."},"catalogPriceNew":{"type":"integer","format":"int32","description":"Catalogue price when new."},"catalogPriceCurrency":{"type":"string","description":"Currency of `catalogPriceNew`."},"registrationTax":{"type":"integer","format":"int32","description":"Registration tax paid where known."}}},"SafetyRating":{"type":"object","description":"One crash test rating.","properties":{"type":{"type":"string","description":"What was rated."},"rating":{"type":"string","description":"The rating, stars or a word."}}},"ServiceEvent":{"type":"object","description":"One workshop or dealer visit.","properties":{"date":{"type":"string","description":"Visit date, ISO 8601."},"mileageKm":{"type":"integer","format":"int32","description":"Odometer at the visit in km."},"mileageOriginal":{"type":"integer","format":"int32","description":"Reading as recorded, before unit conversion."},"mileageUnit":{"type":"string","description":"Unit of `mileageOriginal`."},"serviceProvider":{"type":"string","description":"Workshop or dealer name."},"serviceType":{"type":"string","description":"Kind of visit."},"actions":{"type":"array","description":"Work done, one entry per item.","items":{"type":"string"}},"description":{"type":"string","description":"Free text as recorded."},"location":{"type":"string","description":"Where the work was done."},"cost":{"type":"number","format":"double","description":"Cost where recorded."},"costCurrency":{"type":"string","description":"Currency of `cost`."},"documentUrl":{"type":"string","description":"Link to the document when it is hosted by us. Absent otherwise."},"referenceId":{"type":"string","description":"Our reference."},"countryCode":{"type":"string","description":"Country of the visit, ISO 3166-1 alpha-2."}}},"ServicePart":{"type":"object","description":"A part named by the maintenance schedule.","properties":{"name":{"type":"string"},"spec":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/PartOption"}},"optionsMore":{"type":"integer","format":"int32"}}},"ServiceScheduleItem":{"type":"object","description":"One manufacturer maintenance operation, matched against the service history.","properties":{"operation":{"type":"string","description":"Maintenance operation."},"operationKey":{"type":"string","description":"Stable key for the operation."},"intervalKm":{"type":"integer","format":"int32","description":"Interval in km."},"intervalMonths":{"type":"integer","format":"int32","description":"Interval in months."},"labourMinutes":{"type":"integer","format":"int32","description":"Labour time in minutes."},"serviceType":{"type":"string","description":"Kind of service."},"status":{"type":"string","description":"`done`, `due`, `overdue` or `no_record`."},"lastDoneKm":{"type":"integer","format":"int32","description":"Odometer when last done."},"lastDoneDate":{"type":"string","description":"When last done."},"dueKm":{"type":"integer","format":"int32","description":"Odometer when next due."},"dueDate":{"type":"string","description":"When next due."},"parts":{"type":"array","description":"Parts named for the operation.","items":{"$ref":"#/components/schemas/ServicePart"}}}},"ServiceScheduleSummary":{"type":"object","description":"The next service due, projected from the schedule and the readings.","properties":{"nextDueKm":{"type":"integer","format":"int32","description":"Odometer at which the next service is due."},"nextDueDate":{"type":"string","description":"Approximate date of the next service."},"nextDueOperation":{"type":"string","description":"What is due."},"overdue":{"type":"boolean","description":"True when something is overdue."},"lastKnownKm":{"type":"integer","format":"int32","description":"Latest odometer reading used."},"lastKnownDate":{"type":"string","description":"Date of that reading."}}},"SimilarCar":{"type":"object","properties":{"make":{"type":"string"},"model":{"type":"string"},"year":{"type":"integer","format":"int32"},"km":{"type":"integer","format":"int32"},"priceEur":{"type":"integer","format":"int32"},"country":{"type":"string"},"photoUrl":{"type":"string"},"url":{"type":"string"},"fuel":{"type":"string"},"gearbox":{"type":"string"}}},"SimilarListings":{"type":"object","properties":{"provider":{"type":"string"},"fetchedAt":{"type":"string"},"attributionUrl":{"type":"string"},"yearFrom":{"type":"integer","format":"int32"},"yearTo":{"type":"integer","format":"int32"},"kmMax":{"type":"integer","format":"int32"},"cars":{"type":"array","items":{"$ref":"#/components/schemas/SimilarCar"}}}},"StolenCheck":{"type":"object","description":"Present only when the vehicle matched a stolen vehicle record. Null means unknown, never clean; use `coverage.checks` for the theft verdict.","properties":{"possibleStolen":{"type":"boolean","description":"True on a match."},"records":{"type":"array","description":"The matching records.","items":{"$ref":"#/components/schemas/StolenRecord"}}}},"StolenRecord":{"type":"object","description":"One stolen vehicle record.","properties":{"make":{"type":"string","description":"Make."},"model":{"type":"string","description":"Model."},"plate":{"type":"string","description":"Plate on the record."},"color":{"type":"string","description":"Colour."},"location":{"type":"string","description":"Where reported."},"date":{"type":"string","description":"When reported, ISO 8601."}}},"Technical":{"type":"object","description":"Engine, drivetrain, power, mass and emissions. Numeric values arrive as strings where the source gives ranges or units; parse defensively.","properties":{"engineCode":{"type":"string","description":"Manufacturer engine code."},"engineDescription":{"type":"string","description":"Engine in plain words."},"fuelType":{"type":"string","description":"Fuel or energy type."},"powerKw":{"type":"string","description":"Power in kW, as a string."},"powerPs":{"type":"string","description":"Power in PS, as a string."},"batteryKwh":{"type":"string","description":"Battery capacity in kWh for electrified vehicles, as a string."},"capacityCcm":{"type":"string","description":"Engine displacement in cubic centimetres, as a string."},"cylinders":{"type":"string","description":"Number of cylinders."},"valves":{"type":"string","description":"Number of valves."},"aspiration":{"type":"string","description":"Natural, turbo or supercharged."},"co2GPerKm":{"type":"string","description":"CO2 emissions in g/km, as a string."},"curbMassKg":{"type":"integer","format":"int32","description":"Kerb mass in kg."},"grossMassKg":{"type":"integer","format":"int32","description":"Gross mass in kg."},"transmission":{"type":"string","description":"Gearbox type in plain words."},"drive":{"type":"string","description":"Driven axles in plain words."},"driveSide":{"type":"string","description":"Steering side."},"platform":{"type":"string","description":"Manufacturer platform code where known."},"emissionStandard":{"type":"string","description":"Emission standard, for example Euro 6d."},"energyLabel":{"type":"string","description":"Energy efficiency label where a market issues one."},"co2Cycle":{"type":"string","description":"Test cycle the CO2 figure was measured on, for example WLTP."},"co2Class":{"type":"string","description":"CO2 efficiency class where a market issues one."},"drivetrain":{"type":"string","description":"Drivetrain classification: combustion, hybrid, plug-in hybrid, electric."},"drivetrainConfidence":{"type":"string","description":"How confident the classification is."}}},"Valuation":{"type":"object","description":"A market value estimate. Field families are market specific: the GBP fields for the UK, the price fields for North America, and the adjusted EUR figures for a European target market.","properties":{"currency":{"type":"string","description":"Currency of the figures."},"description":{"type":"string","description":"What this valuation is."},"valuationDate":{"type":"string","description":"Valuation date, ISO 8601."},"mileageAtValuation":{"type":"integer","format":"int32","description":"Odometer the valuation assumes, in km."},"book":{"type":"string"},"onTheRoadGbp":{"type":"integer","format":"int32"},"dealerForecourtGbp":{"type":"integer","format":"int32"},"privateCleanGbp":{"type":"integer","format":"int32"},"partExchangeGbp":{"type":"integer","format":"int32"},"auctionGbp":{"type":"integer","format":"int32"},"retailPrice":{"type":"integer","format":"int32","description":"Retail price estimate."},"tradeInPrice":{"type":"integer","format":"int32","description":"Trade in estimate."},"privatePartyPrice":{"type":"integer","format":"int32","description":"Private sale estimate."},"auctionPrice":{"type":"integer","format":"int32","description":"Auction estimate."},"priceLow":{"type":"integer","format":"int32","description":"Lower bound of the estimate."},"priceHigh":{"type":"integer","format":"int32","description":"Upper bound of the estimate."},"averagePrice":{"type":"integer","format":"int32","description":"Mid estimate."},"baseMarketCountry":{"type":"string","description":"Market the base price comes from."},"targetCountry":{"type":"string","description":"Market the adjusted price is for."},"basePrice":{"type":"integer","format":"int32","description":"Price before adjustments."},"adjustments":{"type":"array","description":"Adjustments applied.","items":{"$ref":"#/components/schemas/ValuationAdjustment"}},"adjustedPrice":{"type":"integer","format":"int32","description":"Price after adjustments."}}},"ValuationAdjustment":{"type":"object","description":"One adjustment applied to reach the adjusted price.","properties":{"code":{"type":"string","description":"What was adjusted."},"pct":{"type":"number","format":"double","description":"Adjustment in percent."},"amountEur":{"type":"integer","format":"int32","description":"Adjustment in EUR."}}},"VehicleHistory":{"type":"object","description":"North American title and event history. Null for vehicles with no such record, which is most European vehicles; null means unknown, never clean.","properties":{"titleBrands":{"type":"array","description":"Title brands on record, for example salvage or flood.","items":{"type":"string"}},"owners":{"type":"array","description":"Owners on record.","items":{"$ref":"#/components/schemas/OwnerRecord"}},"events":{"type":"array","description":"Dated events.","items":{"$ref":"#/components/schemas/HistoryEvent"}},"serviceCount":{"type":"integer","format":"int32","description":"Number of service events on record."},"accidentRecordsFound":{"type":"boolean","description":"True when accident records exist."},"checks":{"type":"array","description":"Named checks, found or not found. Clean checks are listed too.","items":{"$ref":"#/components/schemas/HistoryCheck"}}}},"VehicleReport":{"type":"object","description":"Everything we hold for one vehicle, as sections. A section that does not apply to a vehicle is null or empty, never padded. Read `coverage.checks` to tell a checked-and-clean subject from one that could not be checked.","properties":{"reportId":{"type":"string","description":"Internal id of the assembled report; use the top level `reportId` for re-reads."},"vin":{"type":"string","description":"The VIN."},"generatedAt":{"type":"string","description":"When this version of the report was assembled, ISO 8601."},"identity":{"$ref":"#/components/schemas/Identity","description":"Make, model, variant, colour, body and build facts."},"technical":{"$ref":"#/components/schemas/Technical","description":"Engine, drivetrain, power, mass and emissions."},"registration":{"$ref":"#/components/schemas/Registration","description":"Registration and import facts."},"checks":{"$ref":"#/components/schemas/Checks","description":"Yes/no flags and the odometer verdict. A null flag means not covered."},"mileageHistory":{"type":"array","description":"Recorded odometer readings, oldest first. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/MileageEntry"}},"ownershipHistory":{"type":"array","description":"Ownership periods. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/OwnershipEntry"}},"ownershipUnrecorded":{"$ref":"#/components/schemas/OwnershipUnrecorded"},"accidentHistory":{"type":"array","description":"Damage records: insurance claims, repair estimates and salvage auction sales. Each may carry photos and videos we host. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/AccidentEntry"}},"damagePhotosAvailable":{"type":"boolean","description":"True when damage photos exist for this vehicle and may still be arriving. Null when not checked."},"photos":{"type":"array","description":"Damage photos we host, as links that need no key.","items":{"$ref":"#/components/schemas/Photo"}},"photosStatus":{"type":"string","description":"`ready`, `generating` (poll again) or `none`. Null when not applicable."},"inspections":{"type":"array","description":"Roadworthiness inspections with the defects noted. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/Inspection"}},"recalls":{"type":"array","description":"Safety recall campaigns matched to this vehicle, with repair status where known. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/Recall"}},"insurance":{"type":"array","description":"Insurance policy periods. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/InsuranceEntry"}},"equipment":{"type":"array","description":"Factory options and features recorded against the vehicle. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/EquipmentEntry"}},"serviceHistory":{"type":"array","description":"Workshop and dealer visits with mileage and work done. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/ServiceEvent"}},"serviceHistoryStatus":{"type":"string","description":"`ready`, `generating` (poll again) or `none`. Null when not applicable."},"serviceSchedule":{"type":"array","description":"Manufacturer maintenance schedule matched against the service history, one row per operation.","items":{"$ref":"#/components/schemas/ServiceScheduleItem"}},"serviceScheduleStatus":{"type":"string","description":"`ready`, `generating` (poll again) or `none`."},"serviceScheduleSummary":{"$ref":"#/components/schemas/ServiceScheduleSummary","description":"The next service due, projected from the schedule and the readings."},"vehicleStatus":{"type":"string","description":"`ready` once the richer identity and technical fields are in, `generating` while the decode is still running, `none` when no further decode exists."},"images":{"$ref":"#/components/schemas/Images","description":"The vehicle's pictures where we hold them, as signed links. Null when we have none."},"valuation":{"$ref":"#/components/schemas/Valuation","deprecated":true,"description":"Deprecated. Use `valuations`."},"valuations":{"type":"array","description":"Market value estimates, one per market or method. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/Valuation"}},"listingHistories":{"type":"array","description":"Sale listings seen for this vehicle. Absent or null when nothing is known for this vehicle.","items":{"$ref":"#/components/schemas/ListingHistory"}},"auctionHistory":{"type":"array","description":"North American salvage auction sales with their photo sets. Empty when none.","items":{"$ref":"#/components/schemas/AuctionEntry"}},"auctionPhotosStatus":{"type":"string","description":"`ready`, `generating` (poll again) or `none`. Null when not applicable."},"listingPhotosStatus":{"type":"string"},"rendersStatus":{"type":"string","description":"`generating` while the manufacturer's pictures are still being fetched, `ready` once `images` carries them. Null when none are expected."},"factoryData":{"$ref":"#/components/schemas/FactoryData","description":"Factory data for vehicles sold new in the US market. Null for other vehicles."},"evSpec":{"$ref":"#/components/schemas/EvSpec","description":"Battery, range, charging and cost figures for a battery electric vehicle. Absent for other vehicles."},"similarListings":{"$ref":"#/components/schemas/SimilarListings"},"stolenCheck":{"$ref":"#/components/schemas/StolenCheck","description":"Present only on a positive stolen vehicle match. Null means unknown, never clean."},"vehicleHistory":{"$ref":"#/components/schemas/VehicleHistory","description":"North American title and event history. Null means unknown, never clean."},"vehicleHistoryStatus":{"type":"string","description":"`ready`, `generating` (poll again) or `none`."},"plHistoryStatus":{"type":"string","description":"State of the Polish registry history: `ready`, `generating`, `none`, or null when the feature does not apply to your account."},"coverage":{"$ref":"#/components/schemas/Coverage","description":"One verdict per subject: what could actually be checked for this vehicle. The place to look before calling a vehicle clean."}}},"Video":{"type":"object","description":"A damage video we host.","properties":{"url":{"type":"string","description":"Signed link to the video."},"contentType":{"type":"string","description":"MIME type."},"posterUrl":{"type":"string","description":"Signed link to a still frame."}}},"PartnerPdfLink":{"type":"object","description":"A short lived download link for the PDF of a report you bought.","properties":{"reportId":{"type":"string","description":"The report."},"url":{"type":"string","description":"Download URL. Short lived; fetch this endpoint again when it has lapsed."},"urlExpiresAt":{"type":"string","description":"When `url` stops working, ISO 8601."},"accessUntil":{"type":"string","description":"When the report's access window closes, ISO 8601."}}},"PingResponse":{"type":"object","description":"Liveness of the API and the region answering.","properties":{"status":{"type":"string","description":"`ok`."},"version":{"type":"string","description":"API version."},"region":{"type":"string","description":"Region that answered."}}},"AccountResponse":{"type":"object","description":"Your account as the API sees it: billing mode, what is left, limits and prices.","properties":{"partner":{"type":"string","description":"Your account code."},"billingMode":{"type":"string","description":"`prepaid`, `postpaid` or `wp_credits` (report credits shared with your MrVIN account)."},"balanceEur":{"type":"number","description":"Remaining prepaid balance. Only on prepaid accounts."},"creditsRemaining":{"type":"integer","format":"int32","description":"Report credits left. Only on accounts that spend report credits."},"creditLimitEur":{"type":"number","description":"Postpaid ceiling for the cycle, when one is set."},"rateLimitPerMinute":{"type":"integer","format":"int32","description":"Requests per minute your account may make."},"reportAccessDays":{"type":"integer","format":"int32","description":"How many days a bought report stays readable."},"prices":{"type":"object","additionalProperties":{"type":"number"},"description":"Price per billable call, by endpoint, in EUR."}}},"DailyUsage":{"type":"object","description":"One day of usage.","properties":{"day":{"type":"string","format":"date","description":"The day, UTC."},"calls":{"type":"integer","format":"int64","description":"Every call that day."},"billableCalls":{"type":"integer","format":"int64","description":"Calls charged that day."},"amountEur":{"type":"number","description":"Charged that day."}}},"UsageResponse":{"type":"object","description":"Your calls and spend over a date range, by day.","properties":{"from":{"type":"string","format":"date","description":"Start of the range, inclusive."},"to":{"type":"string","format":"date","description":"End of the range, exclusive."},"totalCalls":{"type":"integer","format":"int64","description":"Every call, including failures and free re-reads."},"billableCalls":{"type":"integer","format":"int64","description":"Calls that were charged."},"totalEur":{"type":"number","description":"What was charged."},"days":{"type":"array","description":"Per day breakdown.","items":{"$ref":"#/components/schemas/DailyUsage"}}}},"Line":{"type":"object","description":"Usage of one endpoint within a statement.","properties":{"endpoint":{"type":"string","description":"The endpoint."},"calls":{"type":"integer","format":"int64","description":"Every call."},"billableCalls":{"type":"integer","format":"int64","description":"Calls charged."},"amountEur":{"type":"number","description":"Charged."}}},"Statement":{"type":"object","description":"One closed billing period.","properties":{"periodStart":{"type":"string","format":"date","description":"First day of the period."},"periodEnd":{"type":"string","format":"date","description":"Last day of the period."},"totalCalls":{"type":"integer","format":"int64","description":"Every call in the period."},"billableCalls":{"type":"integer","format":"int64","description":"Calls charged."},"totalEur":{"type":"number","description":"Total charged."},"lines":{"type":"array","description":"Breakdown by endpoint.","items":{"$ref":"#/components/schemas/Line"}},"status":{"type":"string","description":"`final` once generated, `sent` once emailed."},"deliveredAt":{"type":"string","format":"date-time","description":"When it was emailed."}}},"PartnerError":{"type":"object","description":"The error envelope. Every error answers with this shape.","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Stable error code. Branch on this, never on the message."},"message":{"type":"string","description":"What happened, for a human."},"requestId":{"type":"string","description":"Quote this when you write to us about the call."},"details":{"type":"array","description":"Per field problems, for validation errors.","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the problem is with."},"issue":{"type":"string","description":"What is wrong with it."}}}}}}}}},"securitySchemes":{"apiKey":{"type":"http","description":"Your API key, sent as `Authorization: Bearer <key>`. Keys begin with `mrvin_live_`. The `X-Api-Key` header is accepted as an alternative. Never send a key in the query string — that request is rejected, because a key in a URL ends up in logs and browser history.","scheme":"bearer"}}}}