APIAPI reference
Run
What the one route of the API takes and answers, field by field.
Run an operation
POST
https://api.lobstr.io/v2/runRun one operation: one page of a list, or one item.
ParametersIdempotency-KeystringheaderRetry safely: the same key never runs or bills twice.
sourcestringrequiredoperationstringrequiredoptionsgoogle_maps.places.get.Optionstimeout_sintegerfieldsstring[]The record fields to keep, by path;
object, id and position always come. Left out: every field.objectstringrequiredidstringrequiredcreated_atstringlivemodebooleansourcestringrequiredoperationstringrequiredversionstringrequiredschema_urlstringoptionsobjectstatusstringrequiredcountintegerrequiredhas_morebooleanrequirednextgoogle_maps.places.get.Request | nullrequiredThe whole call for the following page: send it as it is.
costobjectrequiredbalanceobjectduration_msintegerrequest_idstringrequiredresultsgoogle_maps.places.get.Record[]requiredAnything else answers an error.
curl -X POST https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "google_maps", "operation": "places/get", "options": { "place": "Le Bouchon des Filles, Lyon" } }'