Domains, Dealers & Jobs API Reference
Onboard dealer website domains individually or in batches of up to 500, trigger manual inventory scans, manage primary dealer profiles, query portfolio-wide rollups, and monitor asynchronous scrape jobs.
Tracked Domains - onboard, scan & manage dealer websites.
Adding a domain triggers automated CMS detection (1 to 5 minutes) followed by a full inventory scrape (5 to 15 minutes).
| 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. |
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
}
Get a domain by numeric ID
Retrieve a single domain record by numeric ID, including recent scrape jobs and active/total vehicle counts.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS "https://api.motorsdynamic.com/api/domains/id/42" \ -H "X-API-Key: YOUR_API_KEY"
{
"domain": {
"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
},
"vehicleStats": { "total": 485, "active": 412 },
"recentJobs": [
{ "id": 9821, "job_type": "scrape", "status": "completed", "vehicles_found": 412 }
]
}
Trigger a manual scrape
Queue an immediate inventory scrape job for a tracked domain and return the queued job ID.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/domains/42/scan" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "Domain queued for scraping",
"domain": { "id": 42 },
"jobId": 9845
}
Deactivate a domain
Soft-deactivate a domain to stop recurring scrapes while preserving historical vehicle records.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS -X DELETE "https://api.motorsdynamic.com/api/domains/42" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "Domain deactivated",
"domain": { "id": 42, "clean_domain": "example-dealer.com", "is_active": false }
}
Reactivate a deactivated domain
Re-enable a previously deactivated domain and resume scheduled inventory scraping.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/domains/42/reactivate" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "Domain reactivated",
"domain": { "id": 42, "clean_domain": "example-dealer.com", "is_active": true }
}
Get CMS platform distribution
Return the count of tracked domains grouped by detected dealer website CMS platform.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/domains/cms-distribution" \ -H "X-API-Key: YOUR_API_KEY"
{
"distribution": [
{ "cms_type": "dealeron", "count": 48 },
{ "cms_type": "dealer-inspire", "count": 39 },
{ "cms_type": "dealercom", "count": 31 }
]
}
Primary Dealers - manage your own dealer rooftops.
Primary dealer records link your own rooftops to tracked domains for analytics, quality audits, and VLA feeds.
| Method | Endpoint | Purpose |
|---|---|---|
| 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. |
List primary dealers
List all primary (own) dealerships configured under your account for dealer analytics, quality audits, and feed management.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/my-dealers" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealers": [
{
"id": 12,
"name": "Example Motors",
"domain_id": 42,
"website": "https://www.example-dealer.com",
"oem_brand": "Honda",
"city": "Pittsburgh",
"state": "PA",
"postal_code": "15205"
}
]
}
Create a primary dealer
Register a primary dealership profile and link it to a tracked domain ID.
| Name | Type | Required | Description |
|---|---|---|---|
name | string (body) | Yes | Primary dealership name |
domain_id | integer (body) | No | Associated tracked domain ID |
website | string (body) | No | Dealership website URL |
oem_brand | string (body) | No | Primary OEM brand |
address | string (body) | No | Street address |
city | string (body) | No | City |
state | string (body) | No | Two-letter state code |
postal_code | string (body) | No | ZIP or postal code |
phone | string (body) | No | Dealership phone number |
curl -sS -X POST "https://api.motorsdynamic.com/api/my-dealers" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Example Motors", "domain_id": 42, "website": "https://www.example-dealer.com", "oem_brand": "Honda", "city": "Pittsburgh", "state": "PA", "postal_code": "15205"}'
{
"dealer": {
"id": 12,
"name": "Example Motors",
"domain_id": 42,
"website": "https://www.example-dealer.com",
"oem_brand": "Honda"
}
}
Update a primary dealer
Update the profile, address, OEM brand, or linked domain ID of a primary dealer.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
name | string (body) | No | Updated dealership name |
domain_id | integer (body) | No | Updated tracked domain ID |
website | string (body) | No | Updated website URL |
oem_brand | string (body) | No | Updated OEM brand |
address | string (body) | No | Updated street address |
city | string (body) | No | Updated city |
state | string (body) | No | Updated state code |
postal_code | string (body) | No | Updated postal code |
phone | string (body) | No | Updated phone number |
curl -sS -X PUT "https://api.motorsdynamic.com/api/my-dealers/12" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Example Motors West", "phone": "412-555-0199"}'
{
"dealer": {
"id": 12,
"name": "Example Motors West",
"domain_id": 42,
"phone": "412-555-0199"
}
}
Delete a primary dealer
Remove a primary dealer record by ID.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS -X DELETE "https://api.motorsdynamic.com/api/my-dealers/12" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "Primary dealer deleted",
"id": 12
}
Portfolio Rollups - cross-rooftop inventory, conflicts & benchmarks.
Aggregate inventory totals, aging metrics, cross-dealer VIN pricing conflicts, and rooftop benchmarks across your portfolio.
| Method | Endpoint | Purpose |
|---|---|---|
| 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 portfolio summary
Return aggregate inventory counts, unread alert totals, and domain health across all dealers in your portfolio.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/portfolio/summary" \ -H "X-API-Key: YOUR_API_KEY"
{
"total_dealers": 18,
"active_vehicles": 7420,
"unread_alerts": 14,
"healthy_domains": 18
}
Get per-dealer portfolio rollup
Return a per-dealer summary table with active inventory counts, aging breakdown, and average engagement score.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/portfolio/dealers" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealers": [
{
"dealer_id": 12,
"name": "Example Motors",
"clean_domain": "example-dealer.com",
"active_vehicles": 412,
"stale_46_plus": 38,
"avg_engagement_score": 74.2
}
]
}
Get cross-dealer VIN and pricing conflicts
Identify VINs listed simultaneously at multiple rooftops in your portfolio with mismatched prices.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/portfolio/conflicts" \ -H "X-API-Key: YOUR_API_KEY"
{
"conflicts": [
{
"vin": "1HGCV1F34LA123456",
"min_price": 28495,
"max_price": 28995,
"variance": 500,
"dealers": ["example-dealer.com", "example-dealer-north.com"]
}
]
}
Get cross-dealer portfolio benchmarks
Compare price competitiveness, median days on lot, and listing quality across all rooftops in your portfolio.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/portfolio/benchmarks" \ -H "X-API-Key: YOUR_API_KEY"
{
"benchmarks": [
{
"dealer_id": 12,
"name": "Example Motors",
"median_days_on_lot": 27,
"below_market_share": 0.42,
"avg_quality_score": 91.5
}
]
}
Scrape Job Status - monitor asynchronous CMS detect & scrape jobs.
Track queued, running, and completed scrape jobs created during domain onboarding or manual scans.
| Method | Endpoint | Purpose |
|---|---|---|
| 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 recent scrape jobs
List recent asynchronous CMS detection, inventory scrape, and VIN decode jobs with status and domain filters.
| Name | Type | Required | Description |
|---|---|---|---|
status | string (query) | No | pending | running | completed | failed |
job_type | string (query) | No | cms_detect | scrape | vin_decode |
domain_id | integer (query) | No | Filter by numeric domain identifier |
limit | integer (query) | No | Maximum number of results to return per page |
offset | integer (query) | No | Zero-based pagination offset |
curl -sS "https://api.motorsdynamic.com/api/jobs?domain_id=42&status=completed&limit=20" \ -H "X-API-Key: YOUR_API_KEY"
{
"jobs": [
{
"id": 9845,
"domain_id": 42,
"job_type": "scrape",
"status": "completed",
"vehicles_found": 412,
"started_at": "2026-10-30T06:10:02.000Z",
"completed_at": "2026-10-30T06:12:00.000Z"
}
]
}
Get single job detail
Retrieve execution details, vehicle counts, and timing for a single scrape job by ID.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | Numeric resource identifier |
curl -sS "https://api.motorsdynamic.com/api/jobs/9845" \ -H "X-API-Key: YOUR_API_KEY"
{
"job": {
"id": 9845,
"domain_id": 42,
"job_type": "scrape",
"status": "completed",
"vehicles_found": 412,
"vehicles_added": 6,
"vehicles_removed": 4,
"duration_ms": 118000
}
}
Poll lightweight scrape job status
Poll the current execution status of a queued or running scrape job by job ID.
| Name | Type | Required | Description |
|---|---|---|---|
jobId | integer (path) | Yes | Numeric scrape job identifier |
curl -sS "https://api.motorsdynamic.com/api/scrape/status/9845" \ -H "X-API-Key: YOUR_API_KEY"
{
"jobId": 9845,
"status": "completed",
"vehicles_found": 412
}