Traccar Server API

Server information

GitHub OpenAPI

Operations 10

GET /server Fetch Server information #
PUT /server Update Server information #
GET /server/geocode Reverse geocode coordinates #
GET /server/timezones Fetch available timezones #
GET /server/file List server files (administrator only) #
DELETE /server/file/{path} Delete a server file (administrator only) #
POST /server/file/{path} Upload a server file #
GET /server/gc Trigger garbage collection #
GET /server/cache Fetch cache diagnostics #
POST /server/reboot Reboot the server process #

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/traccar:traccar-server-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

traccar-server-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Traccar Server API
  description: Traccar GPS tracking server API documentation. To use the API you need to have a server instance. For testing purposes you can use one of free demo servers. For production use you can install your own server or get a subscription service.
  contact:
    name: Traccar Support
    url: https://www.traccar.org/
    email: support@traccar.org
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 6.17.0
servers:
- url: https://demo.traccar.org/api
  description: Demo Server 1
- url: https://demo2.traccar.org/api
  description: Demo Server 2
- url: https://demo3.traccar.org/api
  description: Demo Server 3
- url: https://demo4.traccar.org/api
  description: Demo Server 4
- url: https://server.traccar.org/api
  description: Subscription Server
- url: http://{host}:{port}/api
  description: Other Server
  variables:
    host:
      default: localhost
    port:
      enum:
      - '8082'
      - '80'
      default: '8082'
security:
- BasicAuth: []
- ApiKey: []
tags:
- name: Server
  description: Server information
paths:
  /server:
    get:
      operationId: getServer
      summary: Fetch Server information
      x-mcp: true
      tags:
      - Server
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Server'
        '400':
          description: Bad request
          content: {}
    put:
      operationId: putServer
      summary: Update Server information
      tags:
      - Server
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Server'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Server'
        '401':
          description: Unauthorized
          content: {}
        '400':
          description: Bad request
          content: {}
  /server/geocode:
    get:
      operationId: getServerGeocode
      summary: Reverse geocode coordinates
      tags:
      - Server
      parameters:
      - name: latitude
        in: query
        required: true
        schema:
          type: number
          format: double
      - name: longitude
        in: query
        required: true
        schema:
          type: number
          format: double
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: Reverse geocoding is not enabled
          content: {}
        '401':
          description: Unauthorized
          content: {}
  /server/timezones:
    get:
      operationId: getServerTimezones
      summary: Fetch available timezones
      tags:
      - Server
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '401':
          description: Unauthorized
          content: {}
  /server/file:
    get:
      operationId: getServerFiles
      summary: List server files (administrator only)
      tags:
      - Server
      responses:
        '200':
          description: Files sorted by name, excluding directories
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
  /server/file/{path}:
    delete:
      operationId: deleteServerFilePath
      summary: Delete a server file (administrator only)
      tags:
      - Server
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: File deleted
        '400':
          description: Invalid file path
    post:
      operationId: postServerFilePath
      summary: Upload a server file
      tags:
      - Server
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
        required: true
      responses:
        '200':
          description: OK
          content: {}
        '400':
          description: Bad request
          content: {}
  /server/gc:
    get:
      operationId: getServerGc
      summary: Trigger garbage collection
      tags:
      - Server
      responses:
        '200':
          description: OK
          content: {}
        '401':
          description: Unauthorized
          content: {}
  /server/cache:
    get:
      operationId: getServerCache
      summary: Fetch cache diagnostics
      tags:
      - Server
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Unauthorized
          content: {}
  /server/reboot:
    post:
      operationId: postServerReboot
      summary: Reboot the server process
      tags:
      - Server
      responses:
        '200':
          description: OK
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '400':
          description: Bad request
          content: {}
components:
  schemas:
    Server:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Unique server configuration identifier
        registration:
          type: boolean
          description: Whether new user registrations are allowed
        readonly:
          type: boolean
          description: When true only administrators can modify server-wide settings
        deviceReadonly:
          type: boolean
          description: Disallow device attribute changes for non-admins
        limitCommands:
          type: boolean
          description: Restrict command execution to supported protocol commands
        map:
          type: string
          description: Default map layer identifier
        bingKey:
          type: string
          description: Bing Maps API key used when Bing is selected as a provider
        mapUrl:
          type: string
          description: Custom tile server URL template if configured
        poiLayer:
          type: string
          description: External point-of-interest layer configuration
        announcement:
          type: string
          description: Message displayed to all users in the web application
        latitude:
          type: number
          description: Default map center latitude
        longitude:
          type: number
          description: Default map center longitude
        zoom:
          type: integer
          description: Default map zoom level
        version:
          type: string
          description: Traccar server version string
        forceSettings:
          type: boolean
          description: Forces users to use the server-wide settings instead of their own
        coordinateFormat:
          type: string
          description: Default coordinate format for displaying positions
        openIdEnabled:
          type: boolean
          description: Indicates whether OpenID authentication is available
        openIdForce:
          type: boolean
          description: Require OpenID authentication for all users when enabled
        attributes:
          type: object
          description: Additional server-level configuration values
          properties: {}
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
    ApiKey:
      type: http
      scheme: bearer