> For the complete documentation index, see [llms.txt](https://docs.craft.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.craft.co/company-data-api/data-points/operating-data/untitled.md).

# Locations

### Fields

| Field     | Type    | Description                              |
| --------- | ------- | ---------------------------------------- |
| address   | String  | Location address                         |
| city      | String  | Location city                            |
| country   | String  | Location country                         |
| hq        | Boolean | If the location is a headquarters or not |
| id        | Int     | Internal location ID                     |
| latitude  | Float   | Latitude coordinate of the location      |
| longitude | Float   | Longitude coordinate of the location     |
| state     | String  | State (if applicable)                    |
| zipCode   | String  | Zip Code (if applicable)                 |

### Arguments

`hq` – Filter by HQ locations only. Boolean value

### Query example

```graphql
# query locations count & only HQ locations
query findCompanyByDomain($domain: String!) {
    company(domain: $domain) {
        locationsCount
        
        locations(hq: true) {
            address
            city
            country
            hq
            id
            latitude
            longitude
            state
            zipCode
        }
    }
}

# variables
{ "domain": "meta.com" }
```
