---
title: LocationSearchCoordinatesInput input | Wartiva GraphQL API
description: Input coordinate pair for a geospatial location search. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/location-search-coordinates-input.html
updated: 2026-10-07
---

Location · GraphQL input

# `LocationSearchCoordinatesInput` input

Input coordinate pair for a geospatial location search.

## Fields

| Input Field | Description |
|---|---|
| `longitude` - [`Float!`](https://wartiva.com/api-docs/types/float.html) | Valid longitude values are between -180 and 180, both inclusive. |
| `latitude` - [`Float!`](https://wartiva.com/api-docs/types/float.html) | Valid latitude values are between -90 and 90, both inclusive. |

## Used by

- [`LocationSearchNearInput`](https://wartiva.com/api-docs/types/location-search-near-input.html) input: Input for a LocationSearch of type NEAR_SPHERE.
- [`LocationSearchWithinPolygonInput`](https://wartiva.com/api-docs/types/location-search-within-polygon-input.html) input: Input for a LocationSearch of type WITHIN_POLYGON.

## Example

### Example

```json
{"longitude": 123.45, "latitude": 123.45}

```

---

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