China Footnotes Pretrip API

The Pretrip API from China Footnotes — 2 operation(s) for pretrip.

GitHub OpenAPI

Operations 2

GET /api/pretrip Before-you-go topics in three stages (plan: when-to-go, visa; setup: payments… #
GET /api/pretrip/{id} One before-you-go topic #

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/chinafootnotes-com:chinafootnotes-com-pretrip-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

chinafootnotes-com-pretrip-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Chinafootnotes Com Pretrip API
  version: 0.1.0
  x-coverage:
    cities:
    - Shanghai
    - Beijing
    - Xi’an
    - Chengdu
    - Chongqing
    - Hangzhou
    placeCount: 112
    pretripTopicCount: 9
    dataVersion: e95b0f4e8deb
    generatedAt: '2026-11-03T20:58:20.757Z'
  description: 'Operations tagged Pretrip across 2 of this provider''s published API definitions: chinafootnotes-com-openapi.json, chinafootnotes-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
  description: Same origin as this specification
tags:
- name: Pretrip
paths:
  /api/pretrip:
    get:
      summary: 'Before-you-go topics in three stages (plan: when-to-go, visa; setup: payments…'
      responses:
        '200':
          description: Topics in reading order
      tags:
      - Pretrip
      operationId: getApiPretrip
      x-operation-id-source: derived
    servers:
    - url: /
      description: Same origin as this specification
  /api/pretrip/{id}:
    get:
      summary: One before-you-go topic
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          enum:
          - when-to-go
          - visa
          - payments
          - internet
          - apps
          - book-ahead
          - getting-around
          - safety
      responses:
        '200':
          description: Topic
        '301':
          description: Old topic id (entry-documents, maps-transport, arrival-day, booking-id, language, holidays-crowds); Location gives the new topic
        '404':
          description: Unknown topic
      tags:
      - Pretrip
      operationId: getApiPretripById
      x-operation-id-source: derived
    servers:
    - url: /
      description: Same origin as this specification
x-refined-from:
- chinafootnotes-com-openapi.json
- chinafootnotes-com-openapi.yml