LocationLists API

LocationLists API as documented publicly: 2 operations. Contract generated from the documentation by API Evangelist (2026-11-17); not the provider's own document.

GitHub OpenAPI

Operations 2

POST /api/x402/query How to use this site programmatically #
POST /mcp How to use this site programmatically #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/locationlists-com:locationlists-com-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

locationlists-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: LocationLists API
  version: '2026-11-17'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-17: 2 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; LocationLists has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 2
    pages-with-code: 0
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-17'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://locationlists.com/llms-full.txt
paths:
  /api/x402/query:
    post:
      operationId: post_api_x402_query
      tags:
      - Api
      summary: How to use this site programmatically
      description: Plain‑HTTP paid endpoint. Sends the same JSON body as the `query_locations` tool. An unpaid request returns HTTP 402 with the
        price; retry with a signed payment header to receive the rows.
      x-source: https://locationlists.com/llms-full.txt
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiX402QueryRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiX402QueryResponse'
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: How to use this site programmatically
      description: MCP (Machine‑Connect‑Protocol) endpoint for streaming HTTP calls. Free tools return data directly; paid tools first return
        HTTP 402 with payment terms, then succeed after the client supplies a signed payment.
      x-source: https://locationlists.com/llms-full.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiX402QueryRequest:
      type: object
      properties:
        dataset:
          type: string
          description: Slug of a single dataset to query
        datasets:
          type: array
          description: List of dataset slugs to query together
        category:
          type: string
          description: Category name (e.g. "retail") instead of a specific dataset
        near:
          type: object
          description: Location filter with place or zip and radius_miles
        total:
          type: integer
          description: Maximum number of rows to return across all datasets
        limit:
          type: integer
          description: Maximum rows to return (used in examples)
        state:
          type: string
          description: State filter (two‑letter code)
        city:
          type: string
          description: City filter
        where:
          type: array
          description: Column filter objects, e.g. [{"field":"revenue_amt","op":"gt","value":2000000}]
    PostApiX402QueryResponse:
      type: object
      properties:
        rows:
          type: array
          description: Matching rows from the requested dataset(s)
        price:
          type: number
          description: Cost for the returned rows (when payment is provided)
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON‑RPC version, e.g. "2.0"
        id:
          type: integer
          description: Request identifier
        method:
          type: string
          description: Always "tools/call" for MCP calls
        params:
          type: object
          description: Contains the tool name and its arguments
        params.name:
          type: string
          description: Tool to invoke, e.g. "count_locations" or "query_locations"
        params.arguments:
          type: object
          description: Arguments for the chosen tool (same fields as the tool’s API, such as dataset, state, city, near, total, etc.)
      required:
      - jsonrpc
      - id
      - method
      - params
      - params.name
    PostMcpResponse:
      type: object
      properties:
        result:
          type: object
          description: Tool‑specific response (e.g., count, rows, price, payment instructions)
tags:
- name: Api
- name: Mcp