read_map_list
Every place of a shared Google Maps list.
/v1/lookups/map-listThe studio's import from a Google Maps list: each place's name, pin, the list owner's note, address and a link to the place. The list must be shared with anyone who has the link. Make spots from it with upsert_spots, the note as the creator's words, after the creator confirms which places belong in the guide.
curl -X POST "https://sceniq.earth/api/v1/lookups/map-list" \
-H "Authorization: Bearer $SCENIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://maps.app.goo.gl/Hk3pLm8QwZr2Tn6V9"
}'Body parameters
- urlstringrequired
The list's share link (maps.app.goo.gl) or the long list link it opens.
Returns
200 OK with MapList: A shared Google Maps list with its places.
- idstringrequired
The list's id.
- namestring or nullrequired
The list's name.
- placesarray of objectsrequired
The list's places in its order.
Show 7 fieldsHide fields
- namestringrequired
Google's name for the place (Dropped pin for an unnamed one).
- notestring or nullrequired
The list owner's note on the place.
- latnumberrequired
Latitude.
- lonnumberrequired
Longitude.
- addressstring or nullrequired
Street address or locality.
- mapsUrlstring or nullrequired
Opens the place in Google Maps; null for a dropped pin.
- namedbooleanrequired
false for a dropped pin Google has no name for.
- totalnumberrequired
How many places the list holds; more than places when it is very long.
{
"id": "Ab12Cd34Ef56Gh78",
"name": "Yosemite first light",
"places": [
{
"name": "Tunnel View",
"note": "Sunrise from the east end of the lot.",
"lat": 37.7156,
"lon": -119.677,
"address": "Wawona Rd, Yosemite Valley, CA 95389",
"mapsUrl": "https://www.google.com/maps/search/?api=1&query=37.7156,-119.677",
"named": true
},
{
"name": "Dropped pin",
"note": "Pullout for Bridalveil Fall.",
"lat": 37.7166,
"lon": -119.6512,
"address": null,
"mapsUrl": null,
"named": false
}
],
"total": 2
}Errors
Every error is { error: { code, message } }. Act on the code.
- 400invalid_argumentA 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).
- 400invalid_requestA 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.
- 401unauthenticatedThe request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- 401invalid_api_keyThe key is unknown, revoked or expired.
- 403api_scope_requiredA read-only key called a write operation, or a key without the publish option called publish_changes.
- 403forbiddenThe key belongs to a creator account that is no longer active.
- 400not_a_listread_map_list with a link that is not a shared Google Maps list.
- 400list_unreadableread_map_list on a list that is private, deleted, or that Google did not answer for.
- 413payload_too_largeA JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- 429rate_limitedOver a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- 500internal_errorAn unexpected failure. The message is hidden on purpose.