REST API and remote MCP
AutoMarket Atlas developer documentation
Use Atlas to add used-car prices and valuations to an app or agent. Try a sandbox request, check coverage for a real vehicle, then create an API key when you need one.
Run your first request
Python 3.10+The REST example checks coverage for a real vehicle and shows a sandbox response. The MCP example lists tools, finds a model and reads market prices. Both are free and run with Python’s standard library, without an API key.
REST
curl -fsSLo atlas_rest.py https://automarketatlas.com/static/examples/atlas_rest.py
python3 atlas_rest.py --country US --source research_denmark-used-car-price-benchmark-november-2026MCP
curl -fsSLo atlas_mcp.py https://automarketatlas.com/static/examples/atlas_mcp.py
python3 atlas_mcp.py --country US --source research_denmark-used-car-price-benchmark-november-2026Try a valuation and add credits
- Try a live estimate. Add
--trialto either command. Atlas allows up to 3 guest requests per network per UTC day. SwitchUStoGBorDEto test another market. - Use your free signup valuations. Create a free account or call
POST /v1/account. Save the API key in your secrets store and pass it to the example asATLAS_API_KEY. Eligible new accounts receive 20 free standard valuations. - Top up for repeat use. The examples set a zero-dollar spending limit. When you’ve used your free valuations, choose a prepaid USD package or follow the API’s
next_action. Wait for the top-up to appear in your balance. Then use the spending limit you approved for the request.
Make your first request
Start with a sandbox example. It returns the same response every time and needs no API key or credits.
curl --fail-with-body "https://automarketatlas.com/v1/sandbox/valuation"View sandbox cases and expected responses
Try a live valuation
Use a make, model and year from the live data. Each network gets up to 3 free guest valuations per UTC day across the website, REST and MCP. Check billing.trial_remaining for the number of requests left. You can browse markets, search for a car and read price history without an account.
/v1/market/valuationcurl --get "https://automarketatlas.com/v1/market/valuation" \
--data-urlencode country=DE \
--data-urlencode make=Volkswagen \
--data-urlencode model=Golf \
--data-urlencode year=2025
{
"country": "DE",
"currency": "EUR",
"vehicle": {"make": "Volkswagen", "model": "Golf", "year": 2025},
"median": 26980.0,
"range": {"p25": 24730.0, "p75": 30930.0},
"sample_size": 16274,
"window_days": 90
}
Get an API key
Eligible accounts receive 20 free valuations. Create your account directly through the API without entering an email, password or card.
curl --fail-with-body --request POST "https://automarketatlas.com/v1/account"Store api_key and recovery_code as separate secrets. To make account creation safe to retry, send a JSON body with registration_token, a private token made from 32 random bytes using URL-safe Base64 without padding. Reuse the same token to retry that signup.
Send the API key in Authorization: Bearer and a fresh Idempotency-Key for each new valuation. Keep that key for retries of the same request. The signup reward is used first. Set Max-Charge-Cents: 0 for reward-only use.
curl "https://automarketatlas.com/v1/market/valuation?country=DE&make=Volkswagen&model=Golf&year=2025" \
-H "Authorization: Bearer $ATLAS_API_KEY" \
-H "Idempotency-Key: $ATLAS_REQUEST_ID" \
-H "Max-Charge-Cents: 0"Call GET /v1/account/me to check how many free valuations you have left and see your USD balance. A recovery code can replace your API key while keeping your account and balance.
Check vehicle coverage first
- Call
GET /v1/marketsand read each market’scapabilities. Choose a market withvaluationwhen you need an estimate. - Use
GET /v1/vehicles/searchto find the make, model and year as they appear in the data. - Call
GET /v1/market/availabilitywith the same market, vehicle and optional filters you intend to use. Readstatus,sample_size,currencyandstandard_price_centsbefore submitting a paid request.
curl --fail-with-body "https://automarketatlas.com/v1/market/availability?country=DE&make=Volkswagen&model=Golf&year=2025"- Asking prices
- Read the response’s currency, observation dates and match count with the median and price range. A valuation describes observed comparable asking prices.
- Billing units
- Vehicle prices use the currency named in the response. Credit balances, charges and spending limits use USD cents.
- Retry keys
- Use one idempotency key per authenticated operation. Keep the same request data and key through timeouts and retries.
REST API reference
| Endpoint | Returns |
|---|---|
GET /v1/markets | Market codes, currencies, available features and example vehicles |
GET /v1/markets/{country}/trends | Weekly asking-price medians, price ranges and sample sizes |
GET /v1/vehicles/search | Makes, models and vehicle years observed in the data |
GET /v1/market/availability | Coverage and potential USD charge for the requested vehicle or filters |
GET /v1/products | Available data products, routes and billing units |
GET /v1/market/valuation | Valuation from URL parameters. Supports guest and authenticated requests |
POST /v1/market/valuation | Same valuation from a JSON request. Supports guest and authenticated requests |
POST /v1/account | Account, reusable API key, recovery code and signup reward |
POST /v1/account/recover | Replacement API key for an account with a recovery code |
GET /v1/account/me | Remaining signup valuations and balances in USD cents |
GET /v1/account/usage | Recent valuation receipts, signup rewards and top-ups |
GET /v1/pricing | Guest limits, signup offer, valuation price and top-up packages |
POST /v1/account/checkout | Stripe Checkout URL, order ID and status path |
GET /v1/account/checkout/{order_id} | Funding status for an order on the authenticated account |
Use the country codes returned by GET /v1/markets and the vehicle names from search. REST and MCP take mileage in kilometers. The web form uses the market’s usual odometer unit.
Connect an agent over MCP
Add the following URL to a client that supports Streamable HTTP. Use it to find vehicles, read prices or request a valuation.
https://automarketatlas.com/mcpTry estimate_vehicle as a guest. Create an account over REST when the trial ends. Save the API key and recovery code in your client’s secrets store. Send the key in the Authorization: Bearer header. Give each new valuation a new request_id, and keep it when you retry. max_charge_cents: 0 limits a call to the signup reward. Use account_status to check your balance.
list_marketslists market codes and the data each market offers.find_vehiclesmatches a make, model and year. Usemarket_trendsfor a market’s weekly observations.estimate_vehicleruns the valuation. Useaccount_statuswith an authenticated client to check balances.
Buy credits
Standard paid valuations cost US$0.03. With an API key, the response shows the listing currency, the charge and your remaining balance.
Card checkout
- Read available packages from
GET /v1/pricing. Each package shows how much you’ll pay and how much credit you’ll receive. - With the payer’s approval, send
POST /v1/account/checkoutwithpackage_id, your bearer key and a stable idempotency key for this top-up. - Open or share
checkout_urlwith the payer. Checkstatus_pathwith aGETrequest and the same API key. When the top-up isfunded, retry the valuation.
Agent top-ups with x402
Read x402.mode, x402.packages and x402.next_action from the pricing API. If your client supports the published network and asset, obtain approval to spend the package amount.
- Send
POST /v1/x402/top-upwith a bearer key,Idempotency-Key,Max-Charge-Centsand a body such as{"package_id":"starter"}. - Read the x402 v2 terms from
Payment-Requiredwhen the quote returns HTTP 402. Verify the network, asset, amount and recipient before signing. - Retry with
Payment-Signatureand the same key. For a pending settlement, keep the original signature and followRetry-After. Continue after the order showsfunded.
Errors and retries
- 400
- Send an idempotency key with authenticated valuations and checkout requests.
- 401
- Check the key in your
Authorizationheader. - 402
- For
insufficient_balance, use the top-up information inerror.next_action. Forcharge_limit_exceeded, request payer approval before raising the limit. - 409
- Use a new idempotency key when changing the inputs.
- 422
- Check the inputs or remove an optional filter if too few listings match. Your balance stays available.
- 429
- Follow
Retry-Afterwhen present. Fortrial_exhausted,error.next_actionexplains how to create an account. - 503
- Retry a temporary failure after the indicated delay. Keep your original idempotency key and any x402 payment signature for a pending top-up.
More ways to query Atlas
Find endpoint URLs and prices in the product catalog. Request and response schemas are available in OpenAPI.
Check a vehicle and its filters with GET /v1/market/availability. The response shows coverage and the standard USD price before you use credits.
For a paid request, send your API key in the Bearer header. Include a unique Idempotency-Key and set your spending limit with Max-Charge-Cents. For example, submit a JSON vehicle to /v1/market/comparables with Max-Charge-Cents: 8.
If you lose a response, retry with the same input and idempotency key. Atlas returns the original result without charging again. In a batch, you pay only for vehicles with enough matches. If the total would exceed your limit, Atlas declines the charge.