Query locations (paid)
query_locationsReturn matching rows from one dataset, filtered on exact column values (state, city, county, zip — whichever that dataset has). Priced per row in USDC via x402 and settled only after the rows are produced, so a failed call costs nothing. The rate is derived from the dataset: roughly 2x its list price spread over its record count, so a small slice of a big file is cents. You pay for the limit you request, up to 100 rows. Call without a payment header first to get an exact quote. Datasets under 5,000 records are not sold by the row — buy those files outright.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| city | No | ||
| limit | No | ||
| state | No | Two-letter state code | |
| county | No | ||
| dataset | Yes | Dataset slug, e.g. dental-practice-list |