Pull the `g…` geo ID from a URL.
/api/v1/travel/tripadvisor/extract-geo-idFree.urlurl·queryrequired | Any TripAdvisor URL containing g###. Example: https://www.tripadvisor.com/Hotels-g189158-Lisbon-Hotels.html |
scripts/dump_doc_samples.py on the server to populate real samples.{
"url": "…",
"geo_id": "189158"
}Paste your full key once — cached in this browser for 7 days, then cleared.
const res = await fetch("https://api.logposervices.com/api/v1/travel/tripadvisor/extract-geo-id", {
method: "GET",
headers: {
"X-API-Key": "<YOUR_API_KEY>",
},
});
const data = await res.json();Click Send Request above to try this endpoint.