crehq_purchased_dataset_locations
Retrieve location rows from purchased point-in-time dataset snapshots, filtering by text, city, state, country, or radius. Includes snapshot date and access expiration.
Instructions
Query rows from a dataset snapshot the connected key owner has purchased. This is for buyer-owned point-in-time snapshots, not live CREHQ refresh. The response includes snapshot_as_of, hosted_access_until, artifact basis, and row results. If hosted access expired, it returns an upgrade/update-plan message while acknowledging that the buyer still owns the original file snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional text search across name/address/city/store id. | |
| lat | No | Latitude for radius search. | |
| lng | No | Longitude for radius search. | |
| city | No | Optional city filter. | |
| page | No | Page number for cursor/offset pagination (default 1). | |
| state | No | Optional 2-letter state filter. | |
| radius | No | Radius in miles for lat/lng search, max 250. | |
| country | No | Optional 2-letter country filter. | |
| dataset | No | Purchased dataset slug, e.g. 'pilot-flying-j'. | |
| per_page | No | Results per page (max 200, default 50). | |
| purchase_id | No | Specific CREHQ purchase id from crehq_purchased_datasets_list. |