# Place

> A business on Google Maps: name, category, address, phone, website, rating, opening hours and location. The business's public listing only.

Canonical page: https://okdata.online/docs/objects/place/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | Google's place ID. |
| `name` | string | Business name. |
| `url` | string \| null | The place on Google Maps. |
| `category` | string \| null | The main category, in Google's words. |
| `categories` | string[] \| null | All its categories. |
| `address` | string \| null | Street address. |
| `phone` | string \| null | The business's phone number. |
| `website` | string \| null | The business's website. |
| `rating` | number \| null | Average stars, 1 to 5. |
| `reviews` | integer \| null | Number of reviews. |
| `price_level` | string \| null | "$$" and the like, where Google shows a price level. |
| `latitude` | number \| null | Latitude. |
| `longitude` | number \| null | Longitude. |
| `hours` | object \| null | Opening hours by weekday, as Google prints them. |
| `open_state` | string \| null | Open or closed now, as Google says it at fetch time. |
| `description` | string \| null | Google's short description of the place. |
| `thumbnail_url` | string \| null | Photo. |
| `rank` | integer \| null | Place in the results, from 1. |
| `ext` | object | Platform-specific extras. Only returned with view=full. |

## Endpoints that return a Place

- [Google Maps place search](https://okdata.online/apis/google/maps/places/search/) (`google.maps.places.search`): $0.005 per call · about 20 results per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `name`, `url`, `category`, `address`, `phone`, `website`, `rating`, `reviews`, `rank`
- standard: `categories`, `price_level`, `latitude`, `longitude`, `hours`, `open_state`, `description`, `thumbnail_url`
- full: `ext`
