Dealer Analytics, Listing Quality & GA4 API Reference
Monitor per-dealer inventory aging tiers, 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, ad-efficiency reports, and VDP listing quality audits.
Inventory Aging & Price-Change Alerts - days-on-lot tiers & competitor price alerts.
Track aging inventory across fresh_0_14, moderate_15_30, aging_31_45, and stale_46_plus tiers and manage competitor price-change alerts.
| 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 portfolio-wide aging summary
Return inventory aging bucket counts (fresh_0_14, moderate_15_30, aging_31_45, stale_46_plus) across all dealers.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/dealers/aging" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealers": [
{
"dealer_id": 42,
"clean_domain": "example-dealer.com",
"fresh_0_14": 164,
"moderate_15_30": 132,
"aging_31_45": 78,
"stale_46_plus": 38
}
]
}
List undismissed aging alerts
Return all active, undismissed aging alerts across all dealers in your account.
| Name | Type | Required | Description |
|---|---|---|---|
None | - | - | No parameters required |
curl -sS "https://api.motorsdynamic.com/api/dealers/aging-alerts" \ -H "X-API-Key: YOUR_API_KEY"
{
"alerts": [
{
"id": 77,
"dealer_id": 42,
"vin": "1HGCV1F34LA123456",
"days_on_lot": 49,
"tier": "stale_46_plus",
"price": "28995.00"
}
]
}
List top dealers by inventory size
Return tracked dealers ranked in descending order by active vehicle count.
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer (query) | No | Maximum number of results to return per page |
curl -sS "https://api.motorsdynamic.com/api/dealers/top?limit=10" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealers": [
{ "dealer_id": 42, "clean_domain": "example-dealer.com", "active_vehicles": 412 }
]
}
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 dealer aging thresholds
Retrieve the day-bucket threshold configuration for a dealer's aging tiers.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/aging/config" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealer_id": 42,
"fresh_max_days": 14,
"moderate_max_days": 30,
"aging_max_days": 45
}
Update dealer aging thresholds
Replace the day boundaries used to classify a dealer's inventory into aging tiers.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
fresh_max_days | integer (body) | No | Upper day boundary for fresh tier (default 14) |
moderate_max_days | integer (body) | No | Upper day boundary for moderate tier (default 30) |
aging_max_days | integer (body) | No | Upper day boundary for aging tier (default 45) |
curl -sS -X PUT "https://api.motorsdynamic.com/api/dealers/42/aging/config" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fresh_max_days": 15, "moderate_max_days": 30, "aging_max_days": 60}'
{
"dealer_id": 42,
"fresh_max_days": 15,
"moderate_max_days": 30,
"aging_max_days": 60
}
Dismiss an aging alert
Dismiss a specific aging alert for a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
alertId | integer (path) | Yes | Numeric aging alert identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/dealers/42/aging/alerts/77/dismiss" \ -H "X-API-Key: YOUR_API_KEY"
{
"id": 77,
"dismissed": true
}
List competitor price-change alerts for a dealer
Return paginated alerts triggered when competing dealers change prices on comparable vehicles.
| 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 |
from | string (query) | No | ISO date |
to | string (query) | No | ISO date |
unread_only | boolean (query) | No | When true, return only unread price-change alerts |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/alerts/price-changes?unread_only=true&page=1&limit=25" \ -H "X-API-Key: YOUR_API_KEY"
{
"alerts": [
{
"id": 502,
"vin": "5J6RW2H89NA000111",
"competitor_domain": "example-dealer-2.com",
"old_price": 31995,
"new_price": 30995,
"observed_at": "2026-10-30T05:40:00.000Z",
"is_read": false
}
],
"pagination": { "total": 1, "page": 1, "limit": 25, "pages": 1 }
}
Mark a price-change alert read
Mark a specific competitor price-change alert as read.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
id | integer (path) | Yes | Numeric resource identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/dealers/42/alerts/price-changes/502/read" \ -H "X-API-Key: YOUR_API_KEY"
{
"id": 502,
"is_read": true
}
Get price-change alert configuration
Retrieve the minimum dollar threshold and notification settings for a dealer's price-change alerts.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/alerts/price-changes/config" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealer_id": 42,
"enabled": true,
"min_change_amount": 250
}
Update price-change alert configuration
Update the enable flag and minimum dollar movement threshold for competitor price-change alerts.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
enabled | boolean (body) | Yes | Enable competitor price-change alerts |
min_change_amount | number (body) | No | Minimum dollar change required to trigger an alert |
curl -sS -X PUT "https://api.motorsdynamic.com/api/dealers/42/alerts/price-changes/config" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled": true, "min_change_amount": 300}'
{
"dealer_id": 42,
"enabled": true,
"min_change_amount": 300
}
Engagement, Quadrants, Market Position & Gaps - per-VIN scores, comparables & ad efficiency.
Combine GA4 VDP engagement telemetry with local market pricing to classify every VIN into an action quadrant and surface inventory gaps.
| Method | Endpoint | Purpose |
|---|---|---|
| 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 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 single-VIN engagement detail
Return detailed GA4 engagement metrics, score components, and daily view history for one VIN.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/1HGCV1F34LA123456/engagement" \ -H "X-API-Key: YOUR_API_KEY"
{
"vin": "1HGCV1F34LA123456",
"engagement_score": 84,
"quadrant": "stars",
"metrics": { "vdp_views_7d": 142, "avg_time_on_page_sec": 94, "lead_events_7d": 5 },
"history": [
{ "date": "2026-10-29", "views": 22, "score": 83 },
{ "date": "2026-10-30", "views": 25, "score": 84 }
]
}
Get Stars / Fix-It / Boost / Push-or-Cut matrix
Classify a dealer's active inventory into action quadrants combining engagement score and days on lot.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
quadrant | string (query) | No | stars | fix_it | boost | push_or_cut |
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/quadrants?quadrant=stars&page=1&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"counts": { "stars": 96, "fix_it": 88, "boost": 124, "push_or_cut": 104 },
"vehicles": [
{
"vin": "1HGCV1F34LA123456",
"year": 2023,
"make": "Honda",
"model": "Accord",
"quadrant": "stars",
"engagement_score": 84,
"days_on_lot": 12,
"price": "28995.00"
}
],
"pagination": { "total": 96, "page": 1, "limit": 50, "pages": 2 }
}
Get market positions for all VINs
Return market price positioning (below_market, at_market, above_market) for all vehicles at a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
position_label | string (query) | No | below_market | at_market | above_market |
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/positions?position_label=below_market&page=1&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"vehicles": [
{
"vin": "1HGCV1F34LA123456",
"price": 28995,
"market_median": 29850,
"delta_to_median": -855,
"position_label": "below_market",
"comparable_count": 17
}
],
"pagination": { "total": 173, "page": 1, "limit": 50, "pages": 4 }
}
Get market position and comparables for one VIN
Return comparable local listings, market price percentiles, and rank for a single VIN at a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/1HGCV1F34LA123456/market-position" \ -H "X-API-Key: YOUR_API_KEY"
{
"vin": "1HGCV1F34LA123456",
"price": 28995,
"market_median": 29850,
"position_label": "below_market",
"rank": 3,
"total_comparables": 17,
"comparables": [
{ "vin": "1HGCV1F38LA654321", "domain": "example-dealer-2.com", "price": 29850, "mileage": 21100 }
]
}
Get inventory gap opportunities
Identify high-demand make/model/year segments in the local market where the dealer currently has low or zero stock.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
condition | string (query) | No | Vehicle condition filter (new, used, cpo) |
min_score | number (query) | No | Minimum score filter |
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/gaps?condition=used&min_score=75&page=1&limit=25" \ -H "X-API-Key: YOUR_API_KEY"
{
"gaps": [
{
"make": "Honda",
"model": "Pilot",
"year_range": "2021-2023",
"condition": "used",
"opportunity_score": 89,
"dealer_stock": 1,
"market_velocity_days": 18
}
],
"pagination": { "total": 12, "page": 1, "limit": 25, "pages": 1 }
}
List ad-efficiency reports
List generated ad-efficiency reports evaluating spend allocation across vehicle quadrants for a dealer.
| 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/reports/ad-efficiency?page=1&limit=10" \ -H "X-API-Key: YOUR_API_KEY"
{
"reports": [
{ "id": 19, "dealer_id": 42, "status": "completed", "created_at": "2026-10-30T08:00:00.000Z" }
],
"pagination": { "total": 1, "page": 1, "limit": 10, "pages": 1 }
}
Generate a new ad-efficiency report
Trigger asynchronous generation of a new ad-efficiency report for a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/dealers/42/reports/ad-efficiency" \ -H "X-API-Key: YOUR_API_KEY"
{
"report_id": 20,
"status": "queued"
}
Get ad-efficiency report detail
Retrieve a generated ad-efficiency report in JSON or rendered HTML format.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
reportId | integer (path) | Yes | Numeric ad-efficiency report identifier |
format | string (query) | No | html |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/reports/ad-efficiency/19" \ -H "X-API-Key: YOUR_API_KEY"
{
"id": 19,
"dealer_id": 42,
"efficiency_score": 81,
"wasted_spend_share": 0.14,
"recommendations": [
{ "action": "suppress_above_market_stale", "vins_affected": 18 }
]
}
Listing Quality Audits - per-VIN VDP rubric scores & optimized titles.
Audit vehicle detail pages for photo count, price completeness, and specification coverage, and generate high-CTR ad titles.
| Method | Endpoint | Purpose |
|---|---|---|
| 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 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 }
]
}
List per-VIN listing quality scores
Return a paginated list of vehicles at a dealer with their individual listing quality scores and issue flags.
| 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 |
sort | string (query) | No | asc | desc |
max_score | number (query) | No | Maximum score filter |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/quality/vehicles?max_score=80&sort=asc&page=1&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"vehicles": [
{
"vin": "1HGCV1F34LA123456",
"year": 2023,
"make": "Honda",
"model": "Accord",
"quality_score": 68,
"issues": ["low_photo_count", "missing_interior_color"]
}
],
"pagination": { "total": 24, "page": 1, "limit": 50, "pages": 1 }
}
Get single-VIN quality score and fixes
Return the rubric breakdown, detected merchandising issues, and prioritized fixes for one VIN.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/1HGCV1F34LA123456/quality" \ -H "X-API-Key: YOUR_API_KEY"
{
"vin": "1HGCV1F34LA123456",
"quality_score": 96,
"checks": { "photos": "pass", "price": "pass", "specs": "pass", "trim": "pass" },
"issues": [],
"suggested_fixes": []
}
Trigger a manual listing quality audit
Queue an immediate full-inventory VDP quality audit for a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/dealers/42/inventory/quality/audit" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "Quality audit queued",
"dealer_id": 42,
"vehicles_queued": 412
}
Get optimized ad title for a VIN
Generate a structured, high-CTR vehicle title optimized for shopping and VLA feeds.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
vin | string (path) | Yes | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/dealers/42/inventory/1HGCV1F34LA123456/optimized-title" \ -H "X-API-Key: YOUR_API_KEY"
{
"vin": "1HGCV1F34LA123456",
"original_title": "2023 Honda Accord",
"optimized_title": "Certified 2023 Honda Accord EX-L FWD - Leather, Low Miles"
}
GA4 Telemetry - connection status, sync & VDP analytics.
Check GA4 property status, trigger telemetry syncs, and retrieve aggregated and per-VIN VDP engagement metrics.
| Method | Endpoint | Purpose |
|---|---|---|
| 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 GA4 connection status
Check connected GA4 properties and last telemetry sync timestamp for a dealer.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
curl -sS "https://api.motorsdynamic.com/api/ga4/status/42" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealer_id": 42,
"connected": true,
"connections": [
{ "id": 8, "property_id": "properties/391827364", "last_synced_at": "2026-10-30T06:30:00.000Z" }
]
}
Trigger a GA4 telemetry sync
Trigger an asynchronous GA4 VDP telemetry sync to refresh per-VIN engagement scores.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
connectionId | integer (path) | Yes | Numeric GA4 property connection identifier |
curl -sS -X POST "https://api.motorsdynamic.com/api/ga4/sync/42/8" \ -H "X-API-Key: YOUR_API_KEY"
{
"message": "GA4 sync queued",
"dealer_id": 42,
"connection_id": 8
}
Get aggregated GA4 analytics and per-VIN engagement
Retrieve aggregated VDP views, sessions, and per-VIN engagement telemetry over a date range.
| Name | Type | Required | Description |
|---|---|---|---|
dealerId | integer (path) | Yes | Numeric dealer or domain identifier |
from | string (query) | No | ISO date |
to | string (query) | No | ISO date |
vin | string (query) | No | 17-character Vehicle Identification Number (VIN) |
curl -sS "https://api.motorsdynamic.com/api/ga4/analytics/42?from=2026-10-01&to=2026-10-30" \ -H "X-API-Key: YOUR_API_KEY"
{
"dealer_id": 42,
"summary": { "total_vdp_views": 18420, "unique_vins_viewed": 398 },
"vehicles": [
{ "vin": "1HGCV1F34LA123456", "views": 142, "avg_engagement_time_sec": 94 }
]
}