Digitraffic (Fintraffic) Counting site V2 API

The Counting site V2 API from Digitraffic (Fintraffic) — 7 operation(s) for counting site v2.

GitHub OpenAPI

Operations 7

GET /api/counting-site/v2/sites/{siteId} Return one site #
GET /api/counting-site/v2/sites Return all sites #
GET /api/counting-site/v2/domains Return all domains #
GET /api/counting-site/v2/values.csv Return counter values in CSV #
GET /api/counting-site/v2/travel-modes Return all travel modes #
GET /api/counting-site/v2/values Return counter values #
GET /api/counting-site/v2/directions Return all directions #

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/digitraffic-fi:digitraffic-fi-counting-site-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

digitraffic-fi-counting-site-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Digitraffic Road Counting site V2 API
  version: 'Branch: master, tag: 2026.11.2-1 #ae693ff @ 2026-11-03T08:05:21+0000'
  description: 'OpenAPI document


    Digitraffic is a service operated by Fintraffic, offering real time traffic information. Currently the service covers *road, marine and rail* traffic. More information can be found at the Digitraffic website


    The service has a public Google-group road.digitraffic.fi for communication between developers, service administrators and Fintraffic. The discussion in the forum is mostly in Finnish, but you''re welcome to communicate in English too.


    ### General notes of the API

    * Many Digitraffic APIs use the GeoJSON format. The definition of GeoJSON can be found at https://tools.ietf.org/html/rfc7946.

    * For dates and times, the ISO 8601 format is used with "Zulu" zero offset from UTC unless otherwise specified (i.e., "yyyy-mm-ddThh:mm:ss[.mmm]Z"). E.g. 2019-11-01T06:30:00Z.'
  termsOfService: https://www.digitraffic.fi/en/terms-of-service/
  contact:
    name: Digitraffic / Fintraffic
    url: https://www.digitraffic.fi/
  license:
    name: Creative Commons 4.0 BY
    url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://tie.digitraffic.fi
tags:
- name: Counting site V2
paths:
  /api/counting-site/v2/sites/{siteId}:
    get:
      tags:
      - Counting site V2
      summary: Return one site
      parameters:
      - name: siteId
        in: path
        description: Site id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/geo+json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SitesModel'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiCountingSiteV2SitesBySiteId
      x-operation-id-source: derived
  /api/counting-site/v2/sites:
    get:
      tags:
      - Counting site V2
      summary: Return all sites
      parameters:
      - name: domain
        in: query
        description: Site domain
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/geo+json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/SitesModel'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiCountingSiteV2Sites
      x-operation-id-source: derived
  /api/counting-site/v2/domains:
    get:
      tags:
      - Counting site V2
      summary: Return all domains
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Last-Modified:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainsResponseModel'
      operationId: getApiCountingSiteV2Domains
      x-operation-id-source: derived
  /api/counting-site/v2/values.csv:
    get:
      tags:
      - Counting site V2
      summary: Return counter values in CSV
      parameters:
      - name: travelMode
        in: query
        description: Travelmode
        schema:
          type: string
      - name: year
        in: query
        description: Year
        required: true
        schema:
          type: string
      - name: month
        in: query
        description: Month
        required: true
        schema:
          type: string
      - name: siteId
        in: query
        description: Site id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            text/csv:
              schema:
                $ref: '#/components/schemas/CSVDataModel'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiCountingSiteV2ValuesCsv
      x-operation-id-source: derived
  /api/counting-site/v2/travel-modes:
    get:
      tags:
      - Counting site V2
      summary: Return all travel modes
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Last-Modified:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelModesResponseModel'
      operationId: getApiCountingSiteV2TravelModes
      x-operation-id-source: derived
  /api/counting-site/v2/values:
    get:
      tags:
      - Counting site V2
      summary: Return counter values
      parameters:
      - name: travelMode
        in: query
        description: Travel Mode
        schema:
          type: string
      - name: siteId
        in: query
        description: Site id
        schema:
          type: string
      - name: date
        in: query
        description: Date.  Default yesterday.
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonDataResponseModel'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiCountingSiteV2Values
      x-operation-id-source: derived
  /api/counting-site/v2/directions:
    get:
      tags:
      - Counting site V2
      summary: Return all directions
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Last-Modified:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectionsResponseModel'
      operationId: getApiCountingSiteV2Directions
      x-operation-id-source: derived
components:
  schemas:
    SiteModel:
      type: object
      properties:
        granularity:
          type: string
          description: Time interval between two consecutive data
          enum:
          - PT15M
          - PT1H
          - P1D
          - P1W
          - P1M
          - P1Y
        directional:
          type: boolean
          description: Indicator telling if directions are distinguished
        domain:
          type: string
          description: Site domain
        name:
          type: string
          description: Site name
        description:
          type: string
          description: Site description
        travelModes:
          type: string
          description: Removal timestamp
          format: date-time
        lastDataTimestamp:
          type: string
          description: Data updated timestamp
          format: date-time
        id:
          type: integer
          description: Site id
        customId:
          type: string
          description: Custom id for site
        dataUpdatedTime:
          type: string
          description: Data updated timestamp
          format: date-time
      description: Counting Site Metadata
    JsonDataResponseModel:
      type: array
      description: Counting Site data
      items:
        type: object
        properties:
          dataTimestamp:
            type: string
            description: Data interval start
            format: date-time
          count:
            type: number
            description: Counter count
          interval:
            type: number
            description: Interval length in minutes
          status:
            type: number
            description: Counter status
    DomainsResponseModel:
      type: array
      description: Counting Site Domains
      items:
        type: string
        description: Domain
    CSVDataModel:
      type: object
    TravelModesResponseModel:
      type: array
      description: Counting Site Travel Modes
      items:
        type: string
        description: Travel mode
    Empty:
      title: Empty Schema
      type: object
    SitesModel:
      required:
      - features
      - type
      type: object
      properties:
        features:
          type: array
          items:
            $ref: '#/components/schemas/SiteFeatureModel'
        type:
          type: string
          description: FeatureCollection
          enum:
          - FeatureCollection
        dataUpdatedTime:
          type: string
          description: Data updated timestamp
          format: date-time
      description: GeoJson FeatureCollection
    SiteFeatureModel:
      required:
      - geometry
      - properties
      - type
      type: object
      properties:
        geometry:
          type: object
          description: GeoJSON geometry
        type:
          type: string
          description: Feature
          enum:
          - Feature
        properties:
          $ref: '#/components/schemas/SiteModel'
      description: GeoJson Feature
    DirectionsResponseModel:
      type: array
      description: Counting Site Directions
      items:
        type: string
        description: Direction