canonical: https://jentic.com/apis/opentripmap.com/opentripmap

# OpenTripMap API

OpenTripMap is a places API for points of interest: an agent can find attractions within a radius of a coordinate, inside a bounding box, or near a named place, autosuggest places by partial name, and pull the full detail for one place by its identifier. It suits travel and mapping assistants that need to surface things to see near a location. The API is read-only and returns tourist and geographic points of interest.

## For AI agents

Find points of interest by radius, bounding box, or place name and retrieve place detail from OpenTripMap.

## Scope

Does not provide routing or turn-by-turn navigation. Use it to find points of interest by radius, bounding box, or name, autosuggest places, and retrieve place detail.

## Capabilities

- Find points of interest within a radius of a coordinate
- Find points of interest inside a bounding box
- Find points of interest near a named place
- Autosuggest places by partial name
- Retrieve full detail for a place by its identifier

## Use cases

### Nearby Attractions

A travel agent surfaces things to see around a user by calling GET `/places/radius` with a coordinate and distance. This answers 'what is near me' without a separate mapping service.

Example prompt: Find nearby points of interest with GET `/places/radius` for the coordinate

### Map Area Search

When a map view defines a region, an agent lists what is inside it with GET `/places/bbox` for the bounding box. This populates a map with attractions as the user pans and zooms.

Example prompt: List places in the view with GET `/places/bbox` for the bounding box

### Place Detail

After a user picks a result, an agent reads its full record with GET `/places/xid/{xid}`, including description and attributes. This backs a detail card without a second data source.

Example prompt: Retrieve full detail with GET `/places/xid/{xid}` for the selected place

### Autosuggest by Name

As a user types, an agent offers matches with GET `/places/autosuggest` so it can resolve a partial name to a place. This drives a responsive search box for destinations.

Example prompt: Offer matches with GET `/places/autosuggest` for the partial name

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/places/radius` | Find places within a radius |
| GET | `/places/bbox` | Find places inside a bounding box |
| GET | `/places/geoname` | Find places near a named place |
| GET | `/places/autosuggest` | Autosuggest places by partial name |
| GET | `/places/xid/{xid}` | Retrieve place detail by id |

## Key resources

- **Place Search** — Find places by radius, bounding box, or name
- **Autosuggest** — Suggest places by partial name
- **Place Detail** — Full detail for a place by identifier

## Why Jentic

- **Setup:** Wiring the OpenTripMap API by hand means passing the API key as a query parameter, learning its 5 operations for radius, bounding box, geoname, autosuggest, and place detail against https://api.opentripmap.com/0.1/en. Through Jentic you install once, import the OpenTripMap API from the API Directory, store the credential once, and your agent calls it.
- **Permission scoping:** Because you run Jentic One yourself, you decide which OpenTripMap operations the agent may call. Every operation is a read, so you can expose only the search endpoints and leave the rest out of the allowed set unless you add them.
- **Credential handling:** Your OpenTripMap API key is stored once, encrypted, by your own Jentic One instance and added as the apikey query parameter at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent, such as 'find attractions near a coordinate' or 'get the detail for a place', and Jentic returns the matching OpenTripMap operation with its input schema so the agent calls the right endpoint.

## Related APIs

- **Foursquare API** — Foursquare returns venues and places; OpenTripMap focuses on tourist points of interest.
- **Geoapify API** — Geoapify handles geocoding and routing; OpenTripMap supplies the points of interest to visit.
- **OpenCage API** — OpenCage converts between coordinates and place names; OpenTripMap finds attractions at a location.

## FAQ

### What can an AI agent do with the OpenTripMap API?

An agent can find points of interest within a radius, inside a bounding box, or near a named place, autosuggest places by partial name, and retrieve the full detail for a place by its identifier. It is a read-only places and attractions source.

### What authentication does the OpenTripMap API use?

The specification declares an apiKey scheme that passes the API key as a query parameter named apikey. Through Jentic that key is held by your own instance and added to the request at execution time.

### How does an agent find attractions near a user?

It calls GET `/places/radius` with a coordinate and a distance to list nearby points of interest, then GET `/places/xid/{xid}` for detail on any the user picks. The two together drive a nearby-attractions view.

### Is there an MCP server for the OpenTripMap API?

You do not need a separate MCP server to use the OpenTripMap API with an agent. Through Jentic One, the self-hosted execution layer, your agent calls the operations directly after you import them from the API Directory. Install Jentic One from github.com/jentic/jentic-one to run it yourself.

### How does my agent discover OpenTripMap operations through Jentic?

Agents search Jentic by intent, such as 'find attractions near a coordinate', and Jentic returns the matching operation with its input schema. The agent then calls the right endpoint without reading the full reference.

### Can I limit what my agent is allowed to do with the OpenTripMap API?

Yes. Because you run Jentic One yourself, you decide which OpenTripMap operations the agent may call. Every operation is a read, so you can expose only the search endpoints and leave the rest out of the allowed set unless you add them, so the agent acts only within the operations you permit.
