---
title: PlacePrediction type | Wartiva GraphQL API
description: A prediction of a search value specifying a particular place. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/place-prediction.html
updated: 2026-10-07
---

Location · GraphQL type

# `PlacePrediction` type

A prediction of a search value specifying a particular place.

## Fields

| Field Name | Description |
|---|---|
| `description` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The location prediction e.g. "Austin Street, Forest Hills, NY, USA" |
| `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). |

## Used by

- [`PlaceAutocompletePayload`](https://wartiva.com/api-docs/types/place-autocomplete-payload.html) type: A response form the Places API autocomplete search containing a list of predictions that match the search value.

## Example

### Example

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

```

---

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