---
title: placeDetails query | Wartiva GraphQL API
description: Retrieves the address and coordinates of one Google Maps place, identified by a place id such as one returned by placeAutocomplete.
url: https://wartiva.com/api-docs/queries/place-details.html
updated: 2026-10-07
---

Location · GraphQL query

# `placeDetails` query

Retrieves the address and coordinates of one Google Maps place, identified by a place id such as one returned by [placeAutocomplete](https://wartiva.com/api-docs/queries/place-autocomplete.html). Returns a not-found error when Google does not recognize the place id or returns no address for it.

## Response

Returns a [`PlaceDetailsPayload!`](https://wartiva.com/api-docs/types/place-details-payload.html)

## Arguments

| Name | Description |
|---|---|
| `placeId` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Google Maps Places ID e.g. "ChIJt0FbvlFVwokRfJqdYXeXrIQ". See [Google Maps Place IDs](https://developers.google.com/maps/documentation/places/web-service/place-id). |

## Example

### Query

```graphql
query placeDetails($placeId: String!) {
  placeDetails(placeId: $placeId) {
    result {
      id
      formattedAddress
      formattedPhoneNumber
      geometry {
        ...LocationGeometryFragment
      }
      name
    }
  }
}

```

### Variables

```json
{"placeId": "xyz789"}

```

### Response

```json
{
  "data": {
    "placeDetails": {"result": PlaceLocationDetails}
  }
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
