API Reference

Complete reference for the MotorsDynamic REST API, Partner Data Issues API, typed SDKs in TypeScript, Python, and Go, and the hosted MCP server. Authenticate with a single API key across every surface.

Overview - reference hub & OpenAPI specs.

The MotorsDynamic API provides programmatic access to dealer inventory, cross-domain VIN lookups, price history, dealer onboarding, competitive intelligence, GA4-derived engagement scoring, listing quality audits, market signals, formatted feeds (CSV, XML, JSON, and VLA), HMAC-signed webhooks, and partner data-quality workflows.

Specification / ResourceURL
Core REST OpenAPI 3.0 Spechttps://api.motorsdynamic.com/api/docs/spec
Partner Data Issues OpenAPI 3.0.3 Spechttps://api.motorsdynamic.com/api/v1/partner/openapi/data-issues.json
Interactive API Explorerhttps://api.motorsdynamic.com/api/docs
Postman Collectionhttps://api.motorsdynamic.com/api/postman/collection
Hosted MCP Server Guidehttps://motorsdynamic.com/mcp/

Reference areas (149 REST endpoints + 19 MCP tools)

Authentication

Send your MotorsDynamic API key in the X-API-Key header (recommended for all server-to-server integrations, SDKs, and the Partner Data Issues API) or as a Bearer token in the Authorization header:

HEADERSX-API-Key or Authorization: Bearer
# Recommended header for all REST and Partner Data Issues endpoints
X-API-Key: YOUR_API_KEY

# Bearer header (also supported on REST and MCP HTTP endpoints)
Authorization: Bearer YOUR_API_KEY

Each API key is scoped to your account and inherits its domain and data access. Issue or rotate keys in the dashboard under Settings → API Tokens. Partner Data Issues endpoints additionally require the partner:data-issues:<partner> scope enabled on your API key.

A small set of signed-token and documentation endpoints accept unauthenticated requests: GET /api/feeds/download/{token}, GET /api/vla/dealers/{dealerId}/feeds/vla/content?feed_token=..., GET /api/docs, GET /api/docs/spec, and GET /api/postman/collection.

Base URLs

Two equivalent base URLs are supported for the core REST API and route to the same handlers:

SurfaceBase URLNotes
Core REST APIhttps://api.motorsdynamic.com/apiCanonical REST base path used across this reference and the OpenAPI spec
Core REST API (v1 alias)https://api.motorsdynamic.com/v1Versioned alias used by the official TypeScript, Python, and Go SDKs; /api/<resource> and /v1/<resource> route to the same handler
Partner Data Issues APIhttps://api.motorsdynamic.com/api/v1/partnerBase path for /api/v1/partner/data-issues and /api/v1/partner/dealers/{domain}/quality (quality is also served at /api/partner/dealers/{domain}/quality)
MCP Serverhttps://mcp.motorsdynamic.com/mcpStreamable HTTP Model Context Protocol server

Rate limits

Rate limits are enforced per API key on a sliding 1-hour window. Every REST response includes rate-limit headers:

RESPONSE HEADERS
X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 9981
X-RateLimit-Reset: 2734
Surface / CallerLimitNotes
API key (default)10,000 requests / hourSliding 1-hour window per API key
API key (custom)Configurable per tokenSet per token at creation; 0 means unlimited
Bearer token10,000 requests / hourShared across the agency
Anonymous (public endpoints)100 requests / hourPer client IP address
Partner Data Issues POST600 reports / hourPer partner account; one scope: "dealer" report counts as 1 request regardless of how many vehicles it covers
Single-vehicle refresh1 / 60s per vehicle, 3 concurrent / domainPOST /api/scrape/vehicle returns 429 with Retry-After within 60s and 503 above 3 concurrent refreshes for a domain
MCP server120 / minute, 10,000 / dayPer API key across the 19 read-only MCP tools
Outbound webhooksUnlimitedWebhook deliveries never count against your API rate limit

When a rate limit is exceeded, the API responds with 429 Too Many Requests, a Retry-After header (in seconds), and a JSON body:

RESPONSE429 Too Many Requests
{
  "error": "Rate limit exceeded",
  "limit": 10000,
  "retry_after_seconds": 2734
}

Errors

All error responses return a JSON object with an error message and, for validation failures, a details array or object. Every response carries an X-Request-Id header for support diagnostics.

StatusMeaning
400Bad request: missing or invalid query or body parameter. Body includes error and optional details.
401Unauthorized: missing, expired, or invalid X-API-Key or Bearer token.
402Payment or plan required: subscription past due or feature gated to a higher plan tier.
403Forbidden: valid API key, but not authorized for the requested resource or partner scope.
404Not found: requested VIN, domain, dealer, or issue ID does not exist.
409Conflict: resource already exists (for example, POST /api/domains returns 409 with the existing domain record so callers can retry idempotently).
422Unprocessable entity: semantic validation error. In Partner Data Issues, 422 returns {"error": "...", "details": ["..."]} listing every validation problem at once; in Trade-In Valuation, 422 indicates insufficient comparable listings.
429Rate limit exceeded: respect the Retry-After header and retry_after_seconds field.
503Concurrency limit reached on synchronous single-vehicle refresh (more than 3 concurrent refreshes for the same dealer domain).
5xxServer error: retried automatically with exponential backoff by the official SDKs.

Pagination

Endpoints that return lists use one of three pagination conventions depending on the dataset:

PatternQuery parametersResponse fieldsUsed by
Offset paginationlimit (default 50 or 100, max 500 or 1000), offset (default 0)total, limit, offset alongside the items array (vehicles, domains)GET /api/vehicles, GET /api/domains, GET /api/domains/{clean_domain}/vehicles, GET /api/feeds/{id}/vehicles, GET /api/competitive/groups/{id}/market-intelligence
Page paginationpage (1-based, default 1), limit (max 100)pagination: {"total": 240, "page": 1, "limit": 50, "pages": 5}GET /api/dealers/{dealerId}/inventory/*, GET /api/dealers/{dealerId}/alerts/price-changes, GET /api/dealers/{dealerId}/market/imbalances, GET /api/dealers/{dealerId}/trade/matches, GET /api/webhooks/{id}/deliveries
Cursor paginationlimit (1 to 200, default 50), cursor (opaque string)data: [...] and next_cursor (string or null when at the end)GET /api/v1/partner/data-issues

SDKs - typed clients in TypeScript, Python, and Go.

The official SDKs authenticate with X-API-Key, default to https://api.motorsdynamic.com/v1, retry automatically on 429 and 5xx responses, and expose auto-paginating iterators.

TYPESCRIPT / NODE.JSnpm i @motorsdynamic/sdk
import { MotorsDynamic } from "@motorsdynamic/sdk";

const md = new MotorsDynamic({ apiKey: "YOUR_API_KEY" });
const vehicle = await md.vehicles.get("1HGCV1F34LA123456");

for await (const car of md.vehicles.iterate({ make: "Honda", model: "Accord", year_min: 2022 })) {
  console.log(car.vin, car.price);
}
PYTHONpip install motorsdynamic
from motorsdynamic import MotorsDynamic

md = MotorsDynamic(api_key="YOUR_API_KEY")
vehicle = md.vehicles.get("1HGCV1F34LA123456")

for car in md.vehicles.iterate(make="Honda", model="Accord", year_min=2022):
    print(car.vin, car.price)
GOgo get github.com/motorsdynamic/sdk-go
md := motorsdynamic.New("YOUR_API_KEY")
vehicle, err := md.Vehicles.Get(ctx, "1HGCV1F34LA123456")

Partner integration workflow

When partners onboard dealer websites and synchronize inventory into their own platform, follow this five-step lifecycle:

  1. Add the dealer domain: Call POST /api/domains with {"url": "https://www.example-dealer.com"} (or POST /api/domains/bulk for up to 500 domains at once). A 201 response queues a new domain; 200 reactivates a soft-deleted domain; 409 indicates the domain is already tracked and returns the existing domain object.
  2. Wait for CMS detection and initial scrape: Platform detection completes in 1 to 5 minutes and the initial full inventory scrape completes in 5 to 15 minutes. Subscribe to the domain.ingested webhook via POST /api/webhooks, or poll GET /api/domains/id/{id} every 30 to 60 seconds until cms_type is non-null and vehicle_count > 0.
  3. Fetch initial inventory: Pull active listings via GET /api/domains/{clean_domain}/vehicles?limit=500.
  4. Stay synchronized in real time: Subscribe to vehicle.added, vehicle.price_changed, and vehicle.removed webhooks so incremental changes stream to your backend as scrapes finish.
  5. Monitor quality and report discrepancies: Check live field completeness with GET /api/v1/partner/dealers/{domain}/quality and report single-vehicle or whole-dealer issues (scope: "dealer" with undercount or rejected_vehicles) via POST /api/v1/partner/data-issues.

Vehicles - search, VIN lookup, price history & schema.

Every vehicle listing is keyed by (vin, domain_id). Query across all domains, inspect every dealer listing a VIN, fetch single-domain VIN history, or refresh a single vehicle synchronously. Full reference: /api-docs/vehicles/ (all 8 endpoints).

MethodEndpointPurpose
GET/api/vehiclesSearch and filter active or historical vehicle listings across all tracked domains with full-text search, spec filters, sorting, and VIN deduplication.
GET/api/vehicles/{vin}Retrieve every listing for a 17-character VIN across all tracked dealer domains, together with VIN-decoded specifications, price summary, and price history.
GET/api/vehicles/{vin}/{domain}Retrieve a single VIN listing at a specific dealer domain, along with its price history and any concurrent listings of the same VIN on other domains.
GET/api/vehicles/{vin}/price-historyReturn the chronological timeline of observed listing prices for a VIN.
GET/api/vehicles/domain/{domainId}Return all vehicle listings belonging to a tracked dealer domain specified by its numeric domain ID.
GET/api/vehicles/statsReturn aggregate vehicle counts broken down by status, condition, vehicle_type, make, and domain.
GET/api/vehicles/field-qualityReturn the population percentage for each canonical vehicle field across all active listings.
POST/api/scrape/vehicleRe-read a single vehicle's dealer detail page synchronously and return a verdict indicating whether photos and fields were updated, unchanged, absent on source, or fetch-degraded.

Canonical vehicle schema and decoded fields

Every vehicle listing returned by /api/vehicles, /api/domains/{clean_domain}/vehicles, and /api/vehicles/{vin} uses the canonical vehicle schema below, combining dealer website pricing, MSRP and window-sticker specification fields, VIN-decoded attributes, photo URLs, and lifecycle timestamps. On the MCP server, the get_vehicle tool additionally returns window sticker figures and applicable manufacturer offers alongside these fields.

FieldTypeDescription
idintegerInternal MotorsDynamic listing ID
vinstring17-character Vehicle Identification Number (VIN)
yearintegerFour-digit model year (for example, 2023)
makestringNormalized manufacturer name (for example, Honda)
modelstringNormalized model name (for example, Accord)
trimstringVehicle trim level (for example, EX-L)
conditionstringListing condition: New, Used, or Certified
is_cpobooleanTrue when the listing is Certified Pre-Owned
vehicle_typestringcar, motorcycle, rv, or heavy_equipment
pricestringCurrent dealer website listing price in decimal USD (for example, "28995.00")
msrpstring | nullManufacturer Suggested Retail Price (window sticker MSRP) in decimal USD when available
mileageintegerOdometer reading in miles
exterior_colorstring | nullExterior color as listed on the VDP or window sticker
interior_colorstring | nullInterior color or upholstery material
body_typestring | nullBody style (for example, Sedan, SUV, Truck)
fuel_typestring | nullFuel or powertrain type (for example, Gasoline, Hybrid, Electric)
transmissionstring | nullTransmission specification
drivetrainstring | nullDrivetrain layout (FWD, RWD, AWD, 4WD)
enginestring | nullEngine displacement and cylinder configuration
stock_numberstring | nullDealer stock number
urlstringDirect URL to the vehicle detail page (VDP) on the dealer website
imagesstring[]Ordered array of vehicle photo URLs
image_countintegerTotal number of photos in images
primary_imagestring | nullFirst (hero) photo URL
is_activebooleanTrue while the vehicle is actively listed on the dealer website
first_seen_atstring (date-time)ISO 8601 timestamp when the listing was first observed
last_seen_atstring (date-time)ISO 8601 timestamp when the listing was most recently verified active
removed_atstring (date-time) | nullISO 8601 timestamp when the vehicle left the dealer website, or null if active
domain_idintegerNumeric ID of the dealer domain that owns the listing
clean_domainstringBare lowercase hostname of the dealer website (for example, example-dealer.com)

List and search vehicles

GET/api/vehicles

Search and filter active or historical vehicle listings across all tracked domains with full-text search, spec filters, sorting, and VIN deduplication.

NameTypeRequiredDescription
domainstring (query)NoFilter by clean domain
domain_idinteger (query)NoFilter by domain ID
statusstring (query)Noactive | removed | all
active_fromstring (query)NoISO date
active_tostring (query)NoISO date
conditionstring (query)Nonew | used | cpo
vehicle_typestring (query)Nocar | motorcycle | rv | heavy_equipment
makestring (query)NoVehicle manufacturer name (for example, Honda, Toyota)
modelstring (query)NoVehicle model name (for example, Accord, Camry)
year_mininteger (query)NoMinimum model year (inclusive)
year_maxinteger (query)NoMaximum model year (inclusive)
price_minnumber (query)NoMinimum listing price in USD
price_maxnumber (query)NoMaximum listing price in USD
mileage_mininteger (query)NoMinimum odometer mileage
mileage_maxinteger (query)NoMaximum odometer mileage
has_imagesboolean (query)NoWhen true, return only vehicles with at least one photo
has_priceboolean (query)NoWhen true, return only vehicles with a listed price
searchstring (query)NoFull-text on VIN, make, model, stock_number
sortstring (query)Nolast_seen_at | first_seen_at | price | year | make
orderstring (query)Noasc | desc
limitinteger (query)NoDefault 50, max 500
offsetinteger (query)NoZero-based pagination offset
dedupeboolean (query)NoDedupe by VIN (default true unless filtering by single domain)
CURLGET /api/vehicles
curl -sS "https://api.motorsdynamic.com/api/vehicles?make=Honda&model=Accord&condition=used&year_min=2022&has_price=true&limit=50&offset=0" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vehicles": [
    {
      "id": 887412,
      "vin": "1HGCV1F34LA123456",
      "year": 2023,
      "make": "Honda",
      "model": "Accord",
      "trim": "EX-L",
      "condition": "Used",
      "is_cpo": true,
      "vehicle_type": "car",
      "price": "28995.00",
      "msrp": "31500.00",
      "mileage": 18420,
      "exterior_color": "Platinum White Pearl",
      "interior_color": "Black",
      "body_type": "Sedan",
      "fuel_type": "Gasoline",
      "transmission": "Automatic",
      "drivetrain": "FWD",
      "engine": "1.5L Turbo I4",
      "stock_number": "H23091A",
      "url": "https://www.example-dealer.com/used/Honda/2023-Honda-Accord-1HGCV1F34LA123456.htm",
      "images": [
        "https://www.example-dealer.com/photos/1HGCV1F34LA123456-1.jpg"
      ],
      "image_count": 28,
      "primary_image": "https://www.example-dealer.com/photos/1HGCV1F34LA123456-1.jpg",
      "is_active": true,
      "first_seen_at": "2026-09-14T06:10:00.000Z",
      "last_seen_at": "2026-10-30T06:12:00.000Z",
      "removed_at": null,
      "domain_id": 42,
      "clean_domain": "example-dealer.com"
    }
  ],
  "total": 1240,
  "limit": 50,
  "offset": 0,
  "dedupe": true
}

Get vehicle by VIN (cross-domain)

GET/api/vehicles/{vin}

Retrieve every listing for a 17-character VIN across all tracked dealer domains, together with VIN-decoded specifications, price summary, and price history.

NameTypeRequiredDescription
vinstring (path)Yes17-character VIN
CURLGET /api/vehicles/{vin}
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vin": "1HGCV1F34LA123456",
  "decoded": {
    "year": 2023,
    "make": "Honda",
    "model": "Accord",
    "trim": "EX-L",
    "body_style": "Sedan",
    "drive_type": "FWD"
  },
  "summary": {
    "total_listings": 2,
    "active_listings": 2,
    "domains_count": 2,
    "min_price": 28795,
    "max_price": 28995,
    "price_variance": 200
  },
  "listings": [
    {
      "id": 887412,
      "domain_id": 42,
      "clean_domain": "example-dealer.com",
      "price": "28995.00",
      "msrp": "31500.00",
      "mileage": 18420,
      "condition": "Used",
      "is_active": true,
      "last_seen_at": "2026-10-30T06:12:00.000Z"
    }
  ],
  "price_history": [
    { "observed_at": "2026-09-14T06:10:00.000Z", "price": "29495.00" },
    { "observed_at": "2026-10-12T06:15:00.000Z", "price": "28995.00" }
  ]
}

Get vehicle by VIN and domain

GET/api/vehicles/{vin}/{domain}

Retrieve a single VIN listing at a specific dealer domain, along with its price history and any concurrent listings of the same VIN on other domains.

NameTypeRequiredDescription
vinstring (path)Yes17-character Vehicle Identification Number (VIN)
domainstring (path)YesClean domain
CURLGET /api/vehicles/{vin}/{domain}
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456/example-dealer.com" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vehicle": {
    "id": 887412,
    "vin": "1HGCV1F34LA123456",
    "year": 2023,
    "make": "Honda",
    "model": "Accord",
    "trim": "EX-L",
    "price": "28995.00",
    "msrp": "31500.00",
    "mileage": 18420,
    "domain_id": 42,
    "clean_domain": "example-dealer.com",
    "is_active": true
  },
  "price_history": [
    { "observed_at": "2026-09-14T06:10:00.000Z", "price": "29495.00" },
    { "observed_at": "2026-10-12T06:15:00.000Z", "price": "28995.00" }
  ],
  "other_listings": []
}

Get VIN price history

GET/api/vehicles/{vin}/price-history

Return the chronological timeline of observed listing prices for a VIN.

NameTypeRequiredDescription
vinstring (path)Yes17-character Vehicle Identification Number (VIN)
CURLGET /api/vehicles/{vin}/price-history
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456/price-history" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vin": "1HGCV1F34LA123456",
  "history": [
    { "observed_at": "2026-09-14T06:10:00.000Z", "price": "29995.00" },
    { "observed_at": "2026-09-28T06:11:00.000Z", "price": "29495.00" },
    { "observed_at": "2026-10-12T06:15:00.000Z", "price": "28995.00" }
  ]
}

Domains, Dealers & Jobs - onboarding, portfolio rollups & scrape status.

Onboard dealer websites, bulk-import up to 500 domains per call, trigger manual scans, manage primary dealers, view portfolio rollups, and check asynchronous scrape job status. Full reference: /api-docs/domains/ (all 20 endpoints).

MethodEndpointPurpose
GET/api/domainsList all dealer website domains attached to your API key with detected CMS platform, last scrape timestamp, and active vehicle counts.
POST/api/domainsOnboard a dealer website URL for automated CMS platform detection and recurring inventory ingestion.
POST/api/domains/bulkOnboard up to 500 dealer domains in a single request using either a JSON array of URLs or newline-separated text/csv.
GET/api/domains/{clean_domain}/vehiclesReturn paginated vehicle listings for a single dealer identified by its clean domain name (for example, example-dealer.com).
GET/api/domains/id/{id}Retrieve a single domain record by numeric ID, including recent scrape jobs and active/total vehicle counts.
POST/api/domains/{id}/scanQueue an immediate inventory scrape job for a tracked domain and return the queued job ID.
DELETE/api/domains/{id}Soft-deactivate a domain to stop recurring scrapes while preserving historical vehicle records.
POST/api/domains/{id}/reactivateRe-enable a previously deactivated domain and resume scheduled inventory scraping.
GET/api/domains/cms-distributionReturn the count of tracked domains grouped by detected dealer website CMS platform.
GET/api/my-dealersList all primary (own) dealerships configured under your account for dealer analytics, quality audits, and feed management.
POST/api/my-dealersRegister a primary dealership profile and link it to a tracked domain ID.
PUT/api/my-dealers/{id}Update the profile, address, OEM brand, or linked domain ID of a primary dealer.
DELETE/api/my-dealers/{id}Remove a primary dealer record by ID.
GET/api/portfolio/summaryReturn aggregate inventory counts, unread alert totals, and domain health across all dealers in your portfolio.
GET/api/portfolio/dealersReturn a per-dealer summary table with active inventory counts, aging breakdown, and average engagement score.
GET/api/portfolio/conflictsIdentify VINs listed simultaneously at multiple rooftops in your portfolio with mismatched prices.
GET/api/portfolio/benchmarksCompare price competitiveness, median days on lot, and listing quality across all rooftops in your portfolio.
GET/api/jobsList recent asynchronous CMS detection, inventory scrape, and VIN decode jobs with status and domain filters.
GET/api/jobs/{id}Retrieve execution details, vehicle counts, and timing for a single scrape job by ID.
GET/api/scrape/status/{jobId}Poll the current execution status of a queued or running scrape job by job ID.

List tracked domains

GET/api/domains

List all dealer website domains attached to your API key with detected CMS platform, last scrape timestamp, and active vehicle counts.

NameTypeRequiredDescription
is_activeboolean (query)NoFilter by active status
cms_typestring (query)NoFilter by detected CMS
limitinteger (query)NoPage size
offsetinteger (query)NoPagination offset
CURLGET /api/domains
curl -sS "https://api.motorsdynamic.com/api/domains?is_active=true&limit=100&offset=0" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "domains": [
    {
      "id": 42,
      "url": "https://www.example-dealer.com",
      "clean_domain": "example-dealer.com",
      "cms_type": "dealeron",
      "is_active": true,
      "last_scraped_at": "2026-10-30T06:12:00.000Z",
      "vehicle_count": 412,
      "vehicle_counts": { "new": 190, "used": 182, "cpo": 40, "total": 412 }
    }
  ],
  "total": 1,
  "limit": 100,
  "offset": 0
}

Add a domain

POST/api/domains

Onboard a dealer website URL for automated CMS platform detection and recurring inventory ingestion.

NameTypeRequiredDescription
urlstring (body)YesTarget URL (dealer website URL or HTTPS webhook receiver URL)
CURLPOST /api/domains
curl -sS -X POST "https://api.motorsdynamic.com/api/domains" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.example-dealer.com"}'
RESPONSE201 Created
{
  "message": "Domain added and queued for processing",
  "domain": {
    "id": 412,
    "url": "https://www.example-dealer.com",
    "clean_domain": "example-dealer.com",
    "cms_type": null,
    "is_active": true,
    "vehicle_count": 0
  }
}

Bulk add up to 500 domains

POST/api/domains/bulk

Onboard up to 500 dealer domains in a single request using either a JSON array of URLs or newline-separated text/csv.

NameTypeRequiredDescription
urlsstring[] (body, application/json)NoArray of up to 500 dealer website URLs or domains (required when Content-Type is application/json)
csv_bodystring (body, text/csv)NoNewline-separated list of up to 500 dealer domains (required when Content-Type is text/csv)
CURLPOST /api/domains/bulk
curl -sS -X POST "https://api.motorsdynamic.com/api/domains/bulk" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["example-dealer-1.com", "example-dealer-2.com", "example-dealer-3.com"]}'
RESPONSE207 Multi-Status
{
  "summary": { "total": 3, "added": 2, "skipped": 1, "errors": 0 },
  "results": [
    { "url": "example-dealer-1.com", "status": "added", "domain": { "id": 412 } },
    { "url": "example-dealer-2.com", "status": "skipped", "reason": "already_exists" },
    { "url": "example-dealer-3.com", "status": "added", "domain": { "id": 413 } }
  ]
}

List vehicles for a domain by clean domain name

GET/api/domains/{clean_domain}/vehicles

Return paginated vehicle listings for a single dealer identified by its clean domain name (for example, example-dealer.com).

NameTypeRequiredDescription
clean_domainstring (path)Yese.g., example-dealer.com
statusstring (query)Noactive | removed | all
conditionstring (query)Nonew | used | cpo
makestring (query)NoVehicle manufacturer name (for example, Honda, Toyota)
modelstring (query)NoVehicle model name (for example, Accord, Camry)
min_pricenumber (query)NoMinimum listing price in USD
max_pricenumber (query)NoMaximum listing price in USD
min_yearinteger (query)NoMinimum model year (inclusive)
max_yearinteger (query)NoMaximum model year (inclusive)
has_imagesboolean (query)NoWhen true, return only vehicles with at least one photo
has_priceboolean (query)NoWhen true, return only vehicles with a listed price
limitinteger (query)NoDefault 100, max 1000
offsetinteger (query)NoZero-based pagination offset
CURLGET /api/domains/{clean_domain}/vehicles
curl -sS "https://api.motorsdynamic.com/api/domains/example-dealer.com/vehicles?status=active&limit=100" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vehicles": [
    {
      "id": 887412,
      "vin": "1HGCV1F34LA123456",
      "year": 2023,
      "make": "Honda",
      "model": "Accord",
      "trim": "EX-L",
      "condition": "Used",
      "price": "28995.00",
      "mileage": 18420,
      "clean_domain": "example-dealer.com",
      "is_active": true
    }
  ],
  "total": 412,
  "limit": 100,
  "offset": 0
}

Competitive Intelligence - competitor groups, market share & pricing.

Discover local dealerships, assemble competitor groups around a primary rooftop, compare market share and make/model pricing, render ZIP heatmaps, and track daily inventory timelines and alerts. Full reference: /api-docs/competitive-intelligence/ (all 25 endpoints).

MethodEndpointPurpose
GET/api/competitive/places/autocompleteSearch for dealerships by name or city to obtain a place_id for onboarding into competitive tracking.
GET/api/competitive/places/{place_id}Resolve a place_id into dealership address, coordinates, website domain, and detected OEM brand.
GET/api/competitive/dealersList all dealerships tracked for competitive intelligence, optionally filtered by primary vs competitor status.
POST/api/competitive/dealersRegister a primary or competitor dealership for competitive intelligence tracking.
GET/api/competitive/dealers/{id}Retrieve details, coordinates, and inventory counts for a tracked competitive dealer by ID.
DELETE/api/competitive/dealers/{id}Remove a dealership from competitive tracking.
GET/api/competitive/groupsList all competitor groups, each pairing a primary dealer with nearby same-brand or local competitors.
POST/api/competitive/groupsCreate a competitor group around a primary dealer and automatically discover nearby competitors within the specified radius.
GET/api/competitive/groups/{id}Retrieve a competitor group's configuration, member dealers, and aggregate inventory counts.
POST/api/competitive/groups/{id}/discoverRe-run geographic and brand competitor discovery for an existing competitor group.
POST/api/competitive/groups/{id}/membersAttach a tracked competitive dealer to a competitor group.
DELETE/api/competitive/groups/{id}/members/{memberId}Remove a competitor dealer membership from a competitor group.
GET/api/competitive/groups/{id}/map-dataReturn geographic coordinates, distance from primary rooftop, and inventory counts for every dealer in the group.
GET/api/competitive/groups/{id}/market-shareReturn each group member's share of active inventory, condition split (new, used, CPO), and average asking price.
GET/api/competitive/groups/{id}/pricingCompare average, minimum, and maximum listing prices per dealer in the group for a specific make and optional model.
GET/api/competitive/groups/{id}/heatmapReturn vehicle supply counts aggregated by postal code across the competitor group.
GET/api/competitive/groups/{id}/activityReturn newly added, removed, and repriced vehicles across the competitor group over the specified lookback window.
GET/api/competitive/groups/{id}/timelineReturn daily historical inventory counts and average prices for each dealer in the competitor group.
GET/api/competitive/groups/{id}/market-intelligenceReturn your primary dealer's inventory enriched with comparable competitor listings and market price positioning.
GET/api/competitive/groups/{id}/listingsReturn all active listings across your primary rooftop and every competitor in the group matching the specified make, model, trim, and year range.
GET/api/competitive/alertsList competitive intelligence alerts for price cuts, inventory spikes, and new competitors.
PUT/api/competitive/alerts/{id}/readMark a single competitive intelligence alert as read.
PUT/api/competitive/alerts/read-allMark all unread competitive alerts as read, optionally scoped to one competitor group.
GET/api/competitive/alerts/preferencesRetrieve current email digest and threshold settings for competitive alerts.
PUT/api/competitive/alerts/preferencesUpdate email notification settings and numeric thresholds for competitive alerts.

List competitor groups

GET/api/competitive/groups

List all competitor groups, each pairing a primary dealer with nearby same-brand or local competitors.

NameTypeRequiredDescription
None--No parameters required
CURLGET /api/competitive/groups
curl -sS "https://api.motorsdynamic.com/api/competitive/groups" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "groups": [
    {
      "id": 5,
      "name": "Pittsburgh Honda Market",
      "primary_dealer_id": 12,
      "oem_brand": "Honda",
      "radius_miles": 30,
      "member_count": 6
    }
  ]
}

Get per-dealer market share

GET/api/competitive/groups/{id}/market-share

Return each group member's share of active inventory, condition split (new, used, CPO), and average asking price.

NameTypeRequiredDescription
idinteger (path)YesNumeric resource identifier
makestring (query)NoVehicle manufacturer name (for example, Honda, Toyota)
modelstring (query)NoVehicle model name (for example, Accord, Camry)
body_typestring (query)NoFilter by vehicle body style (for example, SUV, Sedan, Truck)
conditionstring (query)NoVehicle condition filter (new, used, cpo)
windowstring (query)Nocurrent | 30d | 90d | 365d
CURLGET /api/competitive/groups/{id}/market-share
curl -sS "https://api.motorsdynamic.com/api/competitive/groups/5/market-share?make=Honda&window=current" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "total_vehicles": 1840,
  "dealers": [
    {
      "dealer_id": 12,
      "name": "Example Motors",
      "is_primary": true,
      "vehicles": 412,
      "market_share": 0.2239,
      "new_count": 190,
      "used_count": 182,
      "cpo_count": 40,
      "avg_price": 31240
    }
  ]
}

Get price comparison by make and model

GET/api/competitive/groups/{id}/pricing

Compare average, minimum, and maximum listing prices per dealer in the group for a specific make and optional model.

NameTypeRequiredDescription
idinteger (path)YesNumeric resource identifier
makestring (query)YesVehicle manufacturer name (for example, Honda, Toyota)
modelstring (query)NoVehicle model name (for example, Accord, Camry)
CURLGET /api/competitive/groups/{id}/pricing
curl -sS "https://api.motorsdynamic.com/api/competitive/groups/5/pricing?make=Honda&model=CR-V" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "make": "Honda",
  "model": "CR-V",
  "dealers": [
    {
      "dealer_id": 12,
      "name": "Example Motors",
      "count": 48,
      "min_price": 29850,
      "avg_price": 34120,
      "max_price": 41200
    }
  ]
}

Dealer Analytics, Listing Quality & GA4 - aging, scores, quadrants & VDP audits.

Analyze inventory aging tiers (fresh_0_14, moderate_15_30, aging_31_45, stale_46_plus), competitor price-change alerts, GA4-derived 0-to-100 engagement scores, action quadrants (stars, fix_it, boost, push_or_cut), market price positions, inventory gaps, and VDP listing quality audits. Full reference: /api-docs/dealer-analytics/ (all 28 endpoints).

MethodEndpointPurpose
GET/api/dealers/agingReturn inventory aging bucket counts (fresh_0_14, moderate_15_30, aging_31_45, stale_46_plus) across all dealers.
GET/api/dealers/aging-alertsReturn all active, undismissed aging alerts across all dealers in your account.
GET/api/dealers/topReturn tracked dealers ranked in descending order by active vehicle count.
GET/api/dealers/{dealerId}/inventory/agingReturn paginated aging breakdown and per-VIN days-on-lot metrics for a single dealer.
GET/api/dealers/{dealerId}/aging/configRetrieve the day-bucket threshold configuration for a dealer's aging tiers.
PUT/api/dealers/{dealerId}/aging/configReplace the day boundaries used to classify a dealer's inventory into aging tiers.
POST/api/dealers/{dealerId}/aging/alerts/{alertId}/dismissDismiss a specific aging alert for a dealer.
GET/api/dealers/{dealerId}/alerts/price-changesReturn paginated alerts triggered when competing dealers change prices on comparable vehicles.
POST/api/dealers/{dealerId}/alerts/price-changes/{id}/readMark a specific competitor price-change alert as read.
GET/api/dealers/{dealerId}/alerts/price-changes/configRetrieve the minimum dollar threshold and notification settings for a dealer's price-change alerts.
PUT/api/dealers/{dealerId}/alerts/price-changes/configUpdate the enable flag and minimum dollar movement threshold for competitor price-change alerts.
GET/api/dealers/{dealerId}/inventory/scoresReturn paginated 0-to-100 engagement scores derived from GA4 VDP telemetry for a dealer's inventory.
GET/api/dealers/{dealerId}/inventory/{vin}/engagementReturn detailed GA4 engagement metrics, score components, and daily view history for one VIN.
GET/api/dealers/{dealerId}/inventory/quadrantsClassify a dealer's active inventory into action quadrants combining engagement score and days on lot.
GET/api/dealers/{dealerId}/inventory/positionsReturn market price positioning (below_market, at_market, above_market) for all vehicles at a dealer.
GET/api/dealers/{dealerId}/inventory/{vin}/market-positionReturn comparable local listings, market price percentiles, and rank for a single VIN at a dealer.
GET/api/dealers/{dealerId}/inventory/gapsIdentify high-demand make/model/year segments in the local market where the dealer currently has low or zero stock.
GET/api/dealers/{dealerId}/reports/ad-efficiencyList generated ad-efficiency reports evaluating spend allocation across vehicle quadrants for a dealer.
POST/api/dealers/{dealerId}/reports/ad-efficiencyTrigger asynchronous generation of a new ad-efficiency report for a dealer.
GET/api/dealers/{dealerId}/reports/ad-efficiency/{reportId}Retrieve a generated ad-efficiency report in JSON or rendered HTML format.
GET/api/dealers/{dealerId}/inventory/qualityReturn the dealer's overall VDP listing quality score distribution, top merchandising issues, and estimated CTR impact.
GET/api/dealers/{dealerId}/inventory/quality/vehiclesReturn a paginated list of vehicles at a dealer with their individual listing quality scores and issue flags.
GET/api/dealers/{dealerId}/inventory/{vin}/qualityReturn the rubric breakdown, detected merchandising issues, and prioritized fixes for one VIN.
POST/api/dealers/{dealerId}/inventory/quality/auditQueue an immediate full-inventory VDP quality audit for a dealer.
GET/api/dealers/{dealerId}/inventory/{vin}/optimized-titleGenerate a structured, high-CTR vehicle title optimized for shopping and VLA feeds.
GET/api/ga4/status/{dealerId}Check connected GA4 properties and last telemetry sync timestamp for a dealer.
POST/api/ga4/sync/{dealerId}/{connectionId}Trigger an asynchronous GA4 VDP telemetry sync to refresh per-VIN engagement scores.
GET/api/ga4/analytics/{dealerId}Retrieve aggregated VDP views, sessions, and per-VIN engagement telemetry over a date range.

Get per-dealer aging report

GET/api/dealers/{dealerId}/inventory/aging

Return paginated aging breakdown and per-VIN days-on-lot metrics for a single dealer.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
thresholdinteger (query)NoMinimum days-on-lot threshold for aging filter
pageinteger (query)No1-based page number for paginated responses
limitinteger (query)NoMax 100
CURLGET /api/dealers/{dealerId}/inventory/aging
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/aging?threshold=30&page=1&limit=50" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "summary": { "fresh_0_14": 164, "moderate_15_30": 132, "aging_31_45": 78, "stale_46_plus": 38 },
  "vehicles": [
    { "vin": "1HGCV1F34LA123456", "year": 2023, "make": "Honda", "model": "Accord", "days_on_lot": 34, "tier": "aging_31_45", "price": "28995.00" }
  ],
  "pagination": { "total": 116, "page": 1, "limit": 50, "pages": 3 }
}

Get per-VIN engagement scores

GET/api/dealers/{dealerId}/inventory/scores

Return paginated 0-to-100 engagement scores derived from GA4 VDP telemetry for a dealer's inventory.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
pageinteger (query)No1-based page number for paginated responses
limitinteger (query)NoMaximum number of results to return per page
min_scorenumber (query)NoMinimum score filter
max_scorenumber (query)NoMaximum score filter
CURLGET /api/dealers/{dealerId}/inventory/scores
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/scores?min_score=70&page=1&limit=50" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "vehicles": [
    {
      "vin": "1HGCV1F34LA123456",
      "year": 2023,
      "make": "Honda",
      "model": "Accord",
      "engagement_score": 84,
      "vdp_views_7d": 142,
      "quadrant": "stars"
    }
  ],
  "pagination": { "total": 96, "page": 1, "limit": 50, "pages": 2 }
}

Get listing quality summary and top issues

GET/api/dealers/{dealerId}/inventory/quality

Return the dealer's overall VDP listing quality score distribution, top merchandising issues, and estimated CTR impact.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
CURLGET /api/dealers/{dealerId}/inventory/quality
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/quality" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "dealer_id": 42,
  "avg_score": 91.5,
  "distribution": { "90_100": 310, "70_89": 78, "below_70": 24 },
  "top_issues": [
    { "issue": "fewer_than_10_photos", "vehicles_affected": 19 },
    { "issue": "missing_price", "vehicles_affected": 4 }
  ]
}

Market Signals, Valuation & Reports - trade-in, pricing recs, F&I & trade match.

Estimate trade-in valuations from live market comparables, retrieve sell-fast/equilibrium/margin pricing recommendations, inspect segment supply/demand imbalances, seasonal velocity curves, F&I payment benchmarks, inter-dealer trade matches, and scheduled reports. Full reference: /api-docs/market-signals/ (all 20 endpoints).

MethodEndpointPurpose
POST/api/dealers/{dealerId}/trade-in/valuationCalculate a market-backed low, mid, and high trade-in valuation range from active comparable listings.
GET/api/dealers/{dealerId}/inventory/pricing-recommendationsReturn paginated sell-fast, equilibrium, and max-margin price recommendations with projected days-to-turn for each VIN.
GET/api/dealers/{dealerId}/inventory/{vin}/pricing-recommendationRetrieve sell-fast, equilibrium, and margin price targets plus comparable justification for one VIN.
GET/api/dealers/{dealerId}/market/imbalancesIdentify vehicle segments where local buyer velocity outpaces dealer supply, categorized by pricing power.
GET/api/dealers/{dealerId}/market/seasonalReturn 12-month relative demand velocity indices by vehicle segment for a dealer's market.
GET/api/dealers/{dealerId}/market/seasonal/{make}/{model}Return the 12-month demand velocity curve and price seasonality for a specific make and model.
GET/api/dealers/{dealerId}/fi/benchmarksReturn advertised monthly finance and lease payment benchmarks, terms, and APRs across local segments.
GET/api/dealers/{dealerId}/fi/benchmarks/{make}/{model}Return advertised finance and lease payment benchmarks for a single make and model in the dealer's market.
GET/api/dealers/{dealerId}/trade/preferencesRetrieve a dealer's inter-dealer trade matchmaking opt-in status, target makes/models, and radius.
PUT/api/dealers/{dealerId}/trade/preferencesUpdate a dealer's trade matchmaking opt-in status, desired makes and models, and radius in miles.
GET/api/dealers/{dealerId}/trade/matchesList candidate VIN trades pairing aging inventory at one rooftop with high-demand gaps at another.
POST/api/dealers/{dealerId}/trade/matches/{id}/contactTransition an inter-dealer trade match to contacted status.
POST/api/dealers/{dealerId}/trade/matches/{id}/declineDecline a candidate inter-dealer trade match with optional notes.
GET/api/reports/schedulesList all recurring weekly or monthly dealer intelligence report schedules.
POST/api/reports/schedulesCreate a recurring weekly or monthly dealer report schedule.
PUT/api/reports/schedules/{id}Update the cadence, delivery hour, or recipient list of a scheduled report.
DELETE/api/reports/schedules/{id}Delete a scheduled report by ID.
POST/api/reports/schedules/{id}/send-nowGenerate and dispatch a scheduled report immediately outside its normal cadence.
POST/api/reports/{dealerId}/generateGenerate an on-demand inventory, aging, and market position snapshot report for a dealer.
GET/api/reports/{dealerId}/latestRetrieve the most recently generated snapshot report for a dealer.

Estimate trade-in value

POST/api/dealers/{dealerId}/trade-in/valuation

Calculate a market-backed low, mid, and high trade-in valuation range from active comparable listings.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
yearinteger (body)YesFour-digit vehicle model year
makestring (body)YesVehicle manufacturer name (for example, Honda, Toyota)
modelstring (body)YesVehicle model name (for example, Accord, Camry)
trimstring (body)NoVehicle trim level (for example, EX-L, Sport)
mileageinteger (body)YesCurrent vehicle odometer reading in miles
conditionstring (excellent | good | fair | poor) (body)YesVehicle condition filter (new, used, cpo)
CURLPOST /api/dealers/{dealerId}/trade-in/valuation
curl -sS -X POST "https://api.motorsdynamic.com/api/dealers/42/trade-in/valuation" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"year": 2021, "make": "Toyota", "model": "Camry", "trim": "SE", "mileage": 38500, "condition": "good"}'
RESPONSE200 OK
{
  "vehicle": { "year": 2021, "make": "Toyota", "model": "Camry", "trim": "SE", "mileage": 38500, "condition": "good" },
  "valuation": { "low": 19400, "mid": 20850, "high": 22100 },
  "market_context": { "comparables_used": 24, "median_retail_price": 24290 }
}

List per-VIN pricing recommendations

GET/api/dealers/{dealerId}/inventory/pricing-recommendations

Return paginated sell-fast, equilibrium, and max-margin price recommendations with projected days-to-turn for each VIN.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
pageinteger (query)No1-based page number for paginated responses
limitinteger (query)NoMaximum number of results to return per page
CURLGET /api/dealers/{dealerId}/inventory/pricing-recommendations
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/pricing-recommendations?page=1&limit=50" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "recommendations": [
    {
      "vin": "1HGCV1F34LA123456",
      "current_price": 28995,
      "sell_fast": { "price": 28250, "projected_days": 11 },
      "equilibrium": { "price": 28950, "projected_days": 22 },
      "margin": { "price": 29650, "projected_days": 38 },
      "confidence": 0.91
    }
  ],
  "pagination": { "total": 412, "page": 1, "limit": 50, "pages": 9 }
}

Feeds & VLA - CSV/XML/JSON exports, VLA feeds & bid boosts.

Build filtered CSV, XML, and JSON inventory exports with custom column mappings, manage Vehicle Listing Ads (VLA) XML feeds with installment payment configurations and per-VIN overrides, and configure time-decay and reactive bid boost curves. Full reference: /api-docs/feeds/ (all 37 endpoints).

MethodEndpointPurpose
GET/api/feedsList all configured CSV, XML, and JSON inventory export feeds in your account.
POST/api/feedsCreate a new formatted inventory export feed applying a feed app template to one or more domains.
GET/api/feeds/{id}Retrieve configuration, filters, signed download URL, and last generation stats for a feed.
PUT/api/feeds/{id}Update the name, included domain IDs, filter rules, or active status of a feed.
DELETE/api/feeds/{id}Delete a feed instance and invalidate its public download token.
POST/api/feeds/{id}/regenerateRotate a feed's signed download token and rebuild its exported output immediately.
GET/api/feeds/{id}/vehiclesReturn a paginated preview of the vehicles matching a saved feed's domain and filter rules.
GET/api/feeds/fieldsReturn all canonical vehicle fields and supported transformation functions available when building feed app columns.
POST/api/feeds/previewTest a feed app template and filter configuration without saving, returning sample formatted rows.
GET/api/feeds/download/{token}Download the rendered CSV, XML, or JSON feed file using its signed token in the URL path (no auth header required for ad networks).
GET/api/feeds/appsList built-in and custom feed app templates (output format, delimiter, and column mappings).
POST/api/feeds/appsCreate a custom feed output schema specifying format (csv, xml, or json) and description.
GET/api/feeds/apps/{id}Retrieve a feed app template and its ordered column definitions.
PUT/api/feeds/apps/{id}Update the name, format, or description of a custom feed app template.
DELETE/api/feeds/apps/{id}Delete a custom feed app template by ID.
POST/api/feeds/apps/{id}/columnsAdd an output column mapped to a canonical source field and optional transformation formula.
PUT/api/feeds/apps/{appId}/columns/{columnId}Update the output column name, source field, or formula on a custom feed app.
DELETE/api/feeds/apps/{appId}/columns/{columnId}Remove a column from a custom feed app template.
PUT/api/feeds/apps/{id}/columns/reorderSet the exact output column order for a custom feed app by passing an ordered array of column IDs.
GET/api/vla/dealers/{dealerId}/feeds/vlaRetrieve a dealer's Vehicle Listing Ads (VLA) feed status, included vehicle count, and signed public XML feed URL.
GET/api/vla/dealers/{dealerId}/feeds/vla/contentFetch the rendered Vehicle Listing Ads XML feed using the dealer's signed feed_token query parameter.
GET/api/vla/dealers/{dealerId}/feeds/vla/historyReturn a paginated log of historical VLA feed builds with included and excluded VIN counts.
GET/api/vla/dealers/{dealerId}/feeds/vla/configRetrieve quadrant inclusion rules, above-market exclusion settings, refresh cadence, and payment_config for a dealer's VLA feed.
PUT/api/vla/dealers/{dealerId}/feeds/vla/configUpdate quadrant inclusion rules, refresh interval, and installment payment_config for a dealer's VLA feed.
POST/api/vla/dealers/{dealerId}/feeds/vla/generateRebuild a dealer's VLA XML feed immediately applying current inventory, labels, and overrides.
GET/api/vla/dealers/{dealerId}/feeds/vla/overridesList all manual per-VIN force-include or force-exclude rules on a dealer's VLA feed.
POST/api/vla/dealers/{dealerId}/feeds/vla/overridesUpsert a manual rule forcing a specific VIN to be included in or excluded from the dealer's VLA feed.
DELETE/api/vla/dealers/{dealerId}/feeds/vla/overrides/{vin}Delete a manual VLA inclusion or exclusion override for a VIN.
GET/api/vla/dealers/{dealerId}/inventory/labelsReturn the distribution of auto-assigned VLA custom labels (custom_label_0 through custom_label_4) across active inventory.
GET/api/vla/dealers/{dealerId}/inventory/{vin}/labelsRetrieve the current custom_label_0 through custom_label_4 values and transition history for a single VIN.
PUT/api/vla/dealers/{dealerId}/inventory/{vin}/labels/customAssign a custom campaign tag to custom_label_4 for a single VIN in the dealer's VLA feed.
GET/api/dealers/{dealerId}/feeds/time-decay/configRetrieve the days-on-lot bid multiplier curve configured for a dealer's ad feeds.
PUT/api/dealers/{dealerId}/feeds/time-decay/configReplace the days-on-lot bid multiplier steps for a dealer.
GET/api/dealers/{dealerId}/feeds/reactive-boost/configRetrieve automatic bid boost rules triggered by price reductions and high GA4 engagement.
PUT/api/dealers/{dealerId}/feeds/reactive-boost/configUpdate the automatic bid boost multipliers for price drops and high-engagement VINs.
GET/api/dealers/{dealerId}/inventory/boostsReturn the combined time-decay and reactive boost bid multiplier currently active for each VIN at a dealer.
GET/api/dealers/{dealerId}/feeds/search-termsReturn high-intent search keyword and negative-keyword recommendations derived from the dealer's active inventory.

Create a feed

POST/api/feeds

Create a new formatted inventory export feed applying a feed app template to one or more domains.

NameTypeRequiredDescription
app_idinteger (body)YesNumeric feed app template ID to apply
domain_idsinteger[] (body)YesArray of numeric domain IDs to include in the feed
namestring (body)NoHuman-readable resource name
filtersobject (body)NoOptional inventory filter object (make, condition, min_price, has_images)
CURLPOST /api/feeds
curl -sS -X POST "https://api.motorsdynamic.com/api/feeds" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"app_id": 1, "domain_ids": [42], "name": "Example Motors Used Feed", "filters": {"condition": "used", "has_images": true}}'
RESPONSE201 Created
{
  "feed": {
    "id": 32,
    "name": "Example Motors Used Feed",
    "app_id": 1,
    "domain_ids": [42],
    "download_token": "tok_1a2b3c4d5e6f",
    "download_url": "https://api.motorsdynamic.com/api/feeds/download/tok_1a2b3c4d5e6f"
  }
}

Get VLA feed metadata and signed URL

GET/api/vla/dealers/{dealerId}/feeds/vla

Retrieve a dealer's Vehicle Listing Ads (VLA) feed status, included vehicle count, and signed public XML feed URL.

NameTypeRequiredDescription
dealerIdinteger (path)YesNumeric dealer or domain identifier
CURLGET /api/vla/dealers/{dealerId}/feeds/vla
curl -sS "https://api.motorsdynamic.com/api/vla/dealers/42/feeds/vla" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "dealer_id": 42,
  "feed_name": "Example Motors VLA Feed",
  "is_active": true,
  "included_vehicles": 364,
  "excluded_vehicles": 48,
  "content_url": "https://api.motorsdynamic.com/api/vla/dealers/42/feeds/vla/content?feed_token=vla_8f7e6d5c",
  "last_generated_at": "2026-10-30T06:20:00.000Z"
}

Webhooks - real-time HMAC-signed inventory events.

Subscribe to real-time domain and vehicle lifecycle events delivered over HTTPS with X-MotorsDynamic-Signature HMAC-SHA256 verification. Full reference: /api-docs/webhooks/ (all 7 endpoints).

MethodEndpointPurpose
GET/api/webhooksList all configured webhook subscriptions and the full list of supported event types.
POST/api/webhooksRegister an HTTPS endpoint to receive real-time HMAC-signed event deliveries; returns the signing secret once on creation.
GET/api/webhooks/{id}Retrieve a webhook subscription's configuration and recent delivery attempts.
PUT/api/webhooks/{id}Update the target URL, subscribed event list, description, or active state of a webhook.
DELETE/api/webhooks/{id}Delete a webhook subscription and stop all future event deliveries.
POST/api/webhooks/{id}/testQueue a signed synthetic test event to verify that your endpoint validates the HMAC signature and returns 2xx.
GET/api/webhooks/{id}/deliveriesReturn a paginated log of webhook deliveries, HTTP status codes, and retry state.

Webhook event types

Subscribe to any combination of the events below when creating or updating a webhook via POST /api/webhooks. Webhook deliveries do not count toward your hourly API rate limit.

EventFires when
domain.ingestedInitial onboarding and first full inventory scrape complete for a newly added dealer domain
domain.scrape_completedA scheduled or manual domain scrape job finishes
domain.scrape_failedA domain scrape job encounters an error
vehicle.addedA new VIN appears in active inventory at a tracked domain
vehicle.updatedAny field on an existing vehicle listing changes
vehicle.price_changedA vehicle's listed price moves up or down (payload includes old and new price)
vehicle.removedA VIN is delisted from a tracked dealer website
alert.competitor_new_inventoryA competitor in a tracked group adds matching inventory
alert.competitor_price_changeA competitor changes price on a comparable vehicle
vla.boost_triggeredA reactive bid boost multiplier activates for a VIN in a VLA feed

HMAC-SHA256 signature verification

When you create a webhook via POST /api/webhooks, the response includes a signing secret returned once. Every webhook HTTP POST delivery carries these headers:

DELIVERY HEADERS
X-MotorsDynamic-Event: vehicle.price_changed
X-MotorsDynamic-Timestamp: 1735689600
X-MotorsDynamic-Signature: sha256=8f4e2b9a...

Compute HMAC-SHA256(secret, "<X-MotorsDynamic-Timestamp>.<raw_body>") and compare in constant time against X-MotorsDynamic-Signature. Reject deliveries whose timestamp is more than 5 minutes old. Non-2xx responses are retried automatically with exponential backoff for up to 24 hours.

NODE.JSSignature verification
import crypto from 'crypto';

function verifyWebhook(secret, timestamp, rawBody, signature) {
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
  const expected = 'sha256=' + crypto
    .createHmac('sha256', secret)
    .update(`${timestamp}.${rawBody}`)
    .digest('hex');
  return expected.length === signature.length &&
    crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
}

List webhook subscriptions

GET/api/webhooks

List all configured webhook subscriptions and the full list of supported event types.

NameTypeRequiredDescription
None--No parameters required
CURLGET /api/webhooks
curl -sS "https://api.motorsdynamic.com/api/webhooks" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "webhooks": [
    {
      "id": 14,
      "dealer_id": 42,
      "agency_id": 3,
      "url": "https://example.com/webhooks/motorsdynamic",
      "events": ["domain.ingested", "vehicle.added", "vehicle.price_changed", "vehicle.removed"],
      "is_active": true,
      "description": "Primary inventory sync",
      "created_at": "2026-10-01T12:00:00.000Z"
    }
  ],
  "supported_events": [
    "domain.ingested",
    "domain.scrape_completed",
    "domain.scrape_failed",
    "vehicle.added",
    "vehicle.updated",
    "vehicle.price_changed",
    "vehicle.removed",
    "alert.competitor_new_inventory",
    "alert.competitor_price_change",
    "vla.boost_triggered"
  ]
}

Create a webhook subscription

POST/api/webhooks

Register an HTTPS endpoint to receive real-time HMAC-signed event deliveries; returns the signing secret once on creation.

NameTypeRequiredDescription
dealer_idinteger (body)YesNumeric dealer or domain identifier
urlstring (body)YesTarget URL (dealer website URL or HTTPS webhook receiver URL)
eventsstring[] (body)YesArray of webhook event names to subscribe to
descriptionstring (body)NoOptional human-readable description
CURLPOST /api/webhooks
curl -sS -X POST "https://api.motorsdynamic.com/api/webhooks" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dealer_id": 42, "url": "https://example.com/webhooks/motorsdynamic", "events": ["domain.ingested", "vehicle.added", "vehicle.price_changed", "vehicle.removed"], "description": "Primary inventory sync"}'
RESPONSE201 Created
{
  "webhook": {
    "id": 14,
    "dealer_id": 42,
    "url": "https://example.com/webhooks/motorsdynamic",
    "events": ["domain.ingested", "vehicle.added", "vehicle.price_changed", "vehicle.removed"],
    "secret": "whsec_4f8b9d2e1a7c6b5f3e2d1c0b9a8f7e6d",
    "is_active": true
  }
}

Partner Data Issues & Dealer Quality - automated triage & re-crawl API.

Report incomplete or inaccurate vehicle listings or whole-dealer discrepancies (scope: "dealer" with kinds undercount and rejected_vehicles), check live dealer field completeness at GET /api/v1/partner/dealers/{domain}/quality, and receive signed resolution webhooks. Full reference: /api-docs/partner-data-issues/ (all 4 endpoints).

MethodEndpointPurpose
POST/api/v1/partner/data-issuesSubmit a single-vehicle data issue (scope: vehicle) or a whole-dealer report (scope: dealer with kind undercount or rejected_vehicles); idempotent on (partner, partner_issue_id).
GET/api/v1/partner/data-issuesList your reported data issues ordered by newest update first, with cursor pagination and filters for status, since timestamp, and partner_issue_id.
GET/api/v1/partner/data-issues/{id}Retrieve one reported data issue by numeric ID, including current status, resolution summary, per-field or per-dealer triage verdicts, and status transition history.
GET/api/v1/partner/dealers/{domain}/qualityInspect a dealer as MotorsDynamic has it right now: detected CMS platform, tracking status, last scrape time, active vehicle count, missing-field counts across active cars, and your open issue count (also served at /api/partner/dealers/{domain}/quality).

How Partner Data Issues works

When your integration detects vehicle or dealer inventory data that looks incomplete or out of date, report it to POST /api/v1/partner/data-issues using your API key in X-API-Key (with scope partner:data-issues:<partner> enabled). MotorsDynamic stores the report, checks the live database and dealer website, queues a re-crawl when that can resolve the discrepancy, and reports the outcome via polling (GET /api/v1/partner/data-issues/{id}) or a signed webhook to your callback_url.

Machine-readable OpenAPI 3.0.3 (v1.1.0) specification: https://api.motorsdynamic.com/api/v1/partner/openapi/data-issues.json

Single-vehicle vs. dealer-level reports (scope: "dealer")

The Partner Data Issues API supports two report scopes in POST /api/v1/partner/data-issues:

ScopeAllowed kind valuesRequired target objectHow MotorsDynamic resolves it
vehicle (default)incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, parse_errorvehicle with at least one of md_id (recommended), vin, or source_url, plus optional dealer_id and fields array (name, expected, got)Inspects the vehicle record and dealer VDP, refreshes the listing or queues a re-crawl, and records per-field verdicts (ok_now, present_now, missing, still_wrong, differs, unknown_field) in triage.fields.
dealerundercountdealer (domain or dealer_id), expected_count (>= 1), received_count (>= 0)Compares MotorsDynamic's live active vehicle count for the dealer. If already at 95% or more of expected_count, closes fixed immediately so you can refresh your copy. If short, queues a full site re-crawl (in_progress) and re-checks in about 90 minutes, recording md_active_count_before and md_active_count_after in triage before closing fixed or routing to engineering (triaged).
dealerrejected_vehiclesdealer (domain or dealer_id), reason (missing_make, missing_model, missing_year, missing_price, missing_vin, missing_photos, missing_mileage, bad_value, other), count (>= 1), optional vins (up to 500), note, and fields (when reason is bad_value or other)Counts active vehicles at the dealer currently lacking the field. If 0 are missing, closes fixed immediately. Otherwise queues a re-crawl and re-evaluates; if vehicles still lack the field, routes to engineering (triaged) for a parser fix with missing_count_before, missing_count_after, vins_found, vins_missing, and up to 10 example_vins in triage.

One dealer-level report (scope: "dealer") counts as a single request against the 600 reports per hour per partner rate limit, regardless of how many vehicles it covers.

Idempotency on partner_issue_id and status lifecycle

Every POST /api/v1/partner/data-issues request is idempotent on (partner, partner_issue_id):

  • New partner_issue_id: returns 201 Created with {"outcome": "created", "issue": {...}} and a Location header.
  • Same partner_issue_id and identical body: returns 200 OK with {"outcome": "unchanged", "issue": {...}} without creating a duplicate issue.
  • Same partner_issue_id and changed body: returns 200 OK with {"outcome": "updated", "issue": {...}} and reopens a closed issue back to received.

Issues progress through the following statuses:

StatusTerminal?Meaning
receivedNoReport stored and queued for automated triage
triagedNoAutomated check completed; queued for parser or engineering review (triage.action: "needs_person")
in_progressNoVehicle refresh or full dealer re-crawl is currently running (triage.action: "recrawl_queued" or "recheck_scheduled")
fixedYesData is now complete and verified in MotorsDynamic; resolution explains what changed
wont_fixYesSource dealer page genuinely lacks the field or vehicle is no longer offered
needs_infoYesVehicle or dealer domain could not be matched; update the payload and re-POST with the same partner_issue_id

Partner data-issues webhook verification (X-MD-Signature)

When you include a callback_url on POST /api/v1/partner/data-issues, MotorsDynamic sends an HTTPS POST whenever the issue reaches a terminal status (fixed, wont_fix, or needs_info):

WEBHOOK HEADERS & PAYLOAD
X-MD-Event: data_issue.fixed
X-MD-Delivery: 5b0b9f12-4c81-4e3a-9d2a-1c8e7f6a5b4c
X-MD-Timestamp: 1761574800
X-MD-Signature: sha256=4a9e8c...

{"event":"data_issue.fixed","delivery_id":"5b0b9f12-4c81-4e3a-9d2a-1c8e7f6a5b4c","sent_at":"2026-10-27T14:20:00Z","issue":{"id":122,"status":"fixed","...":"same shape as GET /api/v1/partner/data-issues/{id}"}}

Verify deliveries by computing sha256=<hex HMAC-SHA256(secret, "<X-MD-Timestamp>.<raw_body>")> with your partner webhook secret. Reject any delivery whose X-MD-Timestamp is more than 5 minutes (300 seconds) old, deduplicate on X-MD-Delivery, and return a 2xx status code. Non-2xx responses are retried at 1, 5, 30, 120, and 360 minutes.

NODE.JSVerify X-MD-Signature
const crypto = require('crypto');

function verifyDataIssueWebhook(req, rawBody, secret) {
  const ts = req.headers['x-md-timestamp'];
  const want = 'sha256=' + crypto
    .createHmac('sha256', secret)
    .update(`${ts}.${rawBody}`)
    .digest('hex');
  const got = String(req.headers['x-md-signature'] || '');
  return Math.abs(Date.now() / 1000 - Number(ts)) < 300 &&
    got.length === want.length &&
    crypto.timingSafeEqual(Buffer.from(got), Buffer.from(want));
}

Report a vehicle or dealer-level data issue

POST/api/v1/partner/data-issues

Submit a single-vehicle data issue (scope: vehicle) or a whole-dealer report (scope: dealer with kind undercount or rejected_vehicles); idempotent on (partner, partner_issue_id).

NameTypeRequiredDescription
partner_issue_idstring (body)YesYour unique identifier for this issue (max 200 chars). Repeating the same partner_issue_id and body returns 200 with outcome: unchanged; a changed body updates the issue (outcome: updated) and reopens closed issues to received.
kindstring (body)YesProblem category. For scope: vehicle: incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, or parse_error. For scope: dealer: undercount or rejected_vehicles.
scopestring (body)Novehicle (default, reports one car via vehicle) or dealer (reports an entire dealer site via dealer; requires kind undercount or rejected_vehicles).
severitystring (body)Nolow, medium (default), high, or critical.
vehicleobject (body)ConditionalRequired when scope is vehicle. Object with at least one of md_id (integer, recommended), vin (string), or source_url (URI), plus optional dealer_id (integer).
fieldsField[] (body)ConditionalArray of up to 50 field discrepancies: { name, expected?, got? }. Supported field names: price, sale_price, msrp, mileage, year, make, model, trim, vin, stock_number, exterior_color, interior_color, engine, transmission, drivetrain, fuel_type, body_type, condition, url, photo_count (or images), is_active, plus aliases odometer, stock, color, photos. Required for rejected_vehicles when reason is bad_value or other.
dealerobject (body)ConditionalRequired when scope is dealer. Object with at least one of domain (string, stored as bare lowercase host such as example-dealer.com) or dealer_id (integer).
expected_countinteger (body)ConditionalRequired for scope: dealer with kind: undercount (minimum 1). Total active vehicles expected on the dealer site.
received_countinteger (body)ConditionalRequired for scope: dealer with kind: undercount (minimum 0). Number of vehicles received from MotorsDynamic.
reasonstring (body)ConditionalRequired for scope: dealer with kind: rejected_vehicles. One of: missing_make, missing_model, missing_year, missing_price, missing_vin, missing_photos, missing_mileage, bad_value, other.
countinteger (body)ConditionalRequired for scope: dealer with kind: rejected_vehicles (minimum 1). Number of vehicles that could not be saved.
vinsstring[] (body)NoOptional for rejected_vehicles: up to 500 VINs of the rejected vehicles (stored deduplicated and uppercase).
notestring (body)NoOptional context for rejected_vehicles (max 2,000 chars).
observed_atstring (body)NoISO 8601 date-time when the issue was observed.
evidenceany JSON (body)NoOptional diagnostic payload up to 32 KB (such as endpoint called or sync notes).
callback_urlstring (body)NoHTTPS URL to receive a signed webhook when the issue reaches fixed, wont_fix, or needs_info.
partnerstring (body)NoOptional partner slug; if provided, must match the partner bound to your API key.
CURLPOST /api/v1/partner/data-issues
# 1) Single-vehicle report (scope: "vehicle", default)
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "partner_issue_id": "issue-2026-10-27-000123",
    "kind": "incomplete_fields",
    "severity": "high",
    "vehicle": { "md_id": 9230047, "vin": "KL4AMBSL5SB000000", "dealer_id": 2 },
    "fields": [
      { "name": "price", "expected": 27990, "got": null },
      { "name": "mileage", "expected": 12, "got": null }
    ],
    "observed_at": "2026-10-27T14:05:00Z",
    "evidence": { "md_endpoint": "/api/vehicles?domain_id=2", "note": "price null on 3 consecutive syncs" },
    "callback_url": "https://example.com/md/data-issues/webhook"
  }'

# 2) Dealer-level undercount report (scope: "dealer", kind: "undercount")
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "partner_issue_id": "dealer-undercount-2026-10-30-001",
    "scope": "dealer",
    "kind": "undercount",
    "severity": "high",
    "dealer": { "domain": "example-dealer.com" },
    "expected_count": 420,
    "received_count": 300,
    "observed_at": "2026-10-30T14:00:00Z",
    "callback_url": "https://example.com/md/data-issues/webhook"
  }'

# 3) Dealer-level rejected vehicles report (scope: "dealer", kind: "rejected_vehicles")
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "partner_issue_id": "dealer-rejected-2026-10-30-002",
    "scope": "dealer",
    "kind": "rejected_vehicles",
    "dealer": { "domain": "example-dealer.com", "dealer_id": 2 },
    "reason": "missing_make",
    "count": 37,
    "vins": ["KNDPU3AF0R7123456", "KNDPU3AF0R7123457", "5XYP3DHC9NG000001"],
    "note": "make empty, model present"
  }'
RESPONSE201 Created (or 200 OK on repeat)
{
  "outcome": "created",
  "issue": {
    "id": 123,
    "partner": "partner_account",
    "partner_issue_id": "dealer-rejected-2026-10-30-002",
    "scope": "dealer",
    "kind": "rejected_vehicles",
    "severity": "medium",
    "status": "in_progress",
    "resolution": null,
    "vehicle": null,
    "dealer": { "domain": "example-dealer.com", "dealer_id": 2, "matched_dealer_id": 2 },
    "reason": "missing_make",
    "count": 37,
    "vins_count": 3,
    "note": "make empty, model present",
    "report_count": 1,
    "triage": {
      "action": "recrawl_queued",
      "summary": "37 of 412 active vehicles at example-dealer.com lack make; queued re-crawl.",
      "md_active_count_before": 412,
      "md_active_count_after": null,
      "missing_count_before": 37,
      "missing_count_after": null,
      "columns": ["make"],
      "example_vins": ["KNDPU3AF0R7123456", "KNDPU3AF0R7123457", "5XYP3DHC9NG000001"],
      "vins_found": 3,
      "vins_missing": 3
    },
    "webhook": { "status": "pending" },
    "created_at": "2026-10-30T14:02:11.000Z",
    "updated_at": "2026-10-30T14:02:11.000Z",
    "resolved_at": null,
    "links": { "self": "/api/v1/partner/data-issues/123" }
  }
}

List your reported data issues

GET/api/v1/partner/data-issues

List your reported data issues ordered by newest update first, with cursor pagination and filters for status, since timestamp, and partner_issue_id.

NameTypeRequiredDescription
statusstring (query)NoComma-separated status values to filter by (received, triaged, in_progress, fixed, wont_fix, needs_info).
sincestring (query)NoISO 8601 date-time; return only issues updated at or after this timestamp.
partner_issue_idstring (query)NoFilter by your exact partner_issue_id.
limitinteger (query)NoPage size from 1 to 200 (default 50).
cursorstring (query)NoOpaque next_cursor token from the previous page response.
CURLGET /api/v1/partner/data-issues
curl -sS "https://api.motorsdynamic.com/api/v1/partner/data-issues?status=fixed,wont_fix,needs_info&since=2026-10-26T00:00:00Z&limit=50" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "data": [
    {
      "id": 122,
      "partner_issue_id": "issue-2026-10-27-000123",
      "scope": "vehicle",
      "kind": "incomplete_fields",
      "severity": "high",
      "status": "fixed",
      "resolution": "Re-crawled vehicle page; price ($27,990) and mileage (12) are now populated.",
      "vehicle": { "md_id": 9230047, "vin": "KL4AMBSL5SB000000", "dealer_id": 2, "matched_md_id": 9230047, "matched_dealer_id": 2 },
      "fields": [
        { "name": "price", "expected": 27990, "got": null },
        { "name": "mileage", "expected": 12, "got": null }
      ],
      "updated_at": "2026-10-27T14:19:04.000Z",
      "resolved_at": "2026-10-27T14:19:04.000Z"
    }
  ],
  "next_cursor": null
}

Get a single data issue with triage and history

GET/api/v1/partner/data-issues/{id}

Retrieve one reported data issue by numeric ID, including current status, resolution summary, per-field or per-dealer triage verdicts, and status transition history.

NameTypeRequiredDescription
idinteger (path)YesMotorsDynamic numeric data issue ID returned when the issue was created.
CURLGET /api/v1/partner/data-issues/{id}
curl -sS "https://api.motorsdynamic.com/api/v1/partner/data-issues/122" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "id": 122,
  "partner_issue_id": "issue-2026-10-27-000123",
  "scope": "vehicle",
  "kind": "incomplete_fields",
  "severity": "high",
  "status": "fixed",
  "resolution": "Re-crawled vehicle page; price ($27,990) and mileage (12) are now populated.",
  "vehicle": {
    "md_id": 9230047,
    "vin": "KL4AMBSL5SB000000",
    "dealer_id": 2,
    "matched_md_id": 9230047,
    "matched_dealer_id": 2
  },
  "triage": {
    "action": "resolved",
    "summary": "All reported fields verified present after refresh.",
    "fields": [
      { "name": "price", "verdict": "ok_now", "md_value": "27990.00" },
      { "name": "mileage", "verdict": "ok_now", "md_value": 12 }
    ]
  },
  "history": [
    { "at": "2026-10-27T14:05:10.000Z", "event": "created", "from": null, "to": "received", "note": null },
    { "at": "2026-10-27T14:05:12.000Z", "event": "triage", "from": "received", "to": "in_progress", "note": "Queued vehicle refresh" },
    { "at": "2026-10-27T14:19:04.000Z", "event": "resolved", "from": "in_progress", "to": "fixed", "note": "Fields populated" }
  ]
}

Get dealer data quality snapshot

GET/api/v1/partner/dealers/{domain}/quality

Inspect a dealer as MotorsDynamic has it right now: detected CMS platform, tracking status, last scrape time, active vehicle count, missing-field counts across active cars, and your open issue count (also served at /api/partner/dealers/{domain}/quality).

NameTypeRequiredDescription
domainstring (path)YesDealer hostname (scheme and www are ignored, for example example-dealer.com) or numeric MotorsDynamic dealer ID.
CURLGET /api/v1/partner/dealers/{domain}/quality
curl -sS "https://api.motorsdynamic.com/api/v1/partner/dealers/example-dealer.com/quality" \
  -H "X-API-Key: YOUR_API_KEY"
RESPONSE200 OK
{
  "domain": "example-dealer.com",
  "dealer_id": 2,
  "platform": "dealer-inspire",
  "tracked": true,
  "last_scraped_at": "2026-10-30T06:12:00.000Z",
  "last_error": null,
  "active_vehicles": 412,
  "missing": {
    "make": 37,
    "model": 0,
    "year": 0,
    "price": 4,
    "vin": 0,
    "mileage": 0,
    "photos": 2
  },
  "open_issues": 1
}

MCP server - wire any AI agent.

Connect any Model Context Protocol (MCP) client or AI agent to live US dealer inventory over Streamable HTTP. Every call uses your MotorsDynamic API key and gives your agent 19 read-only shopping, market analysis, and dealer tools plus your account tools. Full setup guide: motorsdynamic.com/mcp.

PropertyValue
Server URLhttps://mcp.motorsdynamic.com/mcp (Streamable HTTP)
Header authAuthorization: Bearer YOUR_API_KEY (or X-API-Key: YOUR_API_KEY)
URL query authhttps://mcp.motorsdynamic.com/mcp?key=YOUR_API_KEY (for connector UIs that do not take custom headers)
Rate limits120 tool calls / minute and 10,000 tool calls / day per API key
MCP CONFIG~/.config/mcp/servers.json
{
  "motorsdynamic": {
    "type": "http",
    "url": "https://mcp.motorsdynamic.com/mcp",
    "headers": { "Authorization": "Bearer YOUR_API_KEY" }
  }
}

MCP tools (19 read-only tools)

CategoryToolDescription
Shoppingsearch_inventoryVehicles for sale by make, model, year, price, condition, fuel, and distance from a ZIP, with price, mileage, dealer, days listed, and listing link
Shoppingget_vehicleOne VIN: every dealer listing it, price history, listing events, VIN decode, window sticker figures, and manufacturer offers that apply
Shoppingevaluate_priceRates an asking price against comparable listings: percentile, market median and range, and a verdict from great deal to overpriced
Shoppingfind_price_dropsVehicles whose dealer cut the price in the last two weeks, biggest cut first
Shoppingnew_arrivalsThe newest listings near a ZIP
Shoppingaging_inventoryVehicles that have sat on lots the longest
Shoppingrecently_soldVehicles that left dealer websites recently, with last price and days to sell
Shoppingget_oem_offersManufacturer lease, APR, and cash offers for a make near a ZIP, with terms and end dates
Market Analysismarket_statsSupply and exact price spread for a make and model in an area, median days listed, and sales in the last 30 days
Market Analysiscompare_modelsSupply, price spread, and turn metrics for 2 to 5 models side by side
Market Analysisprice_by_yearMedian price for each model year of a model (depreciation curve from live listings)
Market Analysismarket_overviewWhat is for sale in an area: listings by make, new versus used, and fuel mix including EV share
Market Analysisnational_statsNationwide listings, dealers tracked, makes, conditions, and dealer website platforms
Dealersfind_dealersDealers near a ZIP, nearest first, with address and inventory
Dealersrank_dealersDealers in an area ranked by inventory, lowest median price, or price cuts this week
Dealersget_dealerOne dealer: address, website platform, inventory mix, price range, days listed, and last 7 days of activity
Dealersdealer_inventoryEverything one dealer lists, with the same filters and sorts as search
Dealersdealer_activityVehicles listed, sold, relisted, and repriced at a dealer over recent days
Dealerscompare_dealersCompare 2 to 5 dealers side by side