{"uid":"cap_pHUsKllhn7qWPsj79R0Md","slug":"locationlists-query-api-3fb29a22","name":"LocationLists Query API","description":"15,190,000+ verified business locations across 945 datasets. Download CSVs with addresses, phone, and GPS coordinates for dealer networks, licensed trade contractors, hardware stores, retail and restaurant chains, breweries, camps, and more. Updated weekly. Instant download.","url":"https://locationlists.com/api/x402/query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"zip":{"type":"string"},"city":{"type":"string"},"near":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"},"zip":{"type":"string"},"place":{"type":"string"},"points":{"type":"array","items":{"type":"object","properties":{"lat":{"$ref":"#/properties/near/properties/lat"},"lng":{"$ref":"#/properties/near/properties/lng"},"zip":{"$ref":"#/properties/near/properties/zip"},"place":{"type":"string"}},"additionalProperties":false},"maxItems":10,"minItems":1},"radius_miles":{"type":"number","maximum":500,"exclusiveMinimum":0}},"additionalProperties":false},"limit":{"type":"integer","maximum":1000,"minimum":1},"metro":{"type":"string"},"shape":{"enum":["hubspot","salesforce"],"type":"string"},"state":{"type":"string"},"total":{"type":"integer","maximum":1000,"minimum":1},"where":{"type":"array","items":{"type":"object","required":["field","op"],"properties":{"op":{"enum":["eq","ne","gt","gte","lt","lte","in","contains","starts_with","is_blank","not_blank","not_contains","not_in","any_of"],"type":"string"},"field":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":["string","number"]}}]},"any_of":{"type":"array","items":{"type":"object","required":["field","op"],"properties":{"op":{"enum":["eq","ne","gt","gte","lt","lte","in","contains","starts_with","is_blank","not_blank","not_contains","not_in","any_of"],"type":"string"},"field":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":["string","number"]}}]}},"additionalProperties":false},"maxItems":12}},"additionalProperties":false},"maxItems":12},"county":{"type":"string"},"offset":{"type":"integer","maximum":10000,"minimum":0},"relate":{"type":"object","additionalProperties":{}},"dataset":{"type":"string"},"exclude":{"type":"array","items":{"type":"string"}},"permits":{"type":"object","properties":{"days":{"type":"integer","maximum":3650,"minimum":1},"type":{"enum":["any","new_construction","commercial","residential","renovation","demolition","electrical","plumbing","mechanical","roofing","solar","sign","pool"],"type":"string"},"metres":{"type":"integer","maximum":200,"minimum":10},"min_usd":{"type":"number","minimum":0}},"additionalProperties":false},"areas_in":{"type":"object","required":["by","ids"],"properties":{"by":{"enum":["county","zip","state","metro"],"type":"string"},"ids":{"type":"array","items":{"type":"string"},"maxItems":200,"minItems":1}},"additionalProperties":false},"category":{"type":"string"},"datasets":{"type":"array","items":{"type":"string"},"maxItems":150,"minItems":1},"order_by":{"type":"object","required":["field"],"properties":{"field":{"type":"string"},"direction":{"enum":["asc","desc"],"type":"string"}},"additionalProperties":false},"area_where":{"type":"array","items":{"type":"string"},"maxItems":6},"area_columns":{"type":"array","items":{"type":"string"},"maxItems":6}}},"responseSchema":{"type":"json","example":{"note":"All matching rows returned.","rows":[{"npi":"1306273446","zip":"99615-6379","city":"Kodiak","name":"\"Gentle Dentistry\" Jennifer Spivey Dds","phone":"9074813567","state":"AK","address":"204 Rezanof Dr E, Suite #201","country":"US","subType":"general dentistry","chainName":"","sourceUrl":"https://npiregistry.cms.hhs.gov/api/","facilityType":"dental practice","certifiedDate":"2013-10-03","npisAtAddress":"1"}],"offset":0,"columns":["name","facilityType","subType","npisAtAddress","npi","address","city","state","zip","country","phone","certifiedDate","chainName","sourceUrl"],"dataset":"US Dental Practices","filters":["state eq TX","city eq Austin"],"matched":1,"returned":1,"blankNote":null,"truncated":false,"excludedBlank":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TTxBy05SGwJGABUY1j2zy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search, filter, count, and retrieve US business location records from 960 brand datasets, with per-row or full-file purchase via USDC on Base (x402) or card.","exampleAgentPrompt":"Pull me up to 50 Walgreens pharmacy locations in the state of Illinois from LocationLists — I want the name, address, city, zip, and phone number for each one.","exampleUseCases":[{"title":"Competitor location mapping for retail analysis","prompt":"Give me a full list of all Trader Joe's grocery store locations in California — I want address, city, zip, and phone number for each one."},{"title":"Healthcare facility prospecting by area","prompt":"Find me dental practices within 30 miles of downtown Nashville, Tennessee — return up to 100 results with their name, address, phone, and facility type."},{"title":"Franchise site scouting by zip code","prompt":"Show me all McDonald's locations in zip code 60601 and the surrounding area, up to 200 results, so I can analyze competitor density for a new restaurant opening."}],"resultDescription":"A JSON object containing matched rows of business location data (name, address, city, state, zip, phone, facility type, chain name, and dataset-specific columns), plus metadata: total matched count, returned count, offset, column list, applied filters, dataset name, and a truncated flag indicating whether more rows exist beyond the limit.","failureModes":["Empty result set (matched=0) if no locations match the filters — costs nothing","Dataset not found if an invalid dataset name is supplied","Radius too large if radius_miles exceeds 500","Too many where clauses if more than 12 filter conditions are provided","Payment failure if USDC balance is insufficient on Base","Invalid field name in where clause or order_by returns an error","Drive-minutes out of range if drive_minutes is below 5 or above 60"],"whenToPreferThis":"Choose this endpoint when you need structured, ready-to-use US business location data from a specific brand or category — especially when you want to filter by geography (city, state, zip, radius, drive time) or custom column values without building a scraper. It excels for retail competitor analysis, healthcare facility lookup, franchise mapping, and local business prospecting. Prefer it over general web search when you need clean, CSV-grade structured records with address and phone data, and when agent-native micropayment via x402/USDC on Base is desirable over API-key account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:31:26.947Z","isFirstParty":false,"canonicalSlug":"locationlists-query-api-3fb29a22"}