# resolve_map_links

Read the pin out of Google Maps share links.

`POST /v1/lookups/map-links` · MCP tool `resolve_map_links` · scope `write` · beta · since 2026-10-26.4

Google Maps share links (maps.app.goo.gl, goo.gl/maps) hide the place behind a redirect. This follows it and reads the pin and the place name, one result per link in the order sent: kind place with lat and lon, list for a saved list (read it with read_map_list), or unresolved. Use the creator's own links as the source of a spot's pin and mapsUrl. At most 100 links per call; a limit per creator and hour applies.

## Body parameters

- `urls` (array of strings, required): Google Maps share links (maps.app.goo.gl or goo.gl/maps), 1 to 100. Other links are refused.

## Returns

200.

- `links` (array of objects, required): One result per link, in the order sent.
  - `url` (string, required): The link as sent.
  - `kind` (string, required): place with a pin, list for a saved list (read_map_list), unresolved when no pin was found. One of `place`, `list`, `unresolved`.
  - `lat` (number or null, required): The pin's latitude.
  - `lon` (number or null, required): The pin's longitude.
  - `name` (string or null, required): The place name the link carries.
  - `resolvedUrl` (string or null, required): The long link the share link opens, when it was found.

## Examples

### Read the pins out of the creator's Google Maps share links

```bash
curl -X POST "https://sceniq.earth/api/v1/lookups/map-links" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "urls": [
    "https://maps.app.goo.gl/9xQvRk2bLmT4pWdE7",
    "https://maps.app.goo.gl/Hk3pLm8QwZr2Tn6V9"
  ]
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "resolve_map_links",
    "arguments": {
      "urls": [
        "https://maps.app.goo.gl/9xQvRk2bLmT4pWdE7",
        "https://maps.app.goo.gl/Hk3pLm8QwZr2Tn6V9"
      ]
    }
  }
}
```

Response 200:

```json
{
  "links": [
    {
      "url": "https://maps.app.goo.gl/9xQvRk2bLmT4pWdE7",
      "kind": "place",
      "lat": 37.7156,
      "lon": -119.677,
      "name": "Tunnel View",
      "resolvedUrl": "https://www.google.com/maps/place/Tunnel+View/@37.7156,-119.677,17z"
    },
    {
      "url": "https://maps.app.goo.gl/Hk3pLm8QwZr2Tn6V9",
      "kind": "list",
      "lat": null,
      "lon": null,
      "name": null,
      "resolvedUrl": "https://www.google.com/maps/placelists/list/Ab12Cd34Ef56Gh78"
    }
  ]
}
```

## Errors

- `invalid_argument` (400): A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- `invalid_request` (400): A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
- `unauthenticated` (401): The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- `invalid_api_key` (401): The key is unknown, revoked or expired.
- `api_scope_required` (403): A read-only key called a write operation, or a key without the publish option called publish_changes.
- `forbidden` (403): The key belongs to a creator account that is no longer active.
- `payload_too_large` (413): A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- `rate_limited` (429): Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- `internal_error` (500): An unexpected failure. The message is hidden on purpose.

Reference: https://developers.sceniq.earth/reference/resolve_map_links
