Locus Policy API
The policy API from Locus — 4 operation(s) for policy.
Operations 4
POST
/api/locus_ordinance_leads
Local ordinance lead-finder (jurisdiction-locked web-search prompt)
#
The policy API from Locus — 4 operation(s) for policy.
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/locus-report:locus-report-policy-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: Locus Policy API
version: 0.2.0
description: Property-context APIs for agents. Buyers need no Locus or CDP account API key. Run a free coverage preflight, then pay per call for official-record reports, pre-engineering land entitlement and LiDAR drainage briefs, two-horizon USDA soil and site-constraint screens, photo/video media-to-market geolocation, local-change briefs, policy and ordinance context, and environmental records. Every paid result includes source provenance, caveats, and verify-next steps. Install the Locus agent skill with `npx @velinussage/locus-agent-skill add`.
x-locus-catalog-version: 2.1.0
x-locus-access:
accountApiKeyRequired: false
note: Paid routes use x402 or advertised MPP payment credentials. Configured x402 routes offer USDC on Base and Solana; the live 402 accepts array is authoritative. OpenAPI payment metadata does not represent a separate API-key requirement.
x-locus-top-agent-endpoints: https://api.locus.report/.well-known/locus-agent-endpoints.json
x-locus-unified-catalog: https://api.locus.report/.well-known/locus-tools.json
x-locus-call-conventions:
free:
endpoint: POST /tools/call
bodyStyle: wrapped
shape: '{"name": "<tool>", "arguments": { ... }}'
note: 'The free /tools/call endpoint requires a WRAPPED body: {"name": "<tool>", "arguments": { ... }}. Tool inputs go inside `arguments`, NOT at the top level. Paid /api/<slug> routes are the opposite (flat body).'
paid:
endpoint: POST /api/<slug>
bodyStyle: flat-json
shape: '{ ...fields at top level }'
note: 'Paid Locus tools take a FLAT JSON body (fields at the top level, e.g. {"address": "..."}). Do NOT wrap the body in {name, arguments} - that wrapper is ONLY for the free POST /tools/call endpoint.'
x-locus-categories:
- reports
- parcels
- hazard
- environmental
- economics
- policy
- infrastructure
- safety
- marketing
x-skill-url: https://api.locus.report/.well-known/skill.md
x-api-catalog: https://api.locus.report/.well-known/api-catalog
x-api-catalog-type: application/linkset+json
x-guidance: 'TWO CALLING CONVENTIONS (do not mix them): free tools are called at POST /tools/call with a WRAPPED body {"name": "<tool>", "arguments": {...}} (inputs inside `arguments`); paid tools are called at POST /api/<slug> with a FLAT body (inputs at the top level). Sending a flat body to /tools/call, or a wrapped body to a paid route, is the most common 400. Start with the current bundle-first agent choices at https://api.locus.report/.well-known/locus-agent-endpoints.json. The unified free+paid catalog is https://api.locus.report/.well-known/locus-tools.json; the full paid index remains https://api.locus.report/.well-known/ai-tool/index.json. Free catalog scaling knobs: https://api.locus.report/tools/list?compact=1 omits input schemas for small-context discovery, and https://api.locus.report/tools/list?category=environmental filters by category. No buyer account API key is required. Workflow: (1) Call free POST /tools/call with locus_coverage_check (or locus_lane_availability) for the address — the coverage check now SPLITS status by family (civicLaneStatus / parcelStatus / nationalEndpointStatus) and returns an `alwaysAvailable` list of national tools that fire for ANY US address, so a weak civic lane never means ''skip Locus''. New: locus_suggest_workflow (place+intent) returns a ranked endpoint plan. (2) Highest-value paid call: locus-local-policy-brief ($0.07, place+intent) — cited state bills + local ordinances affecting a place, the hardest analysis to self-compile from the free lanes (national LegiScan coverage). Confirm relevant-bill density first for free with locus_local_legislation; the paid brief returns a free diagnostic if nothing relevant is found. (3) Other atomic SKUs: locus-local-trend-brief ($0.05, place+intent) for local-change analysis; locus-place-report ($0.05, address or zip) for the full cited public-record artifact — responses can be large and may expose X-Locus-Report-* headers plus GET /api/reports?settlementTx=. Preserve X-Locus-Report-Id, X-Locus-Report-Url, X-Locus-Report-Artifact-Url, and the settlement proof so the artifact can be retrieved if a client truncates or drops the response body. Supported requests are generated synchronously and can take tens of seconds. (4) Use locus-before-you-sign ($0.07, address+intent) only when one settle is worth the convenience bundle, or locus-entitlement-brief ($0.19, address or point) for a pre-engineering land entitlement, zoning, soil-horizon, and LiDAR D8 drainage/earthwork dossier (JSON + SVG + printable HTML). (5) Use locus-environmental-context ($0.05, address, latitude+longitude, or state+county; heavier call: allow 60-90s) for EPA environmental public-record context and address-level TRI/RCRA proximity, not as a substitute for free locus_environmental_history preflight. For raw land or site work, run free locus_site_constraints, locus_entitlement_activity, and locus_lidar_drainage_profile first. Do not use Locus for tenant screening, lending, insurance, employment, appraisal, policing, or safe/unsafe labels.'
contact:
email: velinus@locus.report
servers:
- url: https://api.locus.report
tags:
- name: Policy
paths:
/api/locus_policy_sources:
post:
operationId: locus_policy_sources
summary: Policy sources
description: 'Official policy sources for a place: state, county, and city legislatures, Legistar, code libraries, resolved legal geographies, live legislative fallback status, and ingested artifact count. Use before a policy brief, or to see which bodies and code libraries govern the place. Source list only: no legal advice, score, or brief. Direct flat-body route for this one free resource; no API key, payment, or catalog wrapper. Return only the cited bounded evidence described here; this route never produces a paid brief or full report.'
tags:
- Policy
security: []
x-locus-access:
exposure: free
charged: false
sideEffect: read
x-locus-category: policy
x-locus-coverage-scope: county
x-locus-call-pattern:
method: POST
path: /api/locus_policy_sources
bodyStyle: flat-json
note: 'Flat JSON body: send this tool''s fields at the top level; do not wrap them in {name, arguments}.'
x-agentcash-keywords:
- local bills
- ordinances
- legislation
- local legislation
- zoning board
- development cases
- property records
- local government records
- US address lookup
- public records
x-agentcash-use-cases:
- see local legislation that affects a property
- check ordinances before buying a home
- see nearby development cases before buying
- check local legislation that affects a property
- find zoning-board cases near an address
- check Policy sources for a property before buying
- look up Policy sources for a US address
- verify Policy sources before I make an offer
- see Policy sources before signing a contract
- compare Policy sources across two properties
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
place:
type: string
minLength: 1
description: Required ZIP, address, city, or county to resolve to state/county/city legal geographies.
liveSearch:
description: Opt in to bounded Gov-Index pointer discovery when enabled by the operator; no ordinance bodies.
type: boolean
required:
- place
responses:
'200':
description: Free cited evidence response.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Invalid request body.
'429':
description: Rate limited.
/api/locus_local_legislation:
post:
operationId: locus_local_legislation
summary: Local legislation (preview)
description: 'Returns one headline bill on zoning, land use, ADU, rentals, tax, landlord-tenant, or eminent domain for an address, cited to LegiScan and Legistar where wired. Use status and one-line consequence before treating it as law. Enacted items lead; others are WATCH. Full text is in the paid brief. Not legal advice or a parcel ruling.
Use this when you need one current headline bill for an address.
Use locus-local-policy-brief instead when you need the full matched set, bill-text provisions, status history and property-class mapping; use locus-local-legislation (same records) when your client can only call paid x402 routes. Direct flat-body route for this one free resource; no API key, payment, or catalog wrapper. Return only the cited bounded evidence described here; this route never produces a paid brief or full report.'
tags:
- Policy
security: []
x-locus-access:
exposure: free
charged: false
sideEffect: read
x-locus-category: policy
x-locus-coverage-scope: local
x-locus-tier: preview
x-locus-call-pattern:
method: POST
path: /api/locus_local_legislation
bodyStyle: flat-json
note: 'Flat JSON body: send this tool''s fields at the top level; do not wrap them in {name, arguments}.'
x-agentcash-keywords:
- local bills
- ordinances
- legislation
- local legislation
- zoning board
- development cases
- property records
- local government records
- US address lookup
- public records
x-agentcash-use-cases:
- see local legislation that affects a property
- check ordinances before buying a home
- see nearby development cases before buying
- check local legislation that affects a property
- find zoning-board cases near an address
- check Local legislation for a property before buying
- look up Local legislation for a US address
- verify Local legislation before I make an offer
- see Local legislation before signing a contract
- compare Local legislation across two properties
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
address:
type: string
minLength: 1
description: Street address or place; resolves the state/locality whose legislation is scanned.
ownerActions:
description: Optional owner-action categories; the one-headline preview is selected from matching items.
type: array
items:
type: string
enum:
- deadline_created
- exemption_changed
- appeal_procedure
- cap_changed
- ballot_measure
- sunset
- fee_or_penalty
- registration_required
- disaster_relief
domains:
description: Optional property-policy domains, including permits, fees, property_tax or zoning_land_use; the one-headline preview is selected from matching items.
type: array
items:
type: string
enum:
- permits
- fees
- property_tax
- zoning_land_use
- housing_supply_adu
- short_term_rental
- landlord_tenant
- hoa_condo
- building_code
- flood_insurance
- utilities_impact_fees
- eminent_domain
- local_preemption
- title_records
- insurance_availability_rate
- hazard_mitigation_resilience
- energy_electrification
- environmental_contamination
- disclosure_transfer
- water_rights_wells
- squatting_adverse_possession
- foreign_ownership_restrictions
- pace_financing
- historic_preservation
- mineral_rights
required:
- address
responses:
'200':
description: Free cited evidence response.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Invalid request body.
'429':
description: Rate limited.
/api/locus_ordinance_leads:
post:
operationId: locus_ordinance_leads
summary: Local ordinance lead-finder (jurisdiction-locked web-search prompt)
description: Resolves a US address to the governing city or unincorporated county, not a same-named place, then returns a jurisdiction-locked search prompt, query pack, and official-source targets. Agent runs the search, or opts in to an operator-enabled pointer-only Gov-Index search. Locus serves no ordinance text. Right jurisdiction when a place resolves; the section is not guaranteed. Not legal advice. Direct flat-body route for this one free resource; no API key, payment, or catalog wrapper. Return only the cited bounded evidence described here; this route never produces a paid brief or full report.
tags:
- Policy
security: []
x-locus-access:
exposure: free
charged: false
sideEffect: read
x-locus-category: parcels
x-locus-coverage-scope: county
x-locus-call-pattern:
method: POST
path: /api/locus_ordinance_leads
bodyStyle: flat-json
note: 'Flat JSON body: send this tool''s fields at the top level; do not wrap them in {name, arguments}.'
x-agentcash-keywords:
- local bills
- ordinances
- legislation
- zoning
- land use
- zoning district
- Chatham-Cary Joint Land Use Plan zoning
- City & County of Broomfield zoning
- City & County of Denver zoning
- City & County of San Francisco zoning
x-agentcash-use-cases:
- see local legislation that affects a property
- check ordinances before buying a home
- check zoning for a property before buying
- look up the zoning district for an address
- see allowed land use before making an offer
- verify listing zoning against the official map
- look up the parcel ID for a US address
- check assessor parcel facts before buying
- verify the parcel behind a listing
- look up the parcel for a US address
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
address:
description: US street address; resolves the governing jurisdiction (city vs unincorporated county) whose local code is targeted.
type: string
minLength: 5
maxLength: 200
place:
description: 'Alternative to address: a place/ZIP to resolve the governing jurisdiction.'
type: string
minLength: 3
maxLength: 120
topics:
description: Optional subset of ordinance topics to focus the query pack (e.g. short_term_rental, accessory_dwelling, setbacks).
type: array
items:
type: string
enum:
- zoning_district
- setbacks
- accessory_dwelling
- permitted_uses
- short_term_rental
- home_occupation
- fences_walls
- signage
- occupancy
- inspection_process
- fee_schedule
- business_license
- outdoor_sales
- sidewalk_cafe
- published_review_timeline
- accessory_structures
- animal_keeping
- noise
- tree_landscape
liveSearch:
description: Opt in to one bounded Gov-Index pointer search when enabled by the operator. The base prompt pack remains unsearched.
type: boolean
responses:
'200':
description: Free cited evidence response.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Invalid request body.
'429':
description: Rate limited.
/api/locus-local-legislation:
post:
operationId: postApiLocusLocalLegislation
summary: Local legislation (preview)
description: Returns one LegiScan or Legistar headline bill for an address, covering zoning, ADU, rental or tax items. Returns the same records as locus_local_legislation. Use this when your client can only call paid x402 routes. Use locus-local-policy-brief instead when you need the full matched set, bill-text provisions, status history and property-class mapping. Not legal advice.
x-locus-paid-adds:
- receipt
- rate_limit
- discovery
x-locus-details: Returns one LegiScan or Legistar headline bill for an address, covering zoning, ADU, rental or tax items. Returns the same records as locus_local_legislation. Use this when your client can only call paid x402 routes. Use locus-local-policy-brief instead when you need the full matched set, bill-text provisions, status history and property-class mapping. Not legal advice.
tags:
- Policy
x-locus-category: policy
x-locus-tier: same-data-paid
x-locus-recommended-timeout-ms: 15000
x-locus-call-pattern:
method: POST
path: /api/locus-local-legislation
bodyStyle: flat-json
note: 'Paid Locus tools take a FLAT JSON body (fields at the top level, e.g. {"address": "..."}). Do NOT wrap the body in {name, arguments} - that wrapper is ONLY for the free POST /tools/call endpoint.'
example:
address: 1 E Edenton St, Raleigh, NC 27601
x-payment-info:
accountApiKeyRequired: false
credentialNote: 'PAYMENT-SIGNATURE and Authorization: Payment are payment credentials, not Locus or CDP account API keys.'
price:
mode: fixed
currency: USD
amount: '0.05'
note: $0.05 per-call x402 USDC toll; read the live challenge for Base and Solana payment options. Charged:false when out of coverage or no data.
protocols:
- x402:
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
scheme: exact
- x402:
network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
asset: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
scheme: exact
recipient: FBVHMG5PTNW6sNd7uhZBsxhWkwJYRpgk34QcTgDpQdwV
facilitatorFeePayer: true
- mpp:
method: tempo
intent: charge
currency: '0x20C000000000000000000000b9537d11c60E8b50'
testnet: false
offers:
- method: x402
intent: exact
amount: '50000'
currency: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
network: eip155:8453
scheme: exact
- method: x402
intent: exact
amount: '50000'
currency: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
recipient: FBVHMG5PTNW6sNd7uhZBsxhWkwJYRpgk34QcTgDpQdwV
scheme: exact
feePayerSource: live facilitator /supported response
- method: tempo
intent: charge
amount: '50000'
currency: '0x20C000000000000000000000b9537d11c60E8b50'
recipient: '0xF121fbeceC43e1B616D47285851c20d5fC64431b'
testnet: false
x-locus-access:
accountApiKeyRequired: false
paymentRequired: true
paymentHeaders:
- PAYMENT-SIGNATURE
- 'Authorization: Payment <credential>'
freeEquivalent: locus_local_legislation
x-agentcash-advisories:
- type: preflight
severity: recommended
title: Check coverage before paying
detail: Call locus_lane_availability first for a free coverage map (which tools are wired for this address; conservative registry metadata, not a live data probe). Unsupported local-context calls return a free charged:false diagnostic before any payment challenge. Supported synchronous report calls and the heavier locus-environmental-context call can take 60-90 seconds; honor X-Locus-Recommended-Timeout-Ms on the 402/200 response instead of a 30s client default. A miss or thin result returns charged:false with settlement suppressed.
action:
tool: locus_lane_availability
url: https://api.locus.report/tools/call
sampleInput:
place: <address>
learnMore: https://api.locus.report/.well-known/skill.md
x-agentcash-keywords:
- local bills
- ordinances
- legislation
- local legislation
- zoning board
- development cases
- property records
- local government records
- US address lookup
- public records
x-agentcash-use-cases:
- see local legislation that affects a property
- check ordinances before buying a home
- see nearby development cases before buying
- check local legislation that affects a property
- find zoning-board cases near an address
- check Local legislation for a property before buying
- look up Local legislation for a US address
- verify Local legislation before I make an offer
- see Local legislation before signing a contract
- compare Local legislation across two properties
x-locus-dual-free-tool: locus_local_legislation
x-locus-dual-free-call:
method: POST
path: /tools/call
bodyStyle: wrapped
shape:
name: locus_local_legislation
arguments: '{ ...tool inputs }'
security:
- x402Payment: []
- mppPayment: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
address:
type: string
minLength: 1
description: Street address or place; resolves the state/locality whose legislation is scanned.
ownerActions:
description: Optional owner-action categories; the one-headline preview is selected from matching items.
type: array
items:
type: string
enum:
- deadline_created
- exemption_changed
- appeal_procedure
- cap_changed
- ballot_measure
- sunset
- fee_or_penalty
- registration_required
- disaster_relief
domains:
description: Optional property-policy domains, including permits, fees, property_tax or zoning_land_use; the one-headline preview is selected from matching items.
type: array
items:
type: string
enum:
- permits
- fees
- property_tax
- zoning_land_use
- housing_supply_adu
- short_term_rental
- landlord_tenant
- hoa_condo
- building_code
- flood_insurance
- utilities_impact_fees
- eminent_domain
- local_preemption
- title_records
- insurance_availability_rate
- hazard_mitigation_resilience
- energy_electrification
- environmental_contamination
- disclosure_transfer
- water_rights_wells
- squatting_adverse_possession
- foreign_ownership_restrictions
- pace_financing
- historic_preservation
- mineral_rights
required:
- address
additionalProperties: false
examples:
supportedCoverage:
summary: Supported-coverage example
value:
address: 1 E Edenton St, Raleigh, NC 27601
responses:
'200':
description: Atomic read result. A substantive result is paid; an empty/out-of-coverage result carries charged:false (x402 settlement suppressed).
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Invalid request body.
'402':
description: 'Payment Required. For x402 v2, repeat the identical request with a valid PAYMENT-SIGNATURE header (legacy X-PAYMENT is accepted for compatibility), or use Authorization: Payment for MPP Tempo when advertised in x-payment-info.offers.'
x-operation-id-source: normalized
x-operation-id-original: locus_local_legislation
components:
securitySchemes:
x402Payment:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment credential returned by the buyer after satisfying the PAYMENT-REQUIRED challenge. This is not a Locus or CDP account API key. Legacy X-PAYMENT remains accepted for compatibility.
mppPayment:
type: apiKey
in: header
name: Authorization
description: 'MPP payment credential, not an account API key. Format: Authorization: Payment <credential>.'
propertyUpdateJobTokenQuery:
type: apiKey
in: query
name: token
description: Private opaque property-update job token embedded in the accepted response's statusUrl.
propertyUpdateJobTokenBearer:
type: http
scheme: bearer
bearerFormat: opaque-property-update-job-token
description: Alternative transport for the same private property-update job token.
surroundingAreaReportProofBearer:
type: http
scheme: bearer
bearerFormat: sar1-report-capability
description: Separate proof for an active settled surrounding-area report. Send only in the Authorization header; never put it in a URL or query string.
externalDocs:
description: Locus bundle-first agent manifest. It links the unified catalog and the detailed paid index for agents that need the full surface.
url: https://api.locus.report/.well-known/locus-agent-endpoints.json