SocialCrawl
Unified schema

Place schema

The unified SocialCrawl place or business schema. Every field, its type, per-platform availability, and a machine-readable JSON Schema, generated from the canonical Zod source.

Place schema

Every SocialCrawl endpoint that returns a place or business gives you this exact shape, whatever the source platform. Write your parser once and the same code reads place data from every platform below. That is the unified schema: one contract instead of a dozen raw upstream formats.

Field reference

FieldTypeNullableDescription
idstringNoPlace ID (Google cid for a business, hotel_identifier for a hotel)
namestringYesBusiness / hotel name
urlstringYesWebsite or canonical URL
categorystringYesPrimary category (e.g. "Coffee shop", "Hotel")
rating.valueintegerYes
rating.maxintegerYes
reviews_countintegerYesNumber of ratings
price_levelstringYesPrice band ("inexpensive" / "$$" / null)
addressstringYes
phonestringYes
latitudeintegerYes
longitudeintegerYes
verifiedbooleanYesClaimed-business flag (Google is_claimed)
descriptionstringYes
image_urlsstring or string[]YesUnion: string | array | null
categoriesstring[]Yes
hotel.starsintegerYes
hotel.stars_descriptionstringYes
hotel.check_in_timestringYes
hotel.check_out_timestringYes
hotel.amenitiesobject[]Yes
hotel.review_topicsobject[]Yes
hotel.pricesobject[]Yes

Platform availability

2 platforms return the Place shape. id are never null on any platform. The fields below vary: yes means the platform populates it (the value may still be null); a blank means the platform never provides it, so it is always null.

Platformaddresscategoriesdescriptionimage_urlslatitudelongitudephoneurlverified
Googleyesyesyesyesyesyesyesyesyes
Tripadvisor

Machine-readable schema

Validate responses programmatically against the JSON Schema (2020-12):

/schemas/place.json

Point a validator (Ajv, jsonschema, or your framework's) at that URL, or hand it to an agent so it can check the shape without a live call.

Returned by

Endpoints with the Place / PlaceList archetype return this shape:

Google · Tripadvisor

See how the same fields map to each platform's raw upstream names in the cross-platform field equivalence table.

Place schema | SocialCrawl