> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_X

Returns the longitude (X coordinate) of a point Geography. Returns `NULL` for non-point geographies and empty points.

## Signatures

```sql theme={"system"}
ST_X(A: Geography)
```

## Parameters

<ParamField body="A" type="Geography" required>The input point Geography.</ParamField>

## Return type

<ResponseField type="Double">The longitude, or `NULL`.</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_X(ST_GeogFromWKT('POINT (-73.9857 40.7484)'))
```

```text theme={"system"}
-73.9857
```
