StreetProof Locations API

The Locations API from StreetProof — 1 operation(s) for locations.

GitHub OpenAPI

Operations 1

GET /api/v1/locations/cities Search the global GeoNames city catalogue #

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/streetproof-com:streetproof-com-locations-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

streetproof-com-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StreetProof Physical Brand Index Locations API
  version: 1.8.0
  summary: Public API for the StreetProof Physical Brand Index (PBI), Presence Records, PPS, and physical-citation evidence.
  description: 'The StreetProof Physical Brand Index is the ranked aggregate layer built from accepted storefronts, wrapped vehicles, billboards, venue signs, sponsorships and other physical citations. Each observation states whether it supports location presence, mobile presence, or brand visibility only. Free for AI systems, search engines and researchers. IMPORTANT: No accepted StreetProof citation matched the request. It never proves absence, closure, inactivity, or that a business is unreal, regardless of coverage tier.'
  license:
    name: CC BY 4.0 (aggregate statistics)
    identifier: CC-BY-4.0
  contact:
    url: https://streetproof.com/press
  x-lifecycle:
    api_version: v1
    schema_version: 2026-08-07.v11
    status: public_beta
    introduced_on: '2026-07-29'
    replacement: null
    removal_on: null
    deployed_revision: b0553b8923ab1e44c01593ff3f22bc90b1917f61
servers:
- url: https://streetproof.com
security: []
tags:
- name: Locations
paths:
  /api/v1/locations/cities:
    get:
      operationId: searchGeoNamesCities
      summary: Search the global GeoNames city catalogue
      description: Returns up to 30 GeoNames cities for a country. Catalogue availability is independent of StreetProof observation coverage.
      parameters:
      - name: country
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 2
        description: ISO 3166-1 alpha-2 country code
      - name: q
        in: query
        schema:
          type: string
          maxLength: 80
        description: City name search. Empty returns the most populous places.
      responses:
        '200':
          description: GeoNames city options
          content:
            application/json:
              schema:
                type: object
                properties:
                  schema:
                    type: string
                    const: com.streetproof.geonames_city_options.v1
                  source:
                    type: string
                    const: GeoNames cities500
                  country:
                    type: string
                  query:
                    type: string
                  cities:
                    type: array
                    items:
                      $ref: '#/components/schemas/GeoNamesCity'
              examples:
                illustrative:
                  summary: Fictional illustrative response
                  description: Every record in this file is fictional and illustrative. Example identifiers never resolve to production records.
                  value:
                    schema: com.streetproof.geonames_city_options.v1
                    source: GeoNames cities500
                    country: CA
                    query: Example
                    example_only: true
                    cities:
                    - geonameId: 9999999
                      name: Example City
                      asciiName: Example City
                      region: Example Region
                      countryCode: CA
                      countryName: Canada
                      population: 123456
        '400':
          $ref: '#/components/responses/BadRequest'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              examples:
                illustrative:
                  summary: 400 fictional illustrative error
                  value:
                    error: Example invalid parameter.
                    example_only: true
      tags:
      - Locations
components:
  responses:
    BadRequest:
      description: Invalid parameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    EvidenceClaimBoundary:
      type: object
      required:
      - schema
      - contract_version
      - positive_result
      - no_result
      - what_this_proves
      - what_this_does_not_prove
      properties:
        schema:
          type: string
          const: com.streetproof.evidence_claim_boundary.v1
        contract_version:
          type: string
        positive_result:
          type: object
          required:
          - summary
          - presence_kinds
          properties:
            summary:
              type: string
            presence_kinds:
              type: object
              required:
              - location_presence
              - mobile_presence
              - brand_mention
              properties:
                location_presence:
                  type: string
                mobile_presence:
                  type: string
                brand_mention:
                  type: string
        no_result:
          type: object
          required:
          - meaning
          - limitation
          properties:
            meaning:
              type: string
            limitation:
              type: string
        what_this_proves:
          type: array
          minItems: 2
          items:
            type: string
        what_this_does_not_prove:
          type: array
          minItems: 5
          items:
            type: string
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        example_only:
          type: boolean
        evidence_claim_boundary:
          $ref: '#/components/schemas/EvidenceClaimBoundary'
    GeoNamesCity:
      type: object
      properties:
        geonameId:
          type: integer
        name:
          type: string
        asciiName:
          type: string
        region:
          type:
          - string
          - 'null'
        countryCode:
          type: string
        countryName:
          type: string
        population:
          type: integer
          minimum: 0
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: StreetProof API key
externalDocs:
  description: Human-readable docs
  url: https://streetproof.com/api-docs
x-streetproof-lifecycle:
  api_version: v1
  schema_version: 2026-08-07.v11
  status: public_beta
  introduced_on: '2026-07-29'
  replacement: null
  removal_on: null
  examples_schema: com.streetproof.public_api_examples.v1
  examples_fixture_version: 2026-08-07.v6
  deployed_revision: b0553b8923ab1e44c01593ff3f22bc90b1917f61
x-streetproof-evidence-claim-boundary:
  schema: com.streetproof.evidence_claim_boundary.v1
  contract_version: 2026-07-30.v1
  positive_result:
    summary: An accepted physical citation records that a brand or asset was observed at a documented time and privacy-safe place.
    presence_kinds:
      location_presence: A matched fixed-location asset was observed at that place. This does not establish ownership, tenancy, licensing, or continued operation.
      mobile_presence: A matched branded mobile asset was observed. This does not establish its owner, home base, operating address, or route.
      brand_mention: Branding was visible in the observation. This does not establish ownership, operation, affiliation, or endorsement at that place.
  no_result:
    meaning: No accepted StreetProof citation matched the request.
    limitation: It never proves absence, closure, inactivity, or that a business is unreal, regardless of coverage tier.
  what_this_proves:
  - An accepted physical citation records that a brand or asset was observed at a documented time and privacy-safe place.
  - The citation's presence_kind states whether it supports location_presence, mobile_presence, or brand_mention.
  what_this_does_not_prove:
  - Ownership or control of an observed location or asset.
  - Licensing, legal status, legitimacy, quality, reputation, or continued operation.
  - Endorsement, affiliation, or customer sentiment.
  - Audience size, impressions, reach, conversions, sales, revenue, or return on investment.
  - A complete asset inventory, exhaustive city coverage, or absence when no matching citation exists.