{"uid":"cap_pHUsKllhn7qWPsj79R0Md","slug":"locationlists-query-api-3fb29a22","name":"LocationLists Query API","description":"Business location data for AI agents. Search, sample, count and buy ready-to-use lists of US business locations: 966 datasets compiled from each brand's official store locator or the public register that publishes the data.\n\nFilter by city, state, zip, a radius around any place, or any column in the file. Buy a full CSV by card, or let an agent pay per row or buy the whole file in USDC on Base via x402, with no account or API key. A failed or empty query costs nothing.","url":"https://locationlists.com/api/x402/query","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"},"radius_miles":{"type":"number","maximum":500,"exclusiveMinimum":0},"drive_minutes":{"type":"integer","maximum":60,"minimum":5}},"additionalProperties":false},"limit":{"type":"integer","maximum":1000,"minimum":1},"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"],"type":"string"},"field":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":["string","number"]}}]}},"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"}},"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-09-19T12:33:42.298Z","isFirstParty":false}