POST
/
extract
curl --request POST \
  --url https://gateway.allstream.ai/api/openapi/v1/extract \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "url": "https://www.google.com/maps/place/?q=place_id:ChIJY03cf5lXwokRH7B0eMiTEh0",
  "type": "google-maps",
  "timeout": 25000,
  "params": {
    "hl": "en",
    "gl": "us"
  }
}'
{
  "requestId": "27043ee2-e26e-43c1-a6b8-2648b0bb1ac5",
  "code": 0,
  "errorCode": 200,
  "message": "Success",
  "timestamp": 1732175287036,
  "data": {
    "data": {
      "about": "[]",
      "cid": "16439372504468095453",
      "ctx_city": "Gary",
      "ctx_country": "US",
      "ctx_state": "IN",
      "google_address": "86 North Bridge St, Gary, IN 46404, United States",
      "google_category": [
        "General contractor"
      ],
      "google_city": "Gary",
      "google_claimed": false,
      "google_company_name": "Danny's Construction Co",
      "google_country_name": "United States",
      "google_description": "",
      "google_hours": [],
      "google_image": null,
      "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ--A6kdfCEYgR3QElezFiJOQ",
      "google_menu_and_appointment_urls": [],
      "google_orders_urls": [],
      "google_permanently_closed": false,
      "google_phone": "+1 219-883-8821",
      "google_place_id": "ChIJ--A6kdfCEYgR3QElezFiJOQ",
      "google_price_range": null,
      "google_price_range_dollar_sign": null,
      "google_rating": 5,
      "google_reviews_count": 1,
      "google_reviews_url": "https://search.google.com/local/reviews?placeid=ChIJ--A6kdfCEYgR3QElezFiJOQ&q=Danny's+Construction+Co&authuser=0&hl=en&gl=HK",
      "google_state_abbr": "IN",
      "google_state_name": "Indiana",
      "google_street_address": "86 North Bridge St",
      "google_temporarily_closed": false,
      "google_website": "https://www.dannysconstruction.com/",
      "google_zip_code": "46404",
      "latitude": 41.610614999999996,
      "longitude": -87.37462699999999,
      "optional_popular_times": null,
      "optional_questions_and_answers": null,
      "optional_review_summary": null
    },
    "taskId": "2",
    "status": "completed",
    "params": {
      "url": "https://www.google.com/maps/place/Danny's+Construction+Co/@41.610615,-87.374627,17z/data=!3m1!4b1!4m6!3m5!1s0x8811c2d7913ae0fb:0xe42462317b2501dd!8m2!3d41.610615!4d-87.374627!16s%2Fg%2F1wb8v8_f?hl=en&entry=ttu&g_ep=EgoyMDI0MTAyOS4wIKXMDSoASAFQAw%3D%3D",
      "type": "google-maps",
      "timeout": 25000
    },
    "stacktrace": ""
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
url
string
required

URL

type
string
required

Website type Optional values: amazon/google-maps/google-search/scrape

timeout
number
required

Timeout time default 25000ms

params
object

Parameters to be appended to the url

Response

200 - application/json
Success
requestId
string
required

Unique identifier for the request

code
string
required

Response code indicating the status of the request

timestamp
string
required

ISO 8601 formatted timestamp of when the request was processed

data
object
required

Response data object, structure defined in the referenced schema

errorCode
object

Object containing error code details, if applicable