---
updatedAt: 2025-06-04T20:42:24.000Z
agentTools:
  projectIndex: https://docs.tomorrow.io/llms.txt
---

# List Locations

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "tomorrowio-api",
    "version": "4.0.1"
  },
  "servers": [
    {
      "url": "https://api.tomorrow.io/v4"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "apikey"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/locations": {
      "get": {
        "summary": "List Locations",
        "description": "",
        "operationId": "get-locations",
        "parameters": [
          {
            "name": "Accept-Encoding",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "gzip, deflate"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"locations\": [{\n            \"id\": \"5e82fb82b66492001218aaf3\",\n            \"name\": \"Tomorrow.io Headquarters\",\n            \"geometry\": {\n                \"type\": \"Point\",\n                \"coordinates\": [42.355440, -71.059910]\n            }\n        }]\n    },\n    \"links\": {}\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "locations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "5e82fb82b66492001218aaf3"
                              },
                              "name": {
                                "type": "string",
                                "example": "Tomorrow.io Headquarters"
                              },
                              "geometry": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "example": "Point"
                                  },
                                  "coordinates": {
                                    "type": "array",
                                    "items": {
                                      "type": "number",
                                      "example": 42.35544,
                                      "default": 0
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "links": {
                      "type": "object",
                      "properties": {}
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```