# Loc8ID > Loc8ID turns any GPS coordinate into a short, shareable link and QR code (e.g. https://loc8id.com/abc123) that opens the exact point in Google Maps, Apple Maps, Waze and more. AI agents can create and manage Loc8IDs programmatically on a user's behalf. A **Loc8ID** is a precise location — a latitude/longitude with an optional name, description and custom alias — reachable at a short URL. Anyone can open a Loc8ID; no app or account is needed to view one. Agents typically geocode a place to coordinates, then create a Loc8ID and hand the short URL back to the user. Three options, in increasing order of setup: - **No integration at all** — just format a `/latlng` link into a reply. Works for any agent, even one with no tool-calling. See "Zero-setup: just format a link" below. - **MCP** — for Claude and other MCP clients. Connects as the user's own signed-in account and creates Loc8IDs directly. See "Create a Loc8ID via MCP" below. - **REST agent API** — for ChatGPT and other agents that don't speak MCP. Anonymous, claimable Loc8IDs, no account required. See "Create a Loc8ID via the REST API" below. ## Zero-setup: just format a link No tool call, API key, or account needed — any agent that can put a URL in its own reply can hand a user a working Loc8ID link: `https://loc8id.com/latlng/{lat},{lng}/{name}` Opening it reuses an existing Loc8ID for that spot if one's already there, or opens the create page pinned to that exact point (name + description pre-filled via reverse geocoding) for the user to finish themselves — this never creates anything silently; a human completes it by clicking through. `{name}` is optional, URL-encoded, and wins the name field over the geocoded one. Good for a quick "here's a link to that spot" without committing to MCP or the REST API below. Format reference: [coordinate-links](https://loc8id.com/coordinate-links). ## Create a Loc8ID via MCP Server: `https://mcp.loc8id.com/mcp` (Streamable HTTP, JSON-RPC 2.0). Auth is OAuth 2.1 — PKCE required, either Dynamic Client Registration or a Client ID Metadata Document. Discover it from the `401` this endpoint returns on an unauthenticated request, or start at [`/.well-known/oauth-authorization-server`](https://loc8id.com/.well-known/oauth-authorization-server). A successful authorization connects as the actual signed-in Loc8ID account — created Loc8IDs and collections belong to that user directly, subject to their plan's normal limits. Tools: `loc8id_create`, `loc8id_create_many`, `loc8id_get`, `loc8id_search`, `collection_create`, `collection_get`, `collection_add_loc8id`. Call `tools/list` after connecting for exact schemas. Nothing destructive is exposed yet (no update/delete tools). ## Create a Loc8ID via the REST API The agent endpoints (`/api/agent/*`) accept either an agent API key or a ChatGPT signature: - **Agent API key (recommended).** Send `Authorization: Bearer loc8id_…` — the key you were issued. Works for ChatGPT Custom GPTs, Zapier, and any other integration, and creates anonymous, claimable Loc8IDs (no user account needed). Request a key at support@loc8id.com. - **ChatGPT signature — no key.** Requests carrying `Signature-Agent: "https://chatgpt.com"` and signed with HTTP Message Signatures ([RFC 9421](https://www.rfc-editor.org/rfc/rfc9421)) are verified against OpenAI's published key directory and allowlisted automatically. Business-plan users can instead create a personal key at `/dashboard/api-keys` and call `POST https://loc8id.com/api/loc8ids` for account-owned Loc8IDs. Request body (JSON): `{ "latitude": 48.8584, "longitude": 2.2945, "name": "Eiffel Tower", "description": "optional", "alias": "optional-custom-slug" }` — `latitude` and `longitude` are required. Response: `{ "success": true, "data": { "loc8id": "abc123", "url": "https://loc8id.com/abc123", "latitude": 48.8584, "longitude": 2.2945, "name": "Eiffel Tower", "alias": null, "is_custom_alias": false } }` ## Docs - [API reference](https://loc8id.com/api): human-readable endpoint reference. - [Coordinate links](https://loc8id.com/coordinate-links): the `/latlng` URL format — syntax and resolver behavior, for the zero-setup option above. - [MCP discovery](https://loc8id.com/.well-known/oauth-authorization-server): OAuth authorization server metadata for MCP clients. - [OpenAPI spec (ChatGPT)](https://loc8id.com/.well-known/openapi-chatgpt.yaml): machine-readable schema for the REST agent endpoints. - [AI agent notes (ai.txt)](https://loc8id.com/ai.txt): auth, endpoints, limits and policy for agents. ## REST agent endpoints (agent key or ChatGPT signature) - `POST /api/agent/resolve`: resolve place names to verified coordinates (Nominatim, Mapbox fallback). Call this first — never guess a lat/lon. Send `{ "query": "Mint Tower, Goleniów" }` or a `queries` array plus an optional `near` bias; returns ranked candidates with `latitude`/`longitude`, `address`, `category` and a `confidence` tag (`resolved` = precise POI/address, `approximate` = centroid). Build verified-only collections: pin `resolved` matches, drop `approximate` ones. - `POST /api/agent/loc8ids`: create one Loc8ID. - `POST /api/agent/loc8ids/bulk`: create several at once. - `POST /api/agent/collections`: create a public collection. - `POST /api/agent/collections/{id}/items`: add Loc8IDs to a collection. ## Accounts & policy - [Pricing](https://loc8id.com/pricing): personal API keys require the Business plan; MCP and REST agent access (agent key or ChatGPT signature) are both free to connect — creation limits follow the connected account's own plan. - [Create an API key](https://loc8id.com/dashboard/api-keys): personal keys for account-owned Loc8IDs. - [Terms](https://loc8id.com/terms) and [Privacy](https://loc8id.com/privacy-policy): usage is subject to these. - Requests are rate-limited; back off on HTTP 429. Support: support@loc8id.com.