Skip to main content
External API · v1

Build with MyTrafficData

REST API for partners integrating traffic measurements, device control, and reporting into their own systems. Token-authenticated, JSON-everywhere, and built around stable contracts.

List your sites
# Authenticate + list every site you own
curl -H "Authorization: Token $MYTD_TOKEN" \
     https://mytrafficdata.com/api/v1/traffic/sites

{
  "items": [
    {
      "id": 42,
      "name": "Kerpen — Heinrich-Hertz-Straße",
      "device_type": "sdr"
    }
  ]
}

From zero to integrated in three steps

The fastest way to a working integration is to follow the path below.

What you can build

The external API exposes four resource families. Each is documented end-to-end.

  • 13Endpoints
  • JSONWire format
  • TokenAuth model
  • RFC 7807Errors (v2)
  • ISO 8601Timestamps

Ready to build?

The quickstart takes about five minutes. The concepts section answers the questions you’ll have on day two.