Skip to content
APIAPI reference

Run

What the one route of the API takes and answers, field by field.

Run an operation

POSThttps://api.lobstr.io/v2/run

Run one operation: one page of a list, or one item.

Parameters
Idempotency-Keystringheader
Retry safely: the same key never runs or bills twice.
Body
sourcestringrequired
operationstringrequired
optionsgoogle_maps.places.get.Options
timeout_sinteger
fieldsstring[]
The record fields to keep, by path; object, id and position always come. Left out: every field.
Answer 200
objectstringrequired
idstringrequired
created_atstring
livemodeboolean
sourcestringrequired
operationstringrequired
versionstringrequired
schema_urlstring
optionsobject
statusstringrequired
countintegerrequired
has_morebooleanrequired
nextgoogle_maps.places.get.Request | nullrequired
The whole call for the following page: send it as it is.
costobjectrequired
balanceobject
duration_msinteger
request_idstringrequired
resultsgoogle_maps.places.get.Record[]required

Anything 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"
    }
  }'