Skip to main content
POST
/
api
/
google
/
maps
/
places
/
search
/google/maps/places/search
curl --request POST \
  --url https://api.anysite.io/api/google/maps/places/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "timeout": 300,
  "count": 20,
  "latitude": 0,
  "longitude": 0,
  "zoom": 11
}
'
[
  {
    "feature_id": "<string>",
    "name": "<string>",
    "@type": "@google_place",
    "place_id": "<string>",
    "entity_id": "<string>",
    "cid": "<string>",
    "address": "<string>",
    "neighborhood": "<string>",
    "latitude": 123,
    "longitude": 123,
    "timezone": "<string>",
    "categories": [],
    "primary_category": "<string>",
    "rating": 123,
    "review_count": 123,
    "price_level": "<string>",
    "phone": "<string>",
    "website": "<string>",
    "domain": "<string>",
    "description": "<string>",
    "image": "<string>",
    "menu_url": "<string>",
    "hours": [],
    "attributes": [],
    "plus_code": "<string>",
    "url": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query

Minimum string length: 1
Example:

"starbucks times square new york"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
count
integer
default:20

Max number of results

Required range: x >= 1
latitude
number | null

Latitude to bias results toward; requires longitude

Required range: -90 <= x <= 90
longitude
number | null

Longitude to bias results toward; requires latitude

Required range: -180 <= x <= 180
zoom
number | null

Map zoom level controlling the search radius; requires latitude and longitude

Required range: 1 <= x <= 21

Response

Successful Response

feature_id
string
required
name
string
required
@type
string
default:@google_place
place_id
string | null
entity_id
string | null
cid
string | null
address
string | null
neighborhood
string | null
latitude
number | null
longitude
number | null
timezone
string | null
categories
string[]
primary_category
string | null
rating
number | null
review_count
integer | null
price_level
string | null
phone
string | null
website
string | null
domain
string | null
description
string | null
image
string | null
menu_url
string | null
hours
GooglePlaceHours · object[]
attributes
GooglePlaceAttributeGroup · object[]
plus_code
string | null
url
string | null