API Documentation
Everything you need to integrate with the DealerPricing API
Quick Start
1. Get your API key
Sign up for an account and create an API key from the Keys page.
2. Make your first request
curl -X POST https://developer.dealerpricing.co.uk/api/v1/vehicle/decode \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"vrm": "AB12CDE"}'3. Handle the response
{
"success": true,
"data": {
"vehicle": {
"vrm": "AB12CDE",
"make": "BMW",
"model": "3 Series",
...
}
},
"meta": {
"request_id": "req_abc123",
"cost_pence": 16,
"balance_pence": 984,
"is_sandbox": false
}
}Authentication
All API requests must include your API key in the X-API-Key header.
X-API-Key: dp_live_your_api_key_here
Sandbox Keys: Keys starting with
dp_sandbox_ can only test with VRMs: SA67DVL, M123TAP, or any VRM containing the letter "A" for vehicle data endpoints.Rate Limits
| Limit | Default |
|---|---|
| Per second | 5 requests |
| Per minute | 100 requests |
| Per day | 1,000 requests |
Rate limit headers are included in every response: X-RateLimit-Remaining-*. All packages can request custom limits.
API Endpoints
Base URL: https://developer.dealerpricing.co.uk/api
Vehicle Data
POST
Get comprehensive vehicle details from VRM/v1/vehicle/decodePOST
Current tax status and MOT history/v1/vehicle/tax-motPOST
Trade, retail, and private valuations/v1/vehicle/valuationPOST
Full vehicle specifications/v1/vehicle/specPOST
Finance, stolen, write-off checks/v1/vehicle/provenanceMarket Data
POST
Similar vehicles currently for sale/v1/market/activePOST
Similar vehicles recently sold/v1/market/soldPOST
Supply, demand, and pricing analytics/v1/market/insightsAnalysis
POST
Comprehensive pricing analysis/v1/pricing/insightsError Codes
| Code | HTTP Status | Description |
|---|---|---|
| INVALID_API_KEY | 401 | API key is invalid or not found |
| INSUFFICIENT_BALANCE | 402 | Account balance too low |
| RATE_LIMIT_EXCEEDED | 429 | Too many requests |
| INVALID_VRM | 400 | VRM format is invalid |
| VEHICLE_NOT_FOUND | 404 | No data found for this VRM |