Get a free key
Inventory change feed

Inventory change feed

Listing events (listed, price and status changes, ...) written by the v2 crawler, in commit-safe order (by writing transaction, then event id). Poll with the returned next_cursor; it is returned even when the page is empty. An event becomes visible once every transaction older than its own has finished (meta.watermark), which guarantees that a cursor never skips an event committed later. Sites still written by the legacy pipeline (meta.emits_events: false) have an empty feed until they are promoted.

GEThttps://api.motorsdynamic.com/api/v2/dealers/{domainId}/changes

Plan and price

PlanAccessPrice
FreeNonot included
GrowthNonot included
ScaleNonot included
EnterpriseYescontract

A call is billed when it answers 2xx. See pricing.

Parameters

NameInTypeRequiredDescription
domainIdpathintegeryesSite id (id from GET /dealers).
sincequerystring (date-time)noStart of the feed (RFC 3339) when no cursor is given. Default 24 hours ago.
typesquerystringnoComma-separated event types.
limitqueryintegerno
cursorquerystringnopage.next_cursor from the previous page, unchanged.

Example request

curl "https://api.motorsdynamic.com/api/v2/dealers/101/changes?since=2026-09-20T00%3A00%3A00Z&types=price_changed" \
  -H "x-api-key: $MD_API_KEY"

Example response

{
  "data": [
    {
      "event_id": "00000000-0000-4000-8000-000000000002",
      "domain_id": 101,
      "vin": "1FTFW1E50NFA00001",
      "source_key": "1FTFW1E50NFA00001",
      "event_type": "price_changed",
      "observed_at": "2026-09-21T00:00:00.000000Z",
      "prev": {
        "price": 41000
      },
      "next": {
        "price": 40000
      },
      "entity_version": 3,
      "episode": 1,
      "freshness": {
        "observed_at": "2026-09-21T00:00:00.000000Z"
      },
      "provenance": {
        "source": "v2",
        "adapter_version": "dealer-inspire@3",
        "run_id": 77,
        "quality": null
      }
    }
  ],
  "page": {
    "limit": 500,
    "has_more": false,
    "next_cursor": "eyJ2IjoxfQ"
  },
  "meta": {
    "domain_id": 101,
    "since": "2026-09-20T00:00:00.000Z",
    "writer": "v2",
    "emits_events": true,
    "watermark": "771234"
  }
}

Response fields

FieldTypeDescription
data[]array of object
data[].event_idstring (uuid)
data[].domain_idinteger or null
data[].vinstring or null
data[].source_keystring or null
data[].event_typelisted or price_changed or price_basis_changed or mileage_changed or photos_changed or status_changed or correction
data[].observed_atstring
data[].prevobjectState before the event (object or null).
data[].nextobjectState after the event (object or null).
data[].entity_versioninteger or null
data[].episodeinteger or null
data[].freshnessobject
data[].freshness.observed_atstring
data[].provenanceobject
data[].provenance.sourcev2 or md_legacy or foureyes
data[].provenance.adapter_versionstring or null
data[].provenance.run_idinteger or null
data[].provenance.qualitystring or nullComma list of archive caveats, for example mass_removal_hour.
pageobject
page.limitinteger
page.has_moreboolean
page.next_cursorstring or null
metaobject
meta.domain_idinteger
meta.watermarkstringOldest running transaction id; events of older transactions are complete.
meta.sincestring or null
meta.writerlegacy or v2
meta.emits_eventsboolean

Errors

StatusCodeWhen
400invalid_parameterA parameter is missing or malformed. The message names it.
401invalid_api_keyThe key is missing, revoked or mistyped.
402plan_requiredThe endpoint is on a higher plan. The body names the plan and links to the upgrade.
403not_entitledThe key may not read this dealer or source.
429rate_limited or quota_exceededSlow down (see Retry-After), or the Free monthly calls are used up.
504query_timeoutThe query passed its 4 second budget. Narrow the filters. Not billed.

Every error has the same body. Full list: errors.