Returns the full record of one place found by a places search: address parts, coordinates, categories, contact details, opening hours and time zone. Ask for fewer fields when you need less.
What is charged
Charged when the place comes back. An unknown or expired place_id returns 404 not_found and is free.
Units: place_details, place_details_rich. usage.items in the response lists them.
Request
POST https://api.websearch.fast/v1/web/places/details
Planned. Until it ships, calls return 501 api_not_implemented.
Body
Name
Type
Description
place_idrequired
string
At most 128 characters. Starts with pl_.
language
string
BCP 47 language tag. At most 12 characters.
fields
array of string
One of basic, contact, hours, rating, attributes, photos.
Billable unit, for example search_web, content_page, fetch_page, geocode, autocomplete, knowledge.
countrequired
integer
cache
object
Show fields
Name
Type
Description
hitrequired
boolean
The response, or every page in it, came from a stored copy.
data_age_secondsrequired
integer
Age of the oldest part of the response.
fetched_atrequired
integer
Unix seconds when the oldest part was read.
warnings
array of object
Show fields
Name
Type
Description
coderequired
string
For example no_results, content_partial, answer_unavailable, partial, all_failed, reach_reduced.
message
string
param
string
placerequired
object
Show fields
Name
Type
Description
positionrequired
integer
At least 1.
titlerequired
string
originrequired
string
Our neutral label of how the result reached you. New values can appear. One of index, live, open_data.
place_idrequired
string
Our opaque id, pl_... Starts with pl_.
url
string
The place's own website, when known; never a map service page.
domain
string
snippet
string
address
string
locationrequired
object
Show fields
Name
Type
Description
latrequired
number
-90 to 90.
lonrequired
number
-180 to 180.
categories
array of string
rating
number
0 to 5.
rating_count
integer
price_level
integer
1 to 4.
phone
string
website
string
opening_hours
object
Show fields
Name
Type
Description
open_now
boolean
text
array of string
weekly
array of object
description
string
thumbnail_url
string
distance_m
number
address_components
object
Show fields
Name
Type
Description
house_number
string
street
string
district
string
city
string
region
string
postal_code
string
country
string
country_code
string
timezone
string
IANA time zone.
attributes
object
photos
array of object
Show fields
Name
Type
Description
urlrequired
string
width
integer
height
integer
updated_at
integer
Errors
Status
Codes
400
invalid_request, invalid_url, invalid_schema or invalid_image. Not charged.
401
invalid_token. Not charged.
403
pre_consume_token_quota_failed (the key's own spending limit), access_denied, web_not_allowed or model_not_in_plan (customer keys while plans cannot include the web tools). Not charged.
404
not_found or invalid_endpoint. Not charged.
413
read_request_body_failed: the request body is over the limit. Not charged.
429
rate_limited, concurrency_limited, api_key_temporarily_frozen, or the failure guard. Not charged.
500
internal_error. Not charged.
501
api_not_implemented: the endpoint, type or option has not shipped. Not charged.
503
source_unavailable, web_api_disabled, token_cache_busy or billing_busy (the charge could not be prepared in time; retry after Retry-After). Not charged.