Developer API
The interpretation rules run on the server, independent of the website, so the same results can serve a future ChatGPT Action or an MCP adapter. Nothing here publishes a GPT or a store listing by itself.
Authentication
Send a Base44 app user token as Authorization: Bearer …, or the operator’s server key as X-API-Key. The key allows stateless lookups and analyses only; saved reports always require the signed-in owner.
Base URL
https://scan.ratethispro.com/api/v1
JSON in, JSON out. Rate limits apply per caller and are reported as HTTP 429.
/api/v1/healthService and provider configuration health
No authentication required
/api/v1/dtc/lookupLook up one diagnostic trouble code
Runs the provider chain (CarVector, CarAPI, RapidAPI when verified, then the stored generic reference) and returns the normalised result with its source and retrieval time.
/api/v1/scan/uploadCreate a report from a file, text or code list
Accepts multipart/form-data with a file field (PDF, JPG or PNG, 15 MB maximum) plus an optional JSON vehicle field, or JSON with text or a codes array. Creates a saved report owned by the caller in needs_confirmation state.
/api/v1/scan/analyzeRun the interpretation engine
With report_id (user token only) it analyses a saved report and persists codes, monitors and findings. With a codes array it returns a stateless analysis without saving anything.
/api/v1/reports/{report_id}Read a saved report
Returns the report, its codes, monitors and findings. Only the signed-in owner can read a report.
POST /api/v1/dtc/lookupcurl -X POST $APP_URL/api/v1/dtc/lookup \
-H "X-API-Key: $SRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code":"P0420"}'{
"code": "P0420",
"lookup_status": "verified",
"confidence": "medium",
"provider": "builtin_reference",
"cached": false,
"retrieved_at": "2026-11-24T15:20:00.000Z",
"title": "Catalyst system efficiency below threshold (Bank 1)",
"severity": "Moderate",
"safety_risk": "No documented direct safety risk",
"emissions_related": true
}POST /api/v1/scan/analyzecurl -X POST $APP_URL/api/v1/scan/analyze \
-H "X-API-Key: $SRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"codes":[{"code":"P0300","status":"pending"}],"monitors":[{"name":"Catalyst","status":"not_ready"}]}'{
"codes": [{ "code": "P0300", "code_status": "pending", "provider": "builtin_reference" }],
"monitors": [{ "monitor_name": "Catalyst", "monitor_status": "not_ready" }],
"assessment": {
"label": "professional_inspection",
"label_text": "Professional inspection recommended before purchase.",
"rules_applied": ["Inspection rule: 1 code(s) present, 1 pending, 1 readiness monitor(s) incomplete."]
},
"findings": [],
"questions": [],
"inspections": []
}| Error | HTTP | Meaning |
|---|---|---|
| unauthorized | 401 | No valid user token or API key was supplied. |
| user_token_required | 403 | This operation touches a private report and needs a signed-in owner. |
| invalid_code | 422 | The code does not match the OBD-II format (letter P, B, C or U, then four hex characters). |
| invalid_request | 422 | The body is missing a required field, such as report_id or codes. |
| not_found | 404 | The report does not exist, or it belongs to another user. |
| free_limit | 402 | The free plan already holds its one saved report. |
| file_too_large | 413 | Uploads must be 15 MB or smaller. |
| rate_limited | 429 | Too many requests in a short window. Retry after a pause. |
lookup_status: not_found, never an invented description.Questions about access? See the terms and privacy policy.