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 / Resource | URL |
|---|---|
Core REST OpenAPI 3.0 Spec | https://api.motorsdynamic.com/api/docs/spec |
Partner Data Issues OpenAPI 3.0.3 Spec | https://api.motorsdynamic.com/api/v1/partner/openapi/data-issues.json |
Interactive API Explorer | https://api.motorsdynamic.com/api/docs |
Postman Collection | https://api.motorsdynamic.com/api/postman/collection |
Hosted MCP Server Guide | https://motorsdynamic.com/mcp/ |
Reference areas (149 REST endpoints + 19 MCP tools)
Vehicles8 endpoints
Search inventory, cross-domain and single-domain VIN lookups, price history, field quality, and synchronous single-vehicle refresh.
Domains, Dealers & Jobs20 endpoints
Onboard single or bulk dealer domains, trigger scans, manage primary dealers, inspect portfolio rollups, and poll scrape jobs.
Competitive Intelligence25 endpoints
Dealer discovery, competitor groups, market share, make/model price comparisons, ZIP heatmaps, activity windows, and daily timelines.
Dealer Analytics & Quality28 endpoints
Inventory aging tiers, price-change alerts, GA4 engagement scores, action quadrants, market positions, gaps, and VDP quality audits.
Market Signals & Reports20 endpoints
Trade-in valuations, per-VIN pricing recommendations, supply/demand imbalances, seasonal curves, F&I benchmarks, trade matches, and reports.
Feeds & VLA37 endpoints
CSV/XML/JSON export feeds, custom feed app templates, Vehicle Listing Ads (VLA) XML feeds, VIN overrides, labels, and reactive bid boosts.
Webhooks7 endpoints
Real-time HMAC-SHA256 signed event subscriptions for domain ingestion, inventory additions, price changes, removals, and delivery logs.
Partner Data Issues & Quality4 endpoints
Report single-vehicle or dealer-level data issues (undercount and rejected_vehicles), inspect dealer quality, and verify signed webhooks.
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:
# 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:
| Surface | Base URL | Notes |
|---|---|---|
Core REST API | https://api.motorsdynamic.com/api | Canonical REST base path used across this reference and the OpenAPI spec |
Core REST API (v1 alias) | https://api.motorsdynamic.com/v1 | Versioned alias used by the official TypeScript, Python, and Go SDKs; /api/<resource> and /v1/<resource> route to the same handler |
Partner Data Issues API | https://api.motorsdynamic.com/api/v1/partner | Base 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 Server | https://mcp.motorsdynamic.com/mcp | Streamable 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:
X-RateLimit-Limit: 10000 X-RateLimit-Remaining: 9981 X-RateLimit-Reset: 2734
| Surface / Caller | Limit | Notes |
|---|---|---|
API key (default) | 10,000 requests / hour | Sliding 1-hour window per API key |
API key (custom) | Configurable per token | Set per token at creation; 0 means unlimited |
Bearer token | 10,000 requests / hour | Shared across the agency |
Anonymous (public endpoints) | 100 requests / hour | Per client IP address |
Partner Data Issues POST | 600 reports / hour | Per partner account; one scope: "dealer" report counts as 1 request regardless of how many vehicles it covers |
Single-vehicle refresh | 1 / 60s per vehicle, 3 concurrent / domain | POST /api/scrape/vehicle returns 429 with Retry-After within 60s and 503 above 3 concurrent refreshes for a domain |
MCP server | 120 / minute, 10,000 / day | Per API key across the 19 read-only MCP tools |
Outbound webhooks | Unlimited | Webhook 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:
{
"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.
| Status | Meaning |
|---|---|
400 | Bad request: missing or invalid query or body parameter. Body includes error and optional details. |
401 | Unauthorized: missing, expired, or invalid X-API-Key or Bearer token. |
402 | Payment or plan required: subscription past due or feature gated to a higher plan tier. |
403 | Forbidden: valid API key, but not authorized for the requested resource or partner scope. |
404 | Not found: requested VIN, domain, dealer, or issue ID does not exist. |
409 | Conflict: resource already exists (for example, POST /api/domains returns 409 with the existing domain record so callers can retry idempotently). |
422 | Unprocessable 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. |
429 | Rate limit exceeded: respect the Retry-After header and retry_after_seconds field. |
503 | Concurrency limit reached on synchronous single-vehicle refresh (more than 3 concurrent refreshes for the same dealer domain). |
5xx | Server 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:
| Pattern | Query parameters | Response fields | Used by |
|---|---|---|---|
Offset pagination | limit (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 pagination | page (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 pagination | limit (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.
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);
}
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)
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:
- Add the dealer domain: Call
POST /api/domainswith{"url": "https://www.example-dealer.com"}(orPOST /api/domains/bulkfor up to 500 domains at once). A201response queues a new domain;200reactivates a soft-deleted domain;409indicates the domain is already tracked and returns the existingdomainobject. - 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.ingestedwebhook viaPOST /api/webhooks, or pollGET /api/domains/id/{id}every 30 to 60 seconds untilcms_typeis non-null andvehicle_count > 0. - Fetch initial inventory: Pull active listings via
GET /api/domains/{clean_domain}/vehicles?limit=500. - Stay synchronized in real time: Subscribe to
vehicle.added,vehicle.price_changed, andvehicle.removedwebhooks so incremental changes stream to your backend as scrapes finish. - Monitor quality and report discrepancies: Check live field completeness with
GET /api/v1/partner/dealers/{domain}/qualityand report single-vehicle or whole-dealer issues (scope: "dealer"withundercountorrejected_vehicles) viaPOST /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).
| Method | Endpoint | Purpose |
|---|---|---|
| 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. |
| 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-history | Return 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/stats | Return aggregate vehicle counts broken down by status, condition, vehicle_type, make, and domain. |
| GET | /api/vehicles/field-quality | Return the population percentage for each canonical vehicle field across all active listings. |
| POST | /api/scrape/vehicle | Re-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.
| Field | Type | Description |
|---|---|---|
id | integer | Internal MotorsDynamic listing ID |
vin | string | 17-character Vehicle Identification Number (VIN) |
year | integer | Four-digit model year (for example, 2023) |
make | string | Normalized manufacturer name (for example, Honda) |
model | string | Normalized model name (for example, Accord) |
trim | string | Vehicle trim level (for example, EX-L) |
condition | string | Listing condition: New, Used, or Certified |
is_cpo | boolean | True when the listing is Certified Pre-Owned |
vehicle_type | string | car, motorcycle, rv, or heavy_equipment |
price | string | Current dealer website listing price in decimal USD (for example, "28995.00") |
msrp | string | null | Manufacturer Suggested Retail Price (window sticker MSRP) in decimal USD when available |
mileage | integer | Odometer reading in miles |
exterior_color | string | null | Exterior color as listed on the VDP or window sticker |
interior_color | string | null | Interior color or upholstery material |
body_type | string | null | Body style (for example, Sedan, SUV, Truck) |
fuel_type | string | null | Fuel or powertrain type (for example, Gasoline, Hybrid, Electric) |
transmission | string | null | Transmission specification |
drivetrain | string | null | Drivetrain layout (FWD, RWD, AWD, 4WD) |
engine | string | null | Engine displacement and cylinder configuration |
stock_number | string | null | Dealer stock number |
url | string | Direct URL to the vehicle detail page (VDP) on the dealer website |
images | string[] | Ordered array of vehicle photo URLs |
image_count | integer | Total number of photos in images |
primary_image | string | null | First (hero) photo URL |
is_active | boolean | True while the vehicle is actively listed on the dealer website |
first_seen_at | string (date-time) | ISO 8601 timestamp when the listing was first observed |
last_seen_at | string (date-time) | ISO 8601 timestamp when the listing was most recently verified active |
removed_at | string (date-time) | null | ISO 8601 timestamp when the vehicle left the dealer website, or null if active |
domain_id | integer | Numeric ID of the dealer domain that owns the listing |
clean_domain | string | Bare lowercase hostname of the dealer website (for example, example-dealer.com) |
List and search vehicles
Search and filter active or historical vehicle listings across all tracked domains with full-text search, spec filters, sorting, and VIN deduplication.
| Name | Type | Required | Description |
|---|---|---|---|
domain | string (query) | No | Filter by clean domain |
domain_id | integer (query) | No | Filter by domain ID |
status | string (query) | No | active | removed | all |
active_from | string (query) | No | ISO date |
active_to | string (query) | No | ISO date |
condition | string (query) | No | new | used | cpo |
vehicle_type | string (query) | No | car | motorcycle | rv | heavy_equipment |
make | string (query) | No | Vehicle manufacturer name (for example, Honda, Toyota) |
model | string (query) | No | Vehicle model name (for example, Accord, Camry) |
year_min | integer (query) | No | Minimum model year (inclusive) |
year_max | integer (query) | No | Maximum model year (inclusive) |
price_min | number (query) | No | Minimum listing price in USD |
price_max | number (query) | No | Maximum listing price in USD |
mileage_min | integer (query) | No | Minimum odometer mileage |
mileage_max | integer (query) | No | Maximum odometer mileage |
has_images | boolean (query) | No | When true, return only vehicles with at least one photo |
has_price | boolean (query) | No | When true, return only vehicles with a listed price |
search | string (query) | No | Full-text on VIN, make, model, stock_number |
sort | string (query) | No | last_seen_at | first_seen_at | price | year | make |
order | string (query) | No | asc | desc |
limit | integer (query) | No | Default 50, max 500 |
offset | integer (query) | No | Zero-based pagination offset |
dedupe | boolean (query) | No | Dedupe by VIN (default true unless filtering by single domain) |
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"
{
"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)
Retrieve every listing for a 17-character VIN across all tracked dealer domains, together with VIN-decoded specifications, price summary, and price history.
| Name | Type | Required | Description |
|---|---|---|---|
vin | string (path) | Yes | 17-character VIN |
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
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.
| Name | Type | Required | Description |
|---|---|---|---|
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
domain | string (path) | Yes | Clean domain |
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456/example-dealer.com" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Return the chronological timeline of observed listing prices for a VIN.
| Name | Type | Required | Description |
|---|---|---|---|
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/vehicles/1HGCV1F34LA123456/price-history" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/domains | List all dealer website domains attached to your API key with detected CMS platform, last scrape timestamp, and active vehicle counts. |
| POST | /api/domains | Onboard a dealer website URL for automated CMS platform detection and recurring inventory ingestion. |
| 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. |
| 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). |
| 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}/scan | Queue 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}/reactivate | Re-enable a previously deactivated domain and resume scheduled inventory scraping. |
| GET | /api/domains/cms-distribution | Return the count of tracked domains grouped by detected dealer website CMS platform. |
| GET | /api/my-dealers | List all primary (own) dealerships configured under your account for dealer analytics, quality audits, and feed management. |
| POST | /api/my-dealers | Register 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/summary | Return aggregate inventory counts, unread alert totals, and domain health across all dealers in your portfolio. |
| GET | /api/portfolio/dealers | Return a per-dealer summary table with active inventory counts, aging breakdown, and average engagement score. |
| GET | /api/portfolio/conflicts | Identify VINs listed simultaneously at multiple rooftops in your portfolio with mismatched prices. |
| GET | /api/portfolio/benchmarks | Compare price competitiveness, median days on lot, and listing quality across all rooftops in your portfolio. |
| GET | /api/jobs | List 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
List all dealer website domains attached to your API key with detected CMS platform, last scrape timestamp, and active vehicle counts.
| Name | Type | Required | Description |
|---|---|---|---|
is_active | boolean (query) | No | Filter by active status |
cms_type | string (query) | No | Filter by detected CMS |
limit | integer (query) | No | Page size |
offset | integer (query) | No | Pagination offset |
curl -sS "https://api.motorsdynamic.com/api/domains?is_active=true&limit=100&offset=0" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Onboard a dealer website URL for automated CMS platform detection and recurring inventory ingestion.
| Name | Type | Required | Description |
|---|---|---|---|
url | string (body) | Yes | Target URL (dealer website URL or HTTPS webhook receiver URL) |
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"}'
{
"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
Onboard up to 500 dealer domains in a single request using either a JSON array of URLs or newline-separated text/csv.
| Name | Type | Required | Description |
|---|---|---|---|
urls | string[] (body, application/json) | No | Array of up to 500 dealer website URLs or domains (required when Content-Type is application/json) |
csv_body | string (body, text/csv) | No | Newline-separated list of up to 500 dealer domains (required when Content-Type is text/csv) |
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"]}'
{
"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
Return paginated vehicle listings for a single dealer identified by its clean domain name (for example, example-dealer.com).
| Name | Type | Required | Description |
|---|---|---|---|
clean_domain | string (path) | Yes | e.g., example-dealer.com |
status | string (query) | No | active | removed | all |
condition | string (query) | No | new | used | cpo |
make | string (query) | No | Vehicle manufacturer name (for example, Honda, Toyota) |
model | string (query) | No | Vehicle model name (for example, Accord, Camry) |
min_price | number (query) | No | Minimum listing price in USD |
max_price | number (query) | No | Maximum listing price in USD |
min_year | integer (query) | No | Minimum model year (inclusive) |
max_year | integer (query) | No | Maximum model year (inclusive) |
has_images | boolean (query) | No | When true, return only vehicles with at least one photo |
has_price | boolean (query) | No | When true, return only vehicles with a listed price |
limit | integer (query) | No | Default 100, max 1000 |
offset | integer (query) | No | Zero-based pagination offset |
curl -sS "https://api.motorsdynamic.com/api/domains/example-dealer.com/vehicles?status=active&limit=100" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/competitive/places/autocomplete | Search 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/dealers | List all dealerships tracked for competitive intelligence, optionally filtered by primary vs competitor status. |
| POST | /api/competitive/dealers | Register 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/groups | List all competitor groups, each pairing a primary dealer with nearby same-brand or local competitors. |
| POST | /api/competitive/groups | Create 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}/discover | Re-run geographic and brand competitor discovery for an existing competitor group. |
| POST | /api/competitive/groups/{id}/members | Attach 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-data | Return geographic coordinates, distance from primary rooftop, and inventory counts for every dealer in the group. |
| 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. |
| 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. |
| GET | /api/competitive/groups/{id}/heatmap | Return vehicle supply counts aggregated by postal code across the competitor group. |
| GET | /api/competitive/groups/{id}/activity | Return newly added, removed, and repriced vehicles across the competitor group over the specified lookback window. |
| GET | /api/competitive/groups/{id}/timeline | Return daily historical inventory counts and average prices for each dealer in the competitor group. |
| GET | /api/competitive/groups/{id}/market-intelligence | Return your primary dealer's inventory enriched with comparable competitor listings and market price positioning. |
| GET | /api/competitive/groups/{id}/listings | Return 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/alerts | List competitive intelligence alerts for price cuts, inventory spikes, and new competitors. |
| PUT | /api/competitive/alerts/{id}/read | Mark a single competitive intelligence alert as read. |
| PUT | /api/competitive/alerts/read-all | Mark all unread competitive alerts as read, optionally scoped to one competitor group. |
| GET | /api/competitive/alerts/preferences | Retrieve current email digest and threshold settings for competitive alerts. |
| PUT | /api/competitive/alerts/preferences | Update email notification settings and numeric thresholds for competitive alerts. |
List competitor groups
List all competitor groups, each pairing a primary dealer with nearby same-brand or local competitors.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/competitive/groups" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Return each group member's share of active inventory, condition split (new, used, CPO), and average asking price.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
make | string (query) | No | Vehicle manufacturer name (for example, Honda, Toyota) |
model | string (query) | No | Vehicle model name (for example, Accord, Camry) |
body_type | string (query) | No | Filter by vehicle body style (for example, SUV, Sedan, Truck) |
condition | string (query) | No | Vehicle condition filter (new, used, cpo) |
window | string (query) | No | current | 30d | 90d | 365d |
curl -sS "https://api.motorsdynamic.com/api/competitive/groups/5/market-share?make=Honda&window=current" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Compare average, minimum, and maximum listing prices per dealer in the group for a specific make and optional model.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
make | string (query) | Yes | Vehicle manufacturer name (for example, Honda, Toyota) |
model | string (query) | No | Vehicle model name (for example, Accord, Camry) |
curl -sS "https://api.motorsdynamic.com/api/competitive/groups/5/pricing?make=Honda&model=CR-V" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/dealers/aging | Return inventory aging bucket counts (fresh_0_14, moderate_15_30, aging_31_45, stale_46_plus) across all dealers. |
| GET | /api/dealers/aging-alerts | Return all active, undismissed aging alerts across all dealers in your account. |
| GET | /api/dealers/top | Return tracked dealers ranked in descending order by active vehicle count. |
| GET | /api/dealers/{dealerId}/inventory/aging | Return paginated aging breakdown and per-VIN days-on-lot metrics for a single dealer. |
| GET | /api/dealers/{dealerId}/aging/config | Retrieve the day-bucket threshold configuration for a dealer's aging tiers. |
| PUT | /api/dealers/{dealerId}/aging/config | Replace the day boundaries used to classify a dealer's inventory into aging tiers. |
| POST | /api/dealers/{dealerId}/aging/alerts/{alertId}/dismiss | Dismiss a specific aging alert for a dealer. |
| GET | /api/dealers/{dealerId}/alerts/price-changes | Return paginated alerts triggered when competing dealers change prices on comparable vehicles. |
| POST | /api/dealers/{dealerId}/alerts/price-changes/{id}/read | Mark a specific competitor price-change alert as read. |
| GET | /api/dealers/{dealerId}/alerts/price-changes/config | Retrieve the minimum dollar threshold and notification settings for a dealer's price-change alerts. |
| PUT | /api/dealers/{dealerId}/alerts/price-changes/config | Update the enable flag and minimum dollar movement threshold for competitor price-change alerts. |
| GET | /api/dealers/{dealerId}/inventory/scores | Return paginated 0-to-100 engagement scores derived from GA4 VDP telemetry for a dealer's inventory. |
| GET | /api/dealers/{dealerId}/inventory/{vin}/engagement | Return detailed GA4 engagement metrics, score components, and daily view history for one VIN. |
| GET | /api/dealers/{dealerId}/inventory/quadrants | Classify a dealer's active inventory into action quadrants combining engagement score and days on lot. |
| GET | /api/dealers/{dealerId}/inventory/positions | Return market price positioning (below_market, at_market, above_market) for all vehicles at a dealer. |
| GET | /api/dealers/{dealerId}/inventory/{vin}/market-position | Return comparable local listings, market price percentiles, and rank for a single VIN at a dealer. |
| GET | /api/dealers/{dealerId}/inventory/gaps | Identify 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-efficiency | List generated ad-efficiency reports evaluating spend allocation across vehicle quadrants for a dealer. |
| POST | /api/dealers/{dealerId}/reports/ad-efficiency | Trigger 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/quality | Return the dealer's overall VDP listing quality score distribution, top merchandising issues, and estimated CTR impact. |
| GET | /api/dealers/{dealerId}/inventory/quality/vehicles | Return a paginated list of vehicles at a dealer with their individual listing quality scores and issue flags. |
| GET | /api/dealers/{dealerId}/inventory/{vin}/quality | Return the rubric breakdown, detected merchandising issues, and prioritized fixes for one VIN. |
| POST | /api/dealers/{dealerId}/inventory/quality/audit | Queue an immediate full-inventory VDP quality audit for a dealer. |
| GET | /api/dealers/{dealerId}/inventory/{vin}/optimized-title | Generate 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
Return paginated aging breakdown and per-VIN days-on-lot metrics for a single dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
threshold | integer (query) | No | Minimum days-on-lot threshold for aging filter |
page | integer (query) | No | 1-based page number for paginated responses |
limit | integer (query) | No | Max 100 |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/aging?threshold=30&page=1&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Return paginated 0-to-100 engagement scores derived from GA4 VDP telemetry for a dealer's inventory.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
page | integer (query) | No | 1-based page number for paginated responses |
limit | integer (query) | No | Maximum number of results to return per page |
min_score | number (query) | No | Minimum score filter |
max_score | number (query) | No | Maximum score filter |
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"
{
"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
Return the dealer's overall VDP listing quality score distribution, top merchandising issues, and estimated CTR impact.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/quality" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/dealers/{dealerId}/trade-in/valuation | Calculate a market-backed low, mid, and high trade-in valuation range from active comparable listings. |
| 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. |
| GET | /api/dealers/{dealerId}/inventory/{vin}/pricing-recommendation | Retrieve sell-fast, equilibrium, and margin price targets plus comparable justification for one VIN. |
| GET | /api/dealers/{dealerId}/market/imbalances | Identify vehicle segments where local buyer velocity outpaces dealer supply, categorized by pricing power. |
| GET | /api/dealers/{dealerId}/market/seasonal | Return 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/benchmarks | Return 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/preferences | Retrieve a dealer's inter-dealer trade matchmaking opt-in status, target makes/models, and radius. |
| PUT | /api/dealers/{dealerId}/trade/preferences | Update a dealer's trade matchmaking opt-in status, desired makes and models, and radius in miles. |
| GET | /api/dealers/{dealerId}/trade/matches | List candidate VIN trades pairing aging inventory at one rooftop with high-demand gaps at another. |
| POST | /api/dealers/{dealerId}/trade/matches/{id}/contact | Transition an inter-dealer trade match to contacted status. |
| POST | /api/dealers/{dealerId}/trade/matches/{id}/decline | Decline a candidate inter-dealer trade match with optional notes. |
| GET | /api/reports/schedules | List all recurring weekly or monthly dealer intelligence report schedules. |
| POST | /api/reports/schedules | Create 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-now | Generate and dispatch a scheduled report immediately outside its normal cadence. |
| POST | /api/reports/{dealerId}/generate | Generate an on-demand inventory, aging, and market position snapshot report for a dealer. |
| GET | /api/reports/{dealerId}/latest | Retrieve the most recently generated snapshot report for a dealer. |
Estimate trade-in value
Calculate a market-backed low, mid, and high trade-in valuation range from active comparable listings.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
year | integer (body) | Yes | Four-digit vehicle model year |
make | string (body) | Yes | Vehicle manufacturer name (for example, Honda, Toyota) |
model | string (body) | Yes | Vehicle model name (for example, Accord, Camry) |
trim | string (body) | No | Vehicle trim level (for example, EX-L, Sport) |
mileage | integer (body) | Yes | Current vehicle odometer reading in miles |
condition | string (excellent | good | fair | poor) (body) | Yes | Vehicle condition filter (new, used, cpo) |
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"}'
{
"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
Return paginated sell-fast, equilibrium, and max-margin price recommendations with projected days-to-turn for each VIN.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
page | integer (query) | No | 1-based page number for paginated responses |
limit | integer (query) | No | Maximum number of results to return per page |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/pricing-recommendations?page=1&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/feeds | List all configured CSV, XML, and JSON inventory export feeds in your account. |
| POST | /api/feeds | Create 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}/regenerate | Rotate a feed's signed download token and rebuild its exported output immediately. |
| GET | /api/feeds/{id}/vehicles | Return a paginated preview of the vehicles matching a saved feed's domain and filter rules. |
| GET | /api/feeds/fields | Return all canonical vehicle fields and supported transformation functions available when building feed app columns. |
| POST | /api/feeds/preview | Test 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/apps | List built-in and custom feed app templates (output format, delimiter, and column mappings). |
| POST | /api/feeds/apps | Create 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}/columns | Add 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/reorder | Set the exact output column order for a custom feed app by passing an ordered array of column IDs. |
| 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. |
| GET | /api/vla/dealers/{dealerId}/feeds/vla/content | Fetch the rendered Vehicle Listing Ads XML feed using the dealer's signed feed_token query parameter. |
| GET | /api/vla/dealers/{dealerId}/feeds/vla/history | Return a paginated log of historical VLA feed builds with included and excluded VIN counts. |
| GET | /api/vla/dealers/{dealerId}/feeds/vla/config | Retrieve 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/config | Update quadrant inclusion rules, refresh interval, and installment payment_config for a dealer's VLA feed. |
| POST | /api/vla/dealers/{dealerId}/feeds/vla/generate | Rebuild a dealer's VLA XML feed immediately applying current inventory, labels, and overrides. |
| GET | /api/vla/dealers/{dealerId}/feeds/vla/overrides | List all manual per-VIN force-include or force-exclude rules on a dealer's VLA feed. |
| POST | /api/vla/dealers/{dealerId}/feeds/vla/overrides | Upsert 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/labels | Return 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}/labels | Retrieve 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/custom | Assign 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/config | Retrieve the days-on-lot bid multiplier curve configured for a dealer's ad feeds. |
| PUT | /api/dealers/{dealerId}/feeds/time-decay/config | Replace the days-on-lot bid multiplier steps for a dealer. |
| GET | /api/dealers/{dealerId}/feeds/reactive-boost/config | Retrieve automatic bid boost rules triggered by price reductions and high GA4 engagement. |
| PUT | /api/dealers/{dealerId}/feeds/reactive-boost/config | Update the automatic bid boost multipliers for price drops and high-engagement VINs. |
| GET | /api/dealers/{dealerId}/inventory/boosts | Return the combined time-decay and reactive boost bid multiplier currently active for each VIN at a dealer. |
| GET | /api/dealers/{dealerId}/feeds/search-terms | Return high-intent search keyword and negative-keyword recommendations derived from the dealer's active inventory. |
Create a feed
Create a new formatted inventory export feed applying a feed app template to one or more domains.
| Name | Type | Required | Description |
|---|---|---|---|
app_id | integer (body) | Yes | Numeric feed app template ID to apply |
domain_ids | integer[] (body) | Yes | Array of numeric domain IDs to include in the feed |
name | string (body) | No | Human-readable resource name |
filters | object (body) | No | Optional inventory filter object (make, condition, min_price, has_images) |
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}}'
{
"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
Retrieve a dealer's Vehicle Listing Ads (VLA) feed status, included vehicle count, and signed public XML feed URL.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS "https://api.motorsdynamic.com/api/vla/dealers/42/feeds/vla" \ -H "X-API-Key: YOUR_API_KEY"
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/webhooks | List all configured webhook subscriptions and the full list of supported event types. |
| POST | /api/webhooks | Register 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}/test | Queue a signed synthetic test event to verify that your endpoint validates the HMAC signature and returns 2xx. |
| GET | /api/webhooks/{id}/deliveries | Return 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.
| Event | Fires when |
|---|---|
domain.ingested | Initial onboarding and first full inventory scrape complete for a newly added dealer domain |
domain.scrape_completed | A scheduled or manual domain scrape job finishes |
domain.scrape_failed | A domain scrape job encounters an error |
vehicle.added | A new VIN appears in active inventory at a tracked domain |
vehicle.updated | Any field on an existing vehicle listing changes |
vehicle.price_changed | A vehicle's listed price moves up or down (payload includes old and new price) |
vehicle.removed | A VIN is delisted from a tracked dealer website |
alert.competitor_new_inventory | A competitor in a tracked group adds matching inventory |
alert.competitor_price_change | A competitor changes price on a comparable vehicle |
vla.boost_triggered | A 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:
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.
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
List all configured webhook subscriptions and the full list of supported event types.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/webhooks" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
Register an HTTPS endpoint to receive real-time HMAC-signed event deliveries; returns the signing secret once on creation.
| Name | Type | Required | Description |
|---|---|---|---|
dealer_id | integer (body) | Yes | Numeric dealer or domain identifier |
url | string (body) | Yes | Target URL (dealer website URL or HTTPS webhook receiver URL) |
events | string[] (body) | Yes | Array of webhook event names to subscribe to |
description | string (body) | No | Optional human-readable description |
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"}'
{
"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).
| Method | Endpoint | Purpose |
|---|---|---|
| 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). |
| 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. |
| 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}/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). |
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:
| Scope | Allowed kind values | Required target object | How MotorsDynamic resolves it |
|---|---|---|---|
vehicle (default) | incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, parse_error | vehicle 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. |
dealer | undercount | dealer (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). |
dealer | rejected_vehicles | dealer (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: returns201 Createdwith{"outcome": "created", "issue": {...}}and aLocationheader. - Same
partner_issue_idand identical body: returns200 OKwith{"outcome": "unchanged", "issue": {...}}without creating a duplicate issue. - Same
partner_issue_idand changed body: returns200 OKwith{"outcome": "updated", "issue": {...}}and reopens a closed issue back toreceived.
Issues progress through the following statuses:
| Status | Terminal? | Meaning |
|---|---|---|
received | No | Report stored and queued for automated triage |
triaged | No | Automated check completed; queued for parser or engineering review (triage.action: "needs_person") |
in_progress | No | Vehicle refresh or full dealer re-crawl is currently running (triage.action: "recrawl_queued" or "recheck_scheduled") |
fixed | Yes | Data is now complete and verified in MotorsDynamic; resolution explains what changed |
wont_fix | Yes | Source dealer page genuinely lacks the field or vehicle is no longer offered |
needs_info | Yes | Vehicle 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):
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.
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
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).
| Name | Type | Required | Description |
|---|---|---|---|
partner_issue_id | string (body) | Yes | Your 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. |
kind | string (body) | Yes | Problem category. For scope: vehicle: incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, or parse_error. For scope: dealer: undercount or rejected_vehicles. |
scope | string (body) | No | vehicle (default, reports one car via vehicle) or dealer (reports an entire dealer site via dealer; requires kind undercount or rejected_vehicles). |
severity | string (body) | No | low, medium (default), high, or critical. |
vehicle | object (body) | Conditional | Required 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). |
fields | Field[] (body) | Conditional | Array 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. |
dealer | object (body) | Conditional | Required 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_count | integer (body) | Conditional | Required for scope: dealer with kind: undercount (minimum 1). Total active vehicles expected on the dealer site. |
received_count | integer (body) | Conditional | Required for scope: dealer with kind: undercount (minimum 0). Number of vehicles received from MotorsDynamic. |
reason | string (body) | Conditional | Required 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. |
count | integer (body) | Conditional | Required for scope: dealer with kind: rejected_vehicles (minimum 1). Number of vehicles that could not be saved. |
vins | string[] (body) | No | Optional for rejected_vehicles: up to 500 VINs of the rejected vehicles (stored deduplicated and uppercase). |
note | string (body) | No | Optional context for rejected_vehicles (max 2,000 chars). |
observed_at | string (body) | No | ISO 8601 date-time when the issue was observed. |
evidence | any JSON (body) | No | Optional diagnostic payload up to 32 KB (such as endpoint called or sync notes). |
callback_url | string (body) | No | HTTPS URL to receive a signed webhook when the issue reaches fixed, wont_fix, or needs_info. |
partner | string (body) | No | Optional partner slug; if provided, must match the partner bound to your API key. |
# 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"
}'
{
"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
List your reported data issues ordered by newest update first, with cursor pagination and filters for status, since timestamp, and partner_issue_id.
| Name | Type | Required | Description |
|---|---|---|---|
status | string (query) | No | Comma-separated status values to filter by (received, triaged, in_progress, fixed, wont_fix, needs_info). |
since | string (query) | No | ISO 8601 date-time; return only issues updated at or after this timestamp. |
partner_issue_id | string (query) | No | Filter by your exact partner_issue_id. |
limit | integer (query) | No | Page size from 1 to 200 (default 50). |
cursor | string (query) | No | Opaque next_cursor token from the previous page response. |
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"
{
"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
Retrieve one reported data issue by numeric ID, including current status, resolution summary, per-field or per-dealer triage verdicts, and status transition history.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | MotorsDynamic numeric data issue ID returned when the issue was created. |
curl -sS "https://api.motorsdynamic.com/api/v1/partner/data-issues/122" \ -H "X-API-Key: YOUR_API_KEY"
{
"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
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).
| Name | Type | Required | Description |
|---|---|---|---|
domain | string (path) | Yes | Dealer hostname (scheme and www are ignored, for example example-dealer.com) or numeric MotorsDynamic dealer ID. |
curl -sS "https://api.motorsdynamic.com/api/v1/partner/dealers/example-dealer.com/quality" \ -H "X-API-Key: YOUR_API_KEY"
{
"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.
| Property | Value |
|---|---|
Server URL | https://mcp.motorsdynamic.com/mcp (Streamable HTTP) |
Header auth | Authorization: Bearer YOUR_API_KEY (or X-API-Key: YOUR_API_KEY) |
URL query auth | https://mcp.motorsdynamic.com/mcp?key=YOUR_API_KEY (for connector UIs that do not take custom headers) |
Rate limits | 120 tool calls / minute and 10,000 tool calls / day per API key |
{
"motorsdynamic": {
"type": "http",
"url": "https://mcp.motorsdynamic.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
MCP tools (19 read-only tools)
| Category | Tool | Description |
|---|---|---|
| Shopping | search_inventory | Vehicles for sale by make, model, year, price, condition, fuel, and distance from a ZIP, with price, mileage, dealer, days listed, and listing link |
| Shopping | get_vehicle | One VIN: every dealer listing it, price history, listing events, VIN decode, window sticker figures, and manufacturer offers that apply |
| Shopping | evaluate_price | Rates an asking price against comparable listings: percentile, market median and range, and a verdict from great deal to overpriced |
| Shopping | find_price_drops | Vehicles whose dealer cut the price in the last two weeks, biggest cut first |
| Shopping | new_arrivals | The newest listings near a ZIP |
| Shopping | aging_inventory | Vehicles that have sat on lots the longest |
| Shopping | recently_sold | Vehicles that left dealer websites recently, with last price and days to sell |
| Shopping | get_oem_offers | Manufacturer lease, APR, and cash offers for a make near a ZIP, with terms and end dates |
| Market Analysis | market_stats | Supply and exact price spread for a make and model in an area, median days listed, and sales in the last 30 days |
| Market Analysis | compare_models | Supply, price spread, and turn metrics for 2 to 5 models side by side |
| Market Analysis | price_by_year | Median price for each model year of a model (depreciation curve from live listings) |
| Market Analysis | market_overview | What is for sale in an area: listings by make, new versus used, and fuel mix including EV share |
| Market Analysis | national_stats | Nationwide listings, dealers tracked, makes, conditions, and dealer website platforms |
| Dealers | find_dealers | Dealers near a ZIP, nearest first, with address and inventory |
| Dealers | rank_dealers | Dealers in an area ranked by inventory, lowest median price, or price cuts this week |
| Dealers | get_dealer | One dealer: address, website platform, inventory mix, price range, days listed, and last 7 days of activity |
| Dealers | dealer_inventory | Everything one dealer lists, with the same filters and sorts as search |
| Dealers | dealer_activity | Vehicles listed, sold, relisted, and repriced at a dealer over recent days |
| Dealers | compare_dealers | Compare 2 to 5 dealers side by side |