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

# Location

> Use location attributes in the Breakcold API.

## Attribute type

`location`

## Use it for

Addresses and geographic information.

## Request value

Send an object with address fields such as `{ "address", "city", "state", "country", "postalCode" }`.

```json theme={null}
{
  "fields": {
    "location": {
      "address": "10 Downing Street",
      "city": "London",
      "country": "United Kingdom",
      "postalCode": "SW1A 2AA"
    }
  }
}
```

## Returned shape

Returns address fields and may also include `{ "latitude", "longitude" }`.

## Example response

```json theme={null}
{
  "fields": {
    "location": {
      "address": "10 Downing Street",
      "city": "London",
      "country": "United Kingdom",
      "postalCode": "SW1A 2AA",
      "latitude": 51.5034,
      "longitude": -0.1276
    }
  }
}
```
