Loppee Agent Contract API
The Agent Contract API from Loppee — 8 operation(s) for agent contract.
The Agent Contract API from Loppee — 8 operation(s) for agent contract.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/loppee-com:loppee-com-agent-contract-api"
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.
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: 3.2.0
info:
title: Loppee Business Registry API for External Agents Agent…
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: Agent Contract
paths:
/openapi.json:
get:
tags:
- Agent Contract
summary: Get OpenAPI spec
description: Returns this OpenAPI 3.1 document.
responses:
'200':
description: OpenApiDocument
content:
application/json:
schema:
$ref: '#/components/schemas/OpenApiDocument'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getOpenapiJson
x-operation-id-source: derived
/v1/openapi.json:
get:
tags:
- Agent Contract
summary: Get versioned OpenAPI spec
description: Returns this OpenAPI 3.1 document.
responses:
'200':
description: OpenApiDocument
content:
application/json:
schema:
$ref: '#/components/schemas/OpenApiDocument'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1OpenapiJson
x-operation-id-source: derived
/v1/agent-openapi.json:
get:
tags:
- Agent Contract
summary: Get least-authority external-agent OpenAPI spec
description: Returns the provider-neutral OpenAPI 3.1 contract for connected external agents. The contract exposes opaque iPhone location handoff status and business results, never raw device location.
responses:
'200':
description: OpenApiDocument
content:
application/json:
schema:
$ref: '#/components/schemas/OpenApiDocument'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1AgentOpenapiJson
x-operation-id-source: derived
/v1/agent-capabilities.json:
get:
tags:
- Agent Contract
summary: Get agent capabilities
description: Returns endpoints, policy links, tool contract, and schema catalog.
responses:
'200':
description: AgentCapabilities
content:
application/json:
schema:
$ref: '#/components/schemas/AgentCapabilities'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1AgentCapabilitiesJson
x-operation-id-source: derived
/v1/agent-policy.json:
get:
tags:
- Agent Contract
summary: Get agent policy
description: Returns recommendation, action, and blocked-behavior policy.
responses:
'200':
description: AgentPolicy
content:
application/json:
schema:
$ref: '#/components/schemas/AgentPolicy'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1AgentPolicyJson
x-operation-id-source: derived
/v1/agent-integration.json:
get:
tags:
- Agent Contract
summary: Get integration package
description: Returns API, MCP, docs, examples, and rate-limit integration metadata.
responses:
'200':
description: AgentIntegration
content:
application/json:
schema:
$ref: '#/components/schemas/AgentIntegration'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1AgentIntegrationJson
x-operation-id-source: derived
/v1/pricing:
get:
tags:
- Agent Contract
summary: Get published pricing & promotions
description: This field follows the Loppee v3 Verified and Listed contract.
responses:
'200':
description: PricingResponse
content:
application/json:
schema:
$ref: '#/components/schemas/PricingResponse'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1Pricing
x-operation-id-source: derived
/v1/content:
get:
tags:
- Agent Contract
summary: Get published site content
description: Returns only currently published, validation-safe public presentation blocks. Missing or invalid blocks are omitted so clients can use their shipped defaults. Content controls presentation only and never changes trust, verification, ranking, reach, or review weight. Public and cacheable by the service; no key required.
responses:
'200':
description: PublicContentResponse
content:
application/json:
schema:
$ref: '#/components/schemas/PublicContentResponse'
'429':
description: RateLimitError
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
default:
description: ErrorResponse
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1Content
x-operation-id-source: derived
components:
schemas:
PricingPromotion:
type: object
required:
- id
- label
- banner_text
- discount_type
- percent_off
- amount_off_usd
- coupon_code
- applies_to_period
- applies_to_tiers
- starts_at
- ends_at
additionalProperties: false
properties:
id:
type: string
label:
type: string
banner_text:
type: string
discount_type:
enum:
- percent
- fixed
percent_off:
type:
- number
- 'null'
amount_off_usd:
type:
- number
- 'null'
coupon_code:
type:
- string
- 'null'
applies_to_period:
enum:
- all
- monthly
- annual
applies_to_tiers:
type: array
items:
type: string
starts_at:
type:
- string
- 'null'
ends_at:
type:
- string
- 'null'
PricingResponse:
type: object
required:
- generated_at
- source
- revision_id
- published_at
- currency
- billing
- plans
- branch_add_ons
- radius_extension
- promotions
- neutrality
- trust_model_version
additionalProperties: false
properties:
generated_at:
type: string
format: date-time
source:
enum:
- published
- default
revision_id:
type:
- string
- 'null'
published_at:
type:
- string
- 'null'
currency:
const: USD
billing:
type: object
required:
- periods
- annual_paid_months
- annual_rule
additionalProperties: false
properties:
periods:
type: array
items:
enum:
- monthly
- annual
annual_paid_months:
type: number
annual_rule:
type: string
plans:
type: array
items:
$ref: '#/components/schemas/PricingPlan'
branch_add_ons:
type: array
items:
$ref: '#/components/schemas/PricingBranchAddOn'
registry_reach_miles:
type: integer
minimum: 1
maximum: 3
radius_extension:
type: object
required:
- beyond_miles
- max_miles
- per_mile_monthly_usd
additionalProperties: false
properties:
beyond_miles:
type: number
max_miles:
type: number
per_mile_monthly_usd:
type: number
promotions:
type: array
items:
$ref: '#/components/schemas/PricingPromotion'
neutrality:
type: string
trust_model_version:
const: v3
PublicContentResponse:
type: object
required:
- generated_at
- source
- blocks
- trust_model_version
additionalProperties: false
properties:
generated_at:
type: string
format: date-time
source:
enum:
- cms
- fallback
blocks:
type: object
additionalProperties:
type: object
required:
- type
- fields
- version
- published_at
additionalProperties: false
properties:
type:
enum:
- hero
- section
- card_list
- video
- banner
- text
- image
- faq
fields:
type: object
additionalProperties: true
version:
type: integer
minimum: 1
published_at:
type:
- string
- 'null'
format: date-time
trust_model_version:
const: v3
PricingBranchAddOn:
type: object
required:
- radius_max_miles
- monthly_usd
- annual_usd
additionalProperties: false
properties:
radius_max_miles:
type: number
monthly_usd:
type: number
annual_usd:
type: number
RateLimitPolicy:
type: object
minProperties: 1
additionalProperties:
type: object
required:
- window_seconds
- max_requests
- applies_to
additionalProperties: false
properties:
window_seconds:
type: number
max_requests:
type: number
applies_to:
type: array
items:
type: string
RateLimitError:
type: object
properties:
error:
const: rate_limited
message:
type: string
retry_after_seconds:
type: number
required:
- error
- message
- retry_after_seconds
additionalProperties: true
PricingPlan:
type: object
required:
- key
- name
- tagline
- reach_label
- monthly_usd
- annual_usd
- features
- badge
- unlocks_deals
- promo
additionalProperties: false
properties:
key:
enum:
- free
- nearby
- local
- regional
- metro
name:
type: string
tagline:
type: string
reach_label:
type: string
monthly_usd:
type: number
minimum: 0
annual_usd:
type: number
minimum: 0
features:
type: array
items:
type: string
badge:
type: string
unlocks_deals:
type: boolean
promo:
anyOf:
- $ref: '#/components/schemas/PricingPlanPromotion'
- type: 'null'
AgentPolicy:
$schema: https://json-schema.org/draft/2020-12/schema
title: Loppee v3 agent policy
type: object
additionalProperties: true
required:
- schema_version
- trust_model_version
- external_agent_access
- external_agent_webhooks
- verification
- publication
- payment
- local_discovery_location_policy
properties:
schema_version:
const: '3.0'
trust_model_version:
const: v3
external_agent_access:
type: object
external_agent_webhooks:
type: object
verification:
type: object
publication:
type: object
payment:
type: object
local_discovery_location_policy:
type: object
location_handoff_flow:
type: object
AgentCapabilities:
$schema: https://json-schema.org/draft/2020-12/schema
title: Loppee v3 agent capabilities
type: object
additionalProperties: true
required:
- schema_version
- trust_model_version
- registry_name
- external_agent_access
- external_agent_webhooks
- discovery
- agent_rules
- local_discovery_location_policy
properties:
schema_version:
const: '3.0'
trust_model_version:
const: v3
registry_name:
const: Loppee
external_agent_access:
type: object
external_agent_webhooks:
type: object
discovery:
type: object
agent_rules:
type: object
local_discovery_location_policy:
type: object
location_choices:
type: object
agent_phone_location_bridge:
type: object
PricingPlanPromotion:
type: object
required:
- id
- label
- banner_text
- coupon_code
- applies_to_period
- ends_at
- promo_monthly_usd
- promo_annual_usd
additionalProperties: false
properties:
id:
type: string
label:
type: string
banner_text:
type: string
coupon_code:
type:
- string
- 'null'
applies_to_period:
enum:
- all
- monthly
- annual
ends_at:
type:
- string
- 'null'
promo_monthly_usd:
type: number
promo_annual_usd:
type: number
OpenApiDocument:
type: object
required:
- openapi
- info
- servers
- tags
- paths
- components
additionalProperties: true
properties:
openapi:
const: 3.1.0
info:
type: object
required:
- title
- version
- summary
- description
additionalProperties: true
properties:
title:
type: string
version:
type: string
summary:
type: string
description:
type: string
servers:
type: array
items:
type: object
required:
- url
additionalProperties: true
properties:
url:
type: string
description:
type: string
tags:
type: array
items:
type: object
required:
- name
additionalProperties: true
properties:
name:
type: string
paths:
type: object
minProperties: 1
additionalProperties:
type: object
components:
type: object
required:
- securitySchemes
- schemas
additionalProperties: true
properties:
securitySchemes:
type: object
additionalProperties:
type: object
schemas:
type: object
additionalProperties:
type: object
AgentIntegration:
type: object
required:
- schema_version
- registry_name
- external_agent_access
- generated_at
- public_base_url
- package_url
- openapi_url
- openapi_v1_url
- monitoring_url
- developer_docs_url
- mcp_client_example_url
- legal
- trust_doctrine
- exposure_tiers
- mcp
- auth_model
- owner_agent_notifications
- http_api
- trust_card_contract
- commercial_influence
- rate_limits
- operational_rules
additionalProperties: false
properties:
schema_version:
type: string
registry_name:
const: Loppee
external_agent_access:
type: object
generated_at:
type: string
format: date-time
public_base_url:
type: string
package_url:
type: string
openapi_url:
type: string
openapi_v1_url:
type: string
monitoring_url:
type: string
developer_docs_url:
type: string
mcp_client_example_url:
type: string
legal:
type: object
required:
- privacy_policy_url
- terms_of_service_url
additionalProperties: false
properties:
privacy_policy_url:
type: string
terms_of_service_url:
type: string
trust_doctrine:
type: object
required:
- payment
- reviews
- sponsored_placement
additionalProperties: false
properties:
payment:
type: string
reviews:
type: string
sponsored_placement:
type: string
exposure_tiers:
type: object
additionalProperties: true
mcp:
type: object
additionalProperties: true
auth_model:
type: object
additionalProperties:
type: string
owner_agent_notifications:
type: object
additionalProperties: true
http_api:
type: object
additionalProperties: true
trust_card_contract:
type: object
additionalProperties: true
commercial_influence:
type: object
additionalProperties:
type: string
rate_limits:
$ref: '#/components/schemas/RateLimitPolicy'
operational_rules:
type: array
items:
type: string
ErrorResponse:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
details: {}
additionalProperties: false
additionalProperties: 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.'