---
title: "Query Insight at Location"
method: GET
path: "/data/insights/{insight_id:}/query"
tags: ["Insights API"]
---

# Query Insight at Location

`GET /data/insights/{insight_id:}/query`

Execute a query for a given insight and location(s). Some Insights may require you to provide required options. ie., when querying `occupation` for White-Collar Workers, you can filter by opt=`{"data":{"category":[2469]}}`

For examples of `locations`, please see [Location API Documentation](https://idealspot.gitlab.io/developer-docs/#location)

## Path parameters

- `insight_id:` string, required

## Query parameters

- `version` string, required
- `location[]` string, required

## Headers

- `X-RapidAPI-Key` string, required
- `X-RapidAPI-Host` string, required

## Response `200`

---

[API](https://skmtc.net/rapidapi/apis/idealspot-geodata.md) · [All operations](https://skmtc.net/rapidapi/apis/idealspot-geodata/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidapi/idealspot-geodata/versions/4565da375b3f/schema)
