API reference
Google Places Place Details API
Full place record: contact details, opening hours, price level, rating and business status.
Endpoint
/v1/google_places/placelive · proven6 creditsParameters
Query parameters
Useful optional inputs
dry_run— Read a free estimate before fetching sources or scheduling paid work.Zero credits; cache status and availability are snapshots rather than guarantees.
| Name | Required | Description | Example |
|---|---|---|---|
id | yes | Google place id from a search result. | ChIJl1wfOSCjdUgRhrFnqMsMhQM |
dry_run | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable. | 1 |
Examples
Make the request
curl "https://www.monocrawl.com/v1/google_places/place?id=ChIJl1wfOSCjdUgRhrFnqMsMhQM" \ -H "x-api-key: mn_your_key_here"
TypeScript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
"https://www.monocrawl.com/v1/google_places/place?id=ChIJl1wfOSCjdUgRhrFnqMsMhQM",
{ headers: { "x-api-key": key } },
);
const body = await res.json();
if (!body.success) {
// one error shape for every endpoint — see /docs/errors
throw new Error(`${body.error.type}: ${body.error.message}`);
}
console.log(body.data, "credits left:", body.credits_remaining);Python
import os
import requests
res = requests.get(
"https://www.monocrawl.com/v1/google_places/place?id=ChIJl1wfOSCjdUgRhrFnqMsMhQM",
headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
timeout=60,
)
body = res.json()
if not body["success"]:
# one error shape for every endpoint — see /docs/errors
raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")
print(body["data"], "credits left:", body["credits_remaining"])Response
Response fields and example
This example is illustrative, not a captured live response. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.
{
"success": true,
"platform": "google_places",
"endpoint": "/v1/google_places/place",
"data": {
"additional_categories": [
"example"
],
"address": "example",
"attributes": {
"available_attributes": {
"accessibility": [
"example"
],
"atmosphere": [
"example"
],
"dining_options": [
"example"
],
"highlights": [
"example"
],
"offerings": [
"example"
],
"payments": [
"example"
],
"pets": [
"example"
],
"popular_for": [
"example"
],
"service_options": [
"example"
]
},
"unavailable_attributes": {
"service_options": [
"example"
]
}
},
"category": "example",
"cid": "example",
"description": "example",
"id": "example",
"is_claimed": false,
"lat": 0,
"lng": 0,
"logo": "example",
"main_image": "https://example.com/example",
"name": "example",
"open_now": false,
"opening_hours": [
"example"
],
"phone": "example",
"price_level": 0,
"primary_type": "example",
"rating": 0,
"rating_count": 0,
"types": [
"example"
],
"url": "https://example.com/example",
"website": "example"
},
"credits_used": 6,
"credits_remaining": 99,
"request_id": "req_…",
"cached": false
}The example is illustrative and shows a documented subset of data. The fields below are optional across supported sources; nullable fields can also be absent. Preserve unknown values and accept additional fields.
Schema basis: observed response shapes, not an exhaustive field specification. See schema coverage and validation limits.
Download the data JSON Schema. Validate response.data, not the whole envelope. A valid shape does not establish that every field or source record was returned.
| Field inside data | Type | Meaning |
|---|---|---|
additional_categories | array | null | Optional additional categories supplied by this operation. Null means unknown. |
address | string | null | Optional address supplied by this operation. Null means unknown. |
attributes | object | null | Optional attributes supplied by this operation. Null means unknown. |
attributes.available_attributes | object | null | Optional available attributes supplied by this operation. Null means unknown. |
attributes.available_attributes.accessibility | array | null | Optional accessibility supplied by this operation. Null means unknown. |
attributes.available_attributes.atmosphere | array | null | Optional atmosphere supplied by this operation. Null means unknown. |
attributes.available_attributes.dining_options | array | null | Optional dining options supplied by this operation. Null means unknown. |
attributes.available_attributes.highlights | array | null | Optional highlights supplied by this operation. Null means unknown. |
attributes.available_attributes.offerings | array | null | Optional offerings supplied by this operation. Null means unknown. |
attributes.available_attributes.payments | array | null | Optional payments supplied by this operation. Null means unknown. |
attributes.available_attributes.pets | array | null | Optional pets supplied by this operation. Null means unknown. |
attributes.available_attributes.popular_for | array | null | Optional popular for supplied by this operation. Null means unknown. |
attributes.available_attributes.service_options | array | null | Optional service options supplied by this operation. Null means unknown. |
attributes.unavailable_attributes | object | null | Optional unavailable attributes supplied by this operation. Null means unknown. |
attributes.unavailable_attributes.service_options | array | null | Optional service options supplied by this operation. Null means unknown. |
category | string | null | Optional category supplied by this operation. Null means unknown. |
cid | string | null | Optional cid supplied by this operation. Null means unknown. |
description | string | null | Source description; null or absent means not supplied. |
id | string | null | Source identifier. Preserve the supplied type and exact value. |
is_claimed | boolean | null | Optional is claimed supplied by this operation. Null means unknown. |
lat | number | null | Optional lat supplied by this operation. Null means unknown. |
lng | number | null | Optional lng supplied by this operation. Null means unknown. |
logo | string | null | Optional logo supplied by this operation. Null means unknown. |
main_image | string | null | Optional main image supplied by this operation. Null means unknown. |
name | string | null | Optional name supplied by this operation. Null means unknown. |
open_now | boolean | null | Optional open now supplied by this operation. Null means unknown. |
opening_hours | array | null | Optional opening hours supplied by this operation. Null means unknown. |
phone | string | null | Optional phone supplied by this operation. Null means unknown. |
price_level | number | null | Optional price level supplied by this operation. Null means unknown. |
primary_type | string | null | Optional primary type supplied by this operation. Null means unknown. |
rating | number | null | Source rating; read its accompanying scale and vote count. |
rating_count | number | null | Optional rating count supplied by this operation. Null means unknown. |
types | array | null | Optional types supplied by this operation. Null means unknown. |
url | string | null | Original source URL when supplied. |
website | string | null | Optional website supplied by this operation. Null means unknown. |
Optional fields reviewed from preserved successful responses. Additive fields and source variations remain allowed; validate the fields your workflow requires.
The example is invented and illustrates types only; zero and empty values are not claims about a real result.
Failures use the typed error envelope. A confirmed uncharged or refunded failure reports zero; a pending reconciliation can report an unknown charge. Read credits_used and error.details.billing_status, and keep request_id for recovery. Response contract · Error reference