TheTripMap - Plan and Share Outdoor Trip Itineraries on a Map

TheTripMap is a web application for planning and sharing outdoor trip itineraries. Users create hiking, canoe, biking, and alpine expeditions with GPS pins, routes, notes, and expenses on an interactive satellite map. Pin categories include campsites, portages, points of interest, parking, and water access points. Routes connect pins with waypoints and distance tracking.

Public API for AI Assistants

TheTripMap has a public REST API that AI assistants can use to search for existing public trips, get full trip details, and create new temporary trips. The API is open and requires only a public Bearer token (no user authentication needed for search and creation).

API Base URL

https://thetripmap.com/functions/v1/api

Authentication

All API requests require a Bearer token in the Authorization header. Use this public anon key (safe to expose):

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp4aHNmaHFjbnNzdWd6eW1hcGJiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzE2OTE3NjYsImV4cCI6MjA4NzI2Nzc2Nn0.bnpxlvQIFV1PwggQ1aYkrZol_a6KP9p56mcrGpdk23E

Endpoints

Trip Categories

Every trip has a category classifying the outdoor activity. Optional when creating a trip, defaults to unclassified.

Pin Categories

Every pin has a category determining its icon and color on the map. Optional, defaults to general.

Item Types and Fields

A trip's items array contains an ordered list of pins, paths, notes, and expenses. Items are processed in array order. The zero-based array index is used for cross-referencing (paths reference pins by index, notes/expenses reference parent pins by index).

Trip Detail Response (GET /api/trips/:id)

The response contains a trip object with an items array. Each item has: id (UUID), type (pin/path/note/expense/image), sort_order (display order), title, description, address (pins only), url (notes only), pin_category (pins only), is_optional (pins and paths), latitude/longitude (pins only), data (type-specific object), parent_id (UUID of parent item for notes/expenses attached to pins, null otherwise).

Data Field by Item Type

Example: Search for hiking trips near Ottawa

GET https://thetripmap.com/functions/v1/api/trips?category=hiking&min_lat=44.5&max_lat=46.5&min_lng=-79&max_lng=-75&limit=10

Example: Create a multi-day canoe trip with all item types

POST https://thetripmap.com/functions/v1/api/trips with JSON body containing project (title, description) and items array. Example items: parking pin, portage pin, campsite pin, POI pin (optional), paths connecting pins with waypoints and distance_km, notes with parent_index and url, expenses with cost, currency, and parent_index. See the OpenAPI spec or ai-info.html for a complete example with all item types and metadata.

MCP Server for ChatGPT and AI Assistants

TheTripMap provides an MCP (Model Context Protocol) server at https://thetripmap.com/functions/v1/mcp that lets AI assistants like ChatGPT directly search, retrieve, and create trips. No authentication required.

To connect in ChatGPT: Settings > Connectors > Advanced > Developer Mode > Add custom connector > paste https://thetripmap.com/functions/v1/mcp

Available MCP tools: search_trips (search public trips by text, category, or bounding box), get_trip (get full trip detail with pins, paths, notes, expenses), create_trip (create a temporary trip with title, description, and items array), get_temporary_trip (retrieve a temporary trip by ID).

API Resources

Temporary Trip Lifecycle