AutoMarket Atlas

REST API and remote MCP

AutoMarket Atlas developer documentation

Integrate used-car valuations and market trends into your app or AI agent. Run a stable sandbox request, verify the coverage for a real vehicle, then authenticate and set a spending limit.

Vehicle model in front of annotated pricing data panels

Run your first request

Python 3.10+

Choose REST to check a live vehicle’s coverage and inspect a fixed sandbox response. Choose MCP to discover tools, find a model and read market trends. Both examples run without a key, charge or package install.

REST

Terminal
curl -fsSLo atlas_rest.py https://automarketatlas.com/static/examples/atlas_rest.py
python3 atlas_rest.py --country US --source research_spain-used-car-price-benchmark-november-2026

MCP

Terminal
curl -fsSLo atlas_mcp.py https://automarketatlas.com/static/examples/atlas_mcp.py
python3 atlas_mcp.py --country US --source research_spain-used-car-price-benchmark-november-2026

From trial to prepaid access

  1. Try a live estimate. Add --trial to either command. Atlas allows up to 3 guest requests per network per UTC day. Switch US to GB or DE to test another market.
  2. Use signup valuations. Create a free account or call POST /v1/account. Save the API key in your secret store and expose it to the example as ATLAS_API_KEY. Eligible new accounts receive 20 free standard valuations.
  3. Top up for repeat use. The examples set a zero-dollar spending limit. When the signup allowance ends, choose a prepaid USD package or follow the API’s next_action. Check that the balance is funded before sending a paid request with your approved spending limit.

Make your first request

Start with a fixed valuation fixture. The sandbox response is stable, requires no credentials and uses no credits.

Sandbox valuation
curl --fail-with-body "https://automarketatlas.com/v1/sandbox/valuation"

View sandbox cases and expected responses

Call a live market

Start with a make, model and vehicle year seen in the data. You can make up to 3 guest valuation requests per network per UTC day, shared across the web form, REST and MCP. The response shows billing.trial_remaining. Market discovery, vehicle search and price history are available without an account.

GET/v1/market/valuation
Request
curl --get "https://automarketatlas.com/v1/market/valuation" \
  --data-urlencode country=DE \
  --data-urlencode make=Volkswagen \
  --data-urlencode model=Golf \
  --data-urlencode year=2025
Selected response fields
{
  "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
}
Open JSON response

Create an account and use your signup reward

Eligible accounts receive 20 free valuations. Create your account directly through the API without entering an email, password or card.

Create an account
curl --fail-with-body --request POST "https://automarketatlas.com/v1/account"

Store api_key and recovery_code as separate secrets. A retryable signup can send a JSON body with registration_token, a private URL-safe Base64 token generated from 32 random bytes, 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.

Use a signup valuation
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"

Read GET /v1/account/me for the remaining signup valuations and USD balance. A recovery code can replace your API key while keeping your account and balance.

Check vehicle coverage first

  1. Call GET /v1/markets and read each market’s capabilities. Choose a market with valuation when you need an estimate.
  2. Use GET /v1/vehicles/search to find an observed spelling of the make and model with an eligible vehicle year.
  3. Call GET /v1/market/availability with the same market, vehicle and optional filters you intend to use. Read status, sample_size, currency and standard_price_cents before submitting a paid request.
Free coverage check
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

EndpointReturns
GET /v1/marketsMarket codes, listing currencies, capabilities and sample vehicles
GET /v1/markets/{country}/trendsWeekly asking-price medians, price ranges and sample sizes
GET /v1/vehicles/searchMakes, models and vehicle years observed in the data
GET /v1/market/availabilityCoverage and potential USD charge for the requested vehicle or filters
GET /v1/productsAvailable data products, routes and billing units
GET /v1/market/valuationValuation from URL parameters. Supports guest and authenticated requests
POST /v1/market/valuationSame valuation from a JSON request. Supports guest and authenticated requests
POST /v1/accountAccount, reusable API key, recovery code and signup reward
POST /v1/account/recoverReplacement API key for an account with a recovery code
GET /v1/account/meRemaining signup valuations and balances in USD cents
GET /v1/account/usageRecent valuation receipts, signup rewards and top-ups
GET /v1/pricingGuest limits, signup offer, valuation price and top-up packages
POST /v1/account/checkoutStripe 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 this Streamable HTTP endpoint to list markets, find vehicles, read trends and request estimates.

Server URL
https://automarketatlas.com/mcp

Try estimate_vehicle as a guest. Create an account over REST when the trial ends. Keep the returned credentials in your client’s secrets store and configure its Authorization: Bearer header. Supply a fresh request_id for each new valuation and reuse it on retries. max_charge_cents: 0 limits a call to the signup reward. Use account_status to check your balance.

  1. list_markets returns market codes and supported capabilities.
  2. find_vehicles matches a make, model and year. Use market_trends for a market’s weekly observations.
  3. estimate_vehicle runs the valuation. Use account_status with an authenticated client to check balances.
Agent discovery file

Top up your USD balance

Paid valuations cost US$0.03 each. An authenticated result includes the listing currency, how the call was funded and the balance after the call. Only successful valuations use credit.

Card checkout

  1. Read available packages from GET /v1/pricing. The package lists its USD payment amount and bonus credits.
  2. With the payer’s approval, send POST /v1/account/checkout with package_id, your bearer key and a stable idempotency key for this top-up.
  3. Open or share the returned checkout_url with the payer. Use GET on the returned status_path with the original account key. Retry the valuation after its status is funded.

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.

  1. Send POST /v1/x402/top-up with a bearer key, Idempotency-Key, Max-Charge-Cents and a body such as {"package_id":"starter"}.
  2. Read the x402 v2 terms from Payment-Required when the quote returns HTTP 402. Verify the network, asset, amount and recipient before signing.
  3. Retry with Payment-Signature and the same key. For a pending settlement, keep the original signature and follow Retry-After. Continue after the order shows funded.

Read the agent integration guide

Errors and retries

400
Send an idempotency key with authenticated valuations and checkout requests.
401
Check the key in your Authorization header.
402
For insufficient_balance, use the top-up information in error.next_action. For charge_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-After when present. For trial_exhausted, error.next_action explains 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.

Build with additional data products

Discover endpoint URLs and USD unit prices from 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.

To buy a product, send the Bearer API key, a unique Idempotency-Key and your chosen Max-Charge-Cents. For example, submit a JSON vehicle to /v1/market/comparables with Max-Charge-Cents: 8.

Repeat the same idempotency key with the same input if the response is lost. The API replays the first successful result and charge. Batch requests charge only for successful vehicles and reject the entire debit if the supplied ceiling would be exceeded.

Explore data products