Skip to content

Discover by Google Place ID

Pricing Tier Licence Type

Discover by Google Place ID API allows the user to perform the discovery of matching POIs that are not currently returned by Search by Google Place ID API.

Request

Endpoint

POST /v4/ondemand/account/{account_id}/poi/discover/google/{google_place_id}

Path Parameters

Name                             Description Type Examples
*{account_id} Provided identifier of the account. string
*{google_place_id} Identifier of a POI on Google platform.
Google Place ID can be retrieved here searching a POI by name.
string ChIJ0SxLAfhTKhMRzushPx_GJOM

Header Parameters

Name                          Description Type Examples                         
*x-api-key Provided API key {x_api_key} that allows authentication. string
*Authorization Provided token {jwt_bearer} that allows authorization. string Bearer {jwt_bearer}
Example
curl -X POST 'https://api.datappeal.io/v4/ondemand/account/{account_id}/poi/discover/google/ChIJ0SxLAfhTKhMRzushPx_GJOM' \
-H 'x-api-key: {x_api_key}' \
-H 'Authorization: Bearer {jwt_bearer}' \

Response

Status

Status Description
202 Discover by Google Place ID request has been accepted and will be processed.
406 Discover by Google Place ID request has been rejected and will not be processed, since Search by Google Place ID API is already returning results for the given input.