---
title: placeAutocomplete query | Wartiva GraphQL API
description: Suggests places that match partially typed text, such as a street address or business name, using the Google Maps Places service.
url: https://wartiva.com/api-docs/queries/place-autocomplete.html
updated: 2026-10-07
---

Location · GraphQL query

# `placeAutocomplete` query

Suggests places that match partially typed text, such as a street address or business name, using the Google Maps Places service. Pass a suggestion's place id to [placeDetails](https://wartiva.com/api-docs/queries/place-details.html) for its address and coordinates, for example to define a physical [Location](https://wartiva.com/api-docs/types/location.html).

## Response

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

## Arguments

| Name | Description |
|---|---|
| `input` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The search string. |

## Example

### Query

```graphql
query placeAutocomplete($input: String!) {
  placeAutocomplete(input: $input) {
    predictions {
      description
      placeId
    }
  }
}

```

### Variables

```json
{"input": "xyz789"}

```

### Response

```json
{
  "data": {
    "placeAutocomplete": {
      "predictions": [PlacePrediction]
    }
  }
}

```

---

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