TicTacTrip Autocomplete API

The Autocomplete API from TicTacTrip — 1 operation(s) for autocomplete.

Operations 1

GET /v2/autocomplete #

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/tictactrip-autocomplete-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

tictactrip-autocomplete-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: '@tictactrip/api Autocomplete API'
  version: 2.1489.0
  description: Tictactrip's API service
  license:
    name: UNLICENSED
  contact:
    name: Tictactrip
    email: dev@tictactrip.eu
    url: https://www.tictactrip.eu
servers:
- url: /
tags:
- name: Autocomplete
paths:
  /v2/autocomplete:
    get:
      operationId: GetAutocomplete
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Autocomplete'
                type: array
        '400':
          description: Missing or invalid query parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IErrorCodeResponse'
              examples:
                Example 1:
                  value:
                    errorKey: partnersApi:client:missingQueryParam
                    errorMessage: The query parameter "q" is required
        '500':
          description: If an unexpected error occurred
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IErrorCodeResponse'
              examples:
                Example 1:
                  value:
                    errorKey: general:internal:unexpected
                    errorMessage: An unexpected error occurred
      description: 'Autocomplete search for stop clusters and stop groups by name.

        Returns cities and stations matching the query, filtered by the partner''s allowed gpuids when applicable.

        Mirrors the behaviour of the legacy GET /autocomplete route.'
      security:
      - authentication:
        - bookPartner
        - searchPartner
        - admin
      parameters:
      - description: The search query (e.g. a city name or prefix)
        in: query
        name: q
        required: true
        schema:
          type: string
        example: Paris
      tags:
      - Autocomplete
components:
  schemas:
    IErrorCodeResponse:
      properties:
        errorKey:
          type: string
        errorMessage:
          type: string
      required:
      - errorKey
      - errorMessage
      type: object
      additionalProperties: false
    Autocomplete:
      properties:
        id:
          type: number
          format: double
        unique_name:
          type: string
        local_name:
          type: string
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
        new_id:
          type: string
        city_id:
          type: number
          format: double
        gpuid:
          type: string
        nb_search:
          type: string
        popular:
          type: boolean
        iscity:
          type: boolean
      required:
      - id
      - unique_name
      - local_name
      - latitude
      - longitude
      - new_id
      - city_id
      - gpuid
      - nb_search
      - popular
      - iscity
      type: object
      additionalProperties: false
  securitySchemes:
    authentication:
      type: http
      scheme: bearer
      bearerFormat: JWT