# Edmunds New Car TMV API Documentation

Get the Edmunds True Market Value (TMV) of a new car style in a ZIP code: base MSRP, base invoice and TMV, plus the totals with the destination charge. Prices are US dollars. A style without price guidance returns a not-billable 404.

- **Documentation:** [https://scrappa.co/docs/edmunds-api/edmunds_tmv_new](https://scrappa.co/docs/edmunds-api/edmunds_tmv_new)
- **API group:** Edmunds API
- **Endpoint:** `GET https://scrappa.co/api/edmunds/tmv/new`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `style_id` | string | Yes | Numeric Edmunds style id, from the model years endpoint (default_style_id). Example: 402033137. |
| `zip` | string | Yes | 5-digit US ZIP code for the regional price. Example: 90210. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/edmunds/tmv/new?style_id=402033137&zip=90210"
```

## Example response

```json
{
    "success": true,
    "data": {
        "tmv": {
            "base_msrp": 31000,
            "base_invoice": 28520,
            "tmv": 28059,
            "destination_charge": 1195,
            "total_msrp": 32195,
            "total_invoice": 29715,
            "total_tmv": 29254,
            "offer_price": 29254
        }
    },
    "meta": {
        "endpoint_family": "tmv_new",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The requested Edmunds resource does not exist. This response is not billable. |
| 503 | Invalid Source Response | The upstream answered with a shape that no longer matches the documented contract. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
