TomTom Traffic Flow API

Real-time traffic speed and flow data

Operations 1

GET /traffic/services/{versionNumber}/flowSegmentData/{style}/{zoom}/json Get Flow Segment Data #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tomtom-traffic-flow-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tomtom-traffic-flow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TomTom Traffic Traffic Flow API
  description: The TomTom Traffic API provides real-time traffic data for developer applications. The Traffic Incidents service delivers accurate information about traffic jams, accidents, road closures, and hazards. The Traffic Flow service provides observed speeds and travel times for key roads, updated every minute. Supports raster and vector tile formats for map display.
  version: 5.0.0
  contact:
    name: TomTom Developer Support
    url: https://developer.tomtom.com/
servers:
- url: https://api.tomtom.com
  description: TomTom API Production
security:
- api_key: []
tags:
- name: Traffic Flow
  description: Real-time traffic speed and flow data
paths:
  /traffic/services/{versionNumber}/flowSegmentData/{style}/{zoom}/json:
    get:
      operationId: getFlowSegmentData
      summary: Get Flow Segment Data
      description: Returns real-time traffic flow information for the road segment closest to the specified coordinates. Includes current speed, freeflow speed, and travel time confidence.
      tags:
      - Traffic Flow
      parameters:
      - name: versionNumber
        in: path
        required: true
        schema:
          type: integer
          enum:
          - 4
      - name: style
        in: path
        required: true
        schema:
          type: string
          enum:
          - absolute
          - relative
          - relative-delay
          - reduced-sensitivity
        description: Traffic flow visualization style
      - name: zoom
        in: path
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 22
      - name: point
        in: query
        required: true
        schema:
          type: string
        description: Coordinates to query (lat,lon)
        example: 52.41072,4.84239
      - name: unit
        in: query
        schema:
          type: string
          enum:
          - KMPH
          - MPH
        description: Speed unit
      - name: thickness
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 20
        description: Segment thickness for display
      - name: openLr
        in: query
        schema:
          type: boolean
        description: Include OpenLR encoded location reference
      - name: key
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Traffic flow segment data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowSegmentResponse'
components:
  schemas:
    FlowSegmentResponse:
      type: object
      properties:
        flowSegmentData:
          type: object
          properties:
            frc:
              type: string
              description: Functional road class
            currentSpeed:
              type: integer
              description: Current speed in requested unit
            freeFlowSpeed:
              type: integer
              description: Free flow speed in requested unit
            currentTravelTime:
              type: integer
              description: Current travel time in seconds
            freeFlowTravelTime:
              type: integer
              description: Free flow travel time in seconds
            confidence:
              type: number
              description: Confidence in data accuracy (0-1)
            roadClosure:
              type: boolean
            coordinates:
              type: object
              properties:
                coordinate:
                  type: array
                  items:
                    type: object
                    properties:
                      latitude:
                        type: number
                      longitude:
                        type: number
            openLr:
              type: string
  securitySchemes:
    api_key:
      type: apiKey
      in: query
      name: key