# Trip Topology API > A read-only, city-to-city connections API for developers and AI agents. Find direct services and dated journeys by air, rail and road using best-effort recurring schedules. No fares, booking or live status. ## Start here - [Quickstart](https://triptopology.com/docs/quickstart/): create a key and look up an airport. - [Concepts](https://triptopology.com/docs/concepts/): city and place IDs, recurring schedules, time zones and paging. - [Coverage](https://triptopology.com/docs/coverage/): known coverage and how to check a route on the answering network. - [OpenAPI 3.1](https://triptopology.com/openapi.json): machine-readable REST contract. The API origin is https://api.triptopology.com. - [AI agent guide](https://triptopology.com/docs/use-with-ai-agents/): get a Free key without a browser, connect an MCP client, or define a REST tool. - [Agent registration OpenAPI](https://triptopology.com/agent-registration.openapi.json): challenge and registration contract. - MCP Streamable HTTP endpoint: https://mcp.triptopology.com/mcp. Send the same bearer key as for REST. - [Rate limits and quotas](https://triptopology.com/docs/limits/): how API calls count and how to handle 429 if enforcement is enabled. - [Network map](https://triptopology.com/map/): a public coverage preview with up to two direct destinations per city. Use the API for the full network and schedules. - [Cologne to Tokyo in one request](https://triptopology.com/#example): a dated train-to-flight query with a captured JSON response. ## Operations - GET https://api.triptopology.com/v1/places: Search stations and airports ([reference](https://triptopology.com/docs/reference/#getPlaces)). - GET https://api.triptopology.com/v1/places/{id}: One station or airport and its stops ([reference](https://triptopology.com/docs/reference/#getPlace)). - GET https://api.triptopology.com/v1/cities: Search supported journey cities ([reference](https://triptopology.com/docs/reference/#getCities)). - GET https://api.triptopology.com/v1/cities/{id}: One city and its places ([reference](https://triptopology.com/docs/reference/#getCity)). - GET https://api.triptopology.com/v1/operators: Search service operators ([reference](https://triptopology.com/docs/reference/#getOperators)). - GET https://api.triptopology.com/v1/operators/{id}: One operator with modes and countries served ([reference](https://triptopology.com/docs/reference/#getOperator)). - GET https://api.triptopology.com/v1/connections: Direct recurring services between two endpoints ([reference](https://triptopology.com/docs/reference/#getConnections)). - GET https://api.triptopology.com/v1/destinations: Places directly reachable from an endpoint ([reference](https://triptopology.com/docs/reference/#getDestinations)). - GET https://api.triptopology.com/v1/journeys: Journey options on a date ([reference](https://triptopology.com/docs/reference/#getJourneys)). ## Usage rules The hosted API is free with no usage cap today. Fair-use rules and usage limits may apply later with notice. Usage is recorded, but the hosted API does not send RateLimit-* or Quota-* headers or return 429 for API usage. Agent registration caps still apply. Send "Authorization: Bearer ". Register once: GET https://triptopology.com/agent-registration/challenge, solve the SHA-256 proof of work and POST it to https://triptopology.com/agent-registration. Follow the agent guide and honor Retry-After. If registration is unavailable, a person can create a key at https://triptopology.com/console/. Keep the key on the tool runner, never in prompts or tool arguments. Keep the separate claim secret private; a person can redeem it in the console after signing in. Reuse the same key and account. Search cities and places with q. Route parameters from and to take a geonames: city ID, a stable place ID or an unambiguous exact name. Use IDs after lookup. On ambiguous_endpoint, ask the caller to pick a candidate; do not substitute a nearby place. Use connections for one direct ride between endpoints and destinations for reachable places from one origin. Neither asks for a date. Journey search requires from, to and date. Its optional depart_after and depart_before bound the required start in origin-local time, including any initial allowance. Use modes=ground to exclude flights. An empty result is not proof that no service exists. The API offers best-effort routing from known schedules. Verify schedule and availability before booking. Preserve actual boarding and alighting places, operators when known, local times and running days. Follow meta.next_cursor with the same path and filters. On cursor_expired, restart without it. Read code on problem responses: fix invalid parameters or credentials, honor Retry-After on 429, and use bounded backoff on transient 503. See https://triptopology.com/docs/problems/.