Vehicle Lookup provides a REST API that you can use for custom integrations. All endpoints require your API key to be passed as a query parameter.
**Base URL:** `https://remappingwebsite.com/lookup/api`
**Vehicle Data Endpoints:**
| Endpoint | Method | Parameters | Description |
|----------|--------|------------|-------------|
| `/makes.php` | GET | `api_key` | Returns a list of all available vehicle makes |
| `/models.php` | GET | `api_key`, `make` | Returns models for a specific make |
| `/generations.php` | GET | `api_key`, `make`, `model` | Returns generations for a make and model |
| `/engines.php` | GET | `api_key`, `make`, `model`, `generation` | Returns engine variants |
| `/search.php` | GET | `api_key`, `make`, `model`, `generation`, `engine` | Returns full vehicle performance data |
**Quote Endpoints:**
| Endpoint | Method | Parameters | Description |
|----------|--------|------------|-------------|
| `/quote-request.php` | POST | `api_key`, customer details, vehicle details, services | Submit a quote request |
| `/services.php` | GET | `api_key` | Returns your configured services |
**VRM Endpoints (if enabled):**
| Endpoint | Method | Parameters | Description |
|----------|--------|------------|-------------|
| `/vrm-lookup.php` | GET | `api_key`, `vrm` | Look up a vehicle by registration number |
| `/check-vrm-status.php` | GET | `api_key` | Check your VRM balance and status |
**Configuration Endpoints:**
| Endpoint | Method | Parameters | Description |
|----------|--------|------------|-------------|
| `/validate-key.php` | GET | `api_key` | Validate an API key |
| `/tenant-settings.php` | GET | `api_key` | Get gauge style and branding settings |
| `/tenant-styles.php` | GET | `api_key` | Get custom colour settings |
**Example Request:**
```
GET https://remappingwebsite.com/lookup/api/makes.php?api_key=YOUR_API_KEY
```
**Example Response:**
```json
{
"success": true,
"makes": ["Abarth", "Alfa Romeo", "Audi", "BMW", ...]
}
```
**Notes:**
- All responses are in JSON format
- All endpoints support CORS for cross-origin requests
- Invalid or disabled API keys return a `404` error
- Rate limiting may apply to prevent abuse
---