Loppee Location Proofs API

The Location Proofs API from Loppee — 2 operation(s) for location proofs.

GitHub OpenAPI

Operations 2

POST /v1/location-proofs Create a private anonymous browser location proof #
DELETE /v1/location-proofs/{location_proof_id} Clear an anonymous browser location proof #

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/loppee-com:loppee-com-location-proofs-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

loppee-com-location-proofs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Loppee Business Registry API for External Agents Location…
  version: '3.0'
  summary: Business registry and scoped workflow access for customer- and administrator-operated external agents.
  description: 'Customers and administrators supply and operate their external agents. Loppee provides scoped API/MCP access and keys only; it does not provide, host, or operate an agent or AI service. Under v3, this access is available at no charge for now. Loppee v3 exposes explicit Verified and Listed business classes. Category recommendations may also contain a reviewed_registry section within the three-mile Free reach and an exclusive fallback_registry section containing at most one unclaimed record; owner-submitted and claimed-but-unpublished Registry records are never fallback results. Exact/genuine-prefix name recommendations preserve direct-entity relevance and may contain confirmed-reviewer Registry rows without radius entitlement or unrated fallback. Registry businesses retain their explicit claim_status and disclosure and are not currently published as Verified or Listed. Confirmed reviewer ratings influence quality only within the applicable class or Registry pool. Local category discovery and recommendations require a current precise location proof or handoff, a user-confirmed validated destination authority, or a saved_exact Home location. City/state, ZIP, and saved_coarse locations are neutral area context for business-name disambiguation only: they return no local category or recommendation results, cannot activate Sponsored placement, and record no impressions. A connected assistant''s current location comes only from the registered Loppee iPhone; provider IP, caller-supplied coordinates, host metadata, and computer/browser location are rejected as current-location authority. Exact and genuine-prefix business-name lookup remains universal; without precise location it is commercially neutral.'
servers:
- url: https://loppee.com
  description: Production
tags:
- name: Location Proofs
paths:
  /v1/location-proofs:
    post:
      operationId: createAnonymousBrowserLocationProof
      summary: Create a private anonymous browser location proof
      description: Browser-only first-party UX route; not an external-agent or native-app API. After a visible user gesture and browser permission, accepts one fresh device-location reading from a same-origin Loppee fetch whose point is plausibly near the server-resolved client-IP city. Returns only an opaque short-lived proof id and binds it to a Secure HttpOnly SameSite=Strict cookie. Coordinates are encrypted and never returned or placed in a search URL. This is abuse-resistant consented location input, not device or coordinate attestation.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnonymousLocationProofRequest'
      responses:
        '201':
          description: Anonymous browser location proof created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnonymousLocationProofResponse'
        '400':
          description: The reading is stale, unsupported, or insufficiently accurate.
        '403':
          description: The request is not a same-origin browser flow, has credentials, has no trustworthy coarse-IP result, or is implausibly far from that result.
        '429':
          description: Too many anonymous location-proof requests.
      tags:
      - Location Proofs
  /v1/location-proofs/{location_proof_id}:
    delete:
      operationId: revokeAnonymousBrowserLocationProof
      summary: Clear an anonymous browser location proof
      description: Browser-only first-party UX route; not an external-agent or native-app API. Revokes and cryptographically scrubs the cookie-bound proof. A copied id without the original browser cookie is unusable. Coordinates are never returned.
      security: []
      parameters:
      - name: location_proof_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Proof revoked or already terminal.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnonymousLocationProofRevocationResponse'
        '404':
          description: Unknown, stolen, expired, or unavailable proof.
      tags:
      - Location Proofs
components:
  schemas:
    AnonymousLocationProofRequest:
      type: object
      additionalProperties: false
      required:
      - latitude
      - longitude
      - accuracy_meters
      - captured_at
      properties:
        latitude:
          type: number
          minimum: -90
          maximum: 90
        longitude:
          type: number
          minimum: -180
          maximum: 180
        accuracy_meters:
          type: number
          exclusiveMinimum: 0
          maximum: 500
        captured_at:
          type: string
          format: date-time
    AnonymousLocationProofResponse:
      type: object
      additionalProperties: false
      required:
      - location_proof_id
      - status
      - usable_until
      - uses_remaining
      - coordinates_returned
      properties:
        location_proof_id:
          type: string
          format: uuid
        status:
          const: ready
        usable_until:
          type: string
          format: date-time
        uses_remaining:
          type: integer
          minimum: 0
          maximum: 20
        coordinates_returned:
          const: false
    AnonymousLocationProofRevocationResponse:
      type: object
      additionalProperties: false
      required:
      - location_proof_id
      - status
      - revoked
      - coordinates_returned
      properties:
        location_proof_id:
          type: string
          format: uuid
        status:
          enum:
          - revoked
          - expired
          - used_up
        revoked:
          type: boolean
        coordinates_returned:
          const: false
  securitySchemes:
    AgentApiKey:
      type: apiKey
      in: header
      name: X-LOPPEE-API-Key
      description: Scoped agent key. Admin-agent requests are authorized only by the key's explicit allowed_actions; admin-agent keys cannot delete users or agents.
    AgentBearer:
      type: http
      scheme: bearer
      description: Bearer form of a scoped agent key for non-admin agent workflows. Admin routes deliberately require X-LOPPEE-API-Key for agent keys so Authorization remains unambiguous for human Supabase admin sessions.
    SupabaseAdminBearer:
      type: http
      scheme: bearer
      description: Supabase Auth access token with MFA/AAL2 for a user listed in admin_users.
    SupabaseSessionBearer:
      type: http
      scheme: bearer
      description: Signature-verified Supabase Auth access token used only to resolve the session's mutually exclusive customer, owner, or admin role. Role-specific operations still enforce their own account and AAL2 requirements.
    SupabaseCustomerBearer:
      type: http
      scheme: bearer
      description: 'Signature-verified Supabase Auth access token for an active customer account. AAL2 is operation-specific: endpoints that explicitly require step-up reject AAL1; ordinary review MFA follows deployment policy.'
    SupabaseOwnerBearer:
      type: http
      scheme: bearer
      description: Supabase Auth access token with MFA/AAL2 for an active owner account. Customer/admin role overlap is rejected by runtime and database role-exclusivity guards.
    StripeSignature:
      type: apiKey
      in: header
      name: Stripe-Signature
      description: Stripe webhook signature verified against the configured endpoint secret before any mutation.
    OwnerEvidenceScanCallback:
      type: apiKey
      in: header
      name: X-Loppee-Scan-Callback-Token
      description: Single-intent HMAC callback authority supplied only to the private Render Workflow task.
    JobResumeScanCallback:
      type: apiKey
      in: header
      name: X-Loppee-Job-Resume-Scan-Callback-Token
      description: Dedicated single-intent callback authority supplied only to the private job-resume scanner task; it is bound to the immutable scan authority and exact file fingerprint.
    ExternalAgentWebhookHmac:
      type: apiKey
      in: header
      name: X-Webhook-Signature-V2
      description: Lowercase hexadecimal HMAC-SHA256 of '<X-Webhook-Timestamp>.<raw request body>' using the one-time endpoint signing secret. The signing secret authenticates this delivery only and grants no Loppee API authority.
x-loppee-trust-model: v3
x-loppee-sponsored-ordering:
  status: disabled
  model: neutral
  commercial_influence: none
  free_exposure_floor: null
  requires_precise_location_authority: true
  coarse_context_commercial_influence: none
x-loppee-local-discovery-location-policy:
  schema_version: precise-local-discovery.v1
  precise_authorities:
  - current_precise_location
  - validated_destination
  - saved_exact
  coarse_context_sources:
  - city_state
  - zip
  - provider_ip
  - saved_coarse
  - caller_supplied_coordinates
  coarse_context_allowed_uses:
  - area_context
  - name_disambiguation
  coarse_context_local_results: false
  coarse_context_commercial_influence: none
  coarse_context_sponsored_placement: false
  coarse_context_impressions_recorded: false
  connected_assistant_current_handoff_commercial_influence: none
  connected_assistant_current_handoff_sponsored_placement: false
  connected_assistant_current_handoff_exposure_recorded: false
  connected_assistant_current_handoff_recommendation_attribution_recorded: false
  connected_assistant_current_location_source: registered_loppee_iphone_only
  connected_assistant_rejected_current_location_sources:
  - provider_ip
  - caller_supplied_coordinates
  - host_location_metadata
  - computer_or_browser_location
  universal_name_match_types:
  - exact
  - genuine_prefix
  universal_name_without_precise_commercial_influence: none
  universal_name_without_precise_sponsored_placement: false
  destination_result_attribution:
    display_text: Google Maps
    translate: false
    required_for_location_context_sources:
    - destination_location_handoff
    - destination_location_proof
  statement: 'Local category discovery and recommendations require a current precise location proof or handoff, a user-confirmed validated destination authority, or a saved_exact Home location. City/state, ZIP, and saved_coarse locations are neutral area context for business-name disambiguation only: they return no local category or recommendation results, cannot activate Sponsored placement, and record no impressions. A connected assistant''s current location comes only from the registered Loppee iPhone; provider IP, caller-supplied coordinates, host metadata, and computer/browser location are rejected as current-location authority. Exact and genuine-prefix business-name lookup remains universal; without precise location it is commercially neutral.'