Developer documentation

From a request
to your next product.

Start with the source-specific API contract, compare active source database fields, or inspect a separately versioned historical sample. Each has its own schema and status meaning.

Source-specific API guide

Choose the source contract first.

Verified unified source contracts / 18 October 2026
SourceSearch routeRecord listPaginationDefault limitCurrency
Mobile.de/v1/mobilede/searchitemsoffset50EUR
AutoScout24 EU/v1/europe/searchitemsoffset25EUR
Autolina/v1/swiss/carsresultspage20CHF
Otomoto/v1/poland/carsresultsoffset50PLN

Each source has different query names and response fields. Backend definitions and read-only source responses were checked; this audit did not exercise paid-key entitlement or every detail/refresh operation.

Pagination & field mapping

Handle the envelope you receive.

Mobile.de and AutoScout24 return items. When total_is_exact=false, total can be null; follow has_more and next_offset. Do not use the marketing database count as the end of a filtered API query.

Autolina returns results, total_results, page and total_pages. Otomoto returns results, total, count, limit and offset. The source page documents exact filter names and defaults.

Authentication failures use 401/403; configured quota or rate limits can return 429. Respect Retry-After when present and use bounded retries for transient 5xx failures. Source error envelopes can differ.

Source database fields are not automatically the search API fields. For example, Mobile.de search uses price and mileage, while the source database uses price_eur and mileage_km. Missing fields and null values remain possible.

01 / API access

Authenticate on your server.

Use your private key in the X-API-Key header. Keep credentials out of browser bundles and public repositories. Confirm your source, endpoint and plan before subscribing.

cURL / example request
curl --get 'https://api.automarketapi.com/v1/mobilede/cars' \
  -H "X-API-Key: $AUTOMARKET_API_KEY" \
  --data-urlencode 'limit=5' 

Source availability, filters and response fields vary. Review the gateway’s live API reference and inspect the actual response.

02 / source gateways

Know the route you are using.

SourceGateway prefixDetails
Mobile.de/v1/mobilede/ or /v1/germany/Germany
AutoScout24/v1/europe/Europe
Otomoto/v1/poland/Poland
Autolina/v1/swiss/Switzerland

These source prefixes appear in the current gateway specification. A prefix does not imply that every possible path or filter exists. Other catalogue sources are dataset or separately confirmed access options. Gateway specification.

03 / historical data

Query a real delisted sample.

Delisted archive
This query reads historical removals.

It does not query current cars for sale. price_eur is a recorded asking price. days_on_market measures the observed collection interval, not a verified time to sale.

DuckDB / SQL
-- This URL is a small historical sample, not the full inventory.
INSTALL httpfs;
LOAD httpfs;
SELECT source_site, make, model, reg_year, price_eur,
       first_seen_at, delisted_at, days_on_market
FROM read_parquet('https://automarketapi.com/samples/verified-delisted-europe-20261015.parquet')
WHERE price_eur > 0
ORDER BY delisted_at DESC
LIMIT 10;
Python / Polars
import polars as pl

sample = "https://automarketapi.com/samples/verified-delisted-europe-20261015.parquet"
rows = (
    pl.scan_parquet(sample)
    .select(["source_site", "make", "model", "price_eur", "delisted_at"])
    .limit(10)
    .collect()
)
print(rows)

Small ordered previews from the published KTHESAT archive, revision 15 October 2026. CC BY-NC-SA 4.0. Files retain their original fields and missing values; they are not representative statistical samples.

04 / resilient clients

Handle the response you receive.

Inspect the body

Read the HTTP status and error message. Do not assume that every source uses identical fields, pagination or availability values.

Bound your retries

Respect Retry-After when present. Use capped retries with jitter for transient failures; fix authentication and invalid inputs instead of retrying them indefinitely.

Plan your usage

Check your account usage through /v1/usage and confirm your plan limits. Dataset deliveries are agreed separately from API subscriptions.

05 / data definitions

Agree the fields that matter.

Confirm source, category, currency, required attributes, observation dates, status semantics, null handling and usage terms. A listing removal is not proof of a completed sale; first seen is not the seller publication date.