{"openapi":"3.1.0","info":{"title":"Prooflane Record API","version":"1","description":"A small trucking company's federal record in plain words, as a broker's screen would read it. Public and free. The same Record is also served by a read-only MCP server at https://getprooflane.com/mcp (Streamable HTTP; tools lookup_carrier_record and list_prices). Independent reading by Prooflane from public FMCSA data. Not an FMCSA product, CSA score or safety rating. FMCSA says a carrier may operate unless it has an Unsatisfactory rating or an order to stop. Not a consumer report; not for credit, insurance, employment, housing, driver or owner-operator decisions."},"servers":[{"url":"https://getprooflane.com"}],"paths":{"/api/v1/record/{dot}":{"get":{"operationId":"getRecord","summary":"The Record for one USDOT number","description":"Read `answer` first: the verdict sentence, the short status word, the one reason why and the one next step, in the same words the Record page opens with. Then `record.screen.checks`: each has `status` (pass, watch, fail, unknown), `status_word` (the page's word: Good, Watch, Problem, Not known), the evidence and its sources and dates. Each fix and next step has its `cost` in words, `free` (true only when it costs nothing at all), `paid_to_prooflane` (false for a step the owner does alone, which can still cost something elsewhere) and the `url` where the owner starts it or reads how; a fix paid to Prooflane also has its `free_route`. A paid fix Prooflane does not sell in the carrier's state has `available: false`, says why, and links only the fix's public page: tell the owner its free route. Unknown values are null, never guesses: a part named in `unavailable` could not be read just now, and its counts and lists are null. Never report null as none or zero.","parameters":[{"name":"dot","in":"path","required":true,"description":"USDOT number, digits only","schema":{"type":"string","pattern":"^[0-9]{1,8}$"}}],"responses":{"200":{"description":"The Record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordResponse"}}}},"400":{"description":"Not a USDOT number (error: bad_dot_number)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such carrier (error: not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Removed at the owner's request (error: removed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests (error: rate_limited); see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The federal source did not answer (error: source_unavailable), or the Record could not be built (error: unavailable); see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/prices":{"get":{"operationId":"getPrices","summary":"What Prooflane sells now and what it costs","description":"The free Record, each fix on sale with its price, when it is owed, its refund rule and its free do-it-yourself route. Each fix is one price, paid at order. Amounts are in minor units (cents). Every price is shown again before the owner pays.","responses":{"200":{"description":"The price list","content":{"application/json":{"schema":{"type":"object","required":["currency","record","fixes"]}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error","detail"],"properties":{"error":{"type":"string"},"detail":{"type":"string"},"docs":{"type":"string"}}},"RecordResponse":{"type":"object","required":["api_version","dot_number","answer","record","notice"],"properties":{"api_version":{"type":"integer"},"dot_number":{"type":"integer"},"is_example":{"type":"boolean","description":"A made-up example carrier"},"answer":{"type":"object","description":"What the Record page opens with: signal, signal_word, verdict, why, note, next_step (title, why, cost, free, paid_to_prooflane, url, free_route) and page_url"},"lists_note":{"type":"string","description":"Set when record.inspections or record.crashes holds only the newest 50"},"notice":{"type":"string"},"terms":{"type":"string","format":"uri"},"provenance":{"type":"object","description":"sources and as-of dates for each part of the Record"},"unavailable":{"type":"array","items":{"type":"string"},"description":"Parts that could not be read just now (inspections, violations, crashes, oos_orders, authority, insurance). Their counts and lists in record are null: null means unknown, never none or zero."},"unavailable_note":{"type":"string"},"page_url":{"type":"string","format":"uri"},"how_to_read":{"type":"string","format":"uri"},"served_at":{"type":"string","format":"date-time"},"record":{"type":"object","description":"The Record: carrier (city and state only, no contact details), screen, authorities, insurance, inspections, crashes, oos_orders, stats, sources, fetched_at, unavailable, is_demo"}}}}}}