Locus Drought API

The drought API from Locus — 2 operation(s) for drought.

GitHub OpenAPI

Operations 2

POST /api/locus_drought_status Drought status and recent history for the county (US Drought Monitor) #
POST /api/locus_drought_history County drought history (US Drought Monitor + NOAA PDSI) #

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/locus-report:locus-report-drought-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

locus-report-drought-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus Drought 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: drought
paths:
  /api/locus_drought_status:
    post:
      operationId: locus_drought_status
      summary: Drought status and recent history for the county (US Drought Monitor)
      description: Weekly US Drought Monitor status for the county of a point, plus recent weeks. Returns D0 Abnormally Dry through D4 Exceptional Drought, with cumulative area percentages and non-overlapping bands (raw columns are cumulative). USDM describes the county, not an address, well, or parcel, and it does not set water restrictions. 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:
      - drought
      security: []
      x-locus-access:
        exposure: free
        charged: false
        sideEffect: read
      x-locus-category: environmental
      x-locus-coverage-scope: county
      x-locus-call-pattern:
        method: POST
        path: /api/locus_drought_status
        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:
      - drinking water
      - water system
      - groundwater
      - EPA records
      - toxic release
      - cleanup site
      - property records
      - local government records
      - US address lookup
      - public records
      x-agentcash-use-cases:
      - check drinking-water records for a property
      - see the water system that serves an address
      - look up groundwater context before buying
      - check EPA records near a property before buying
      - see toxic-release and cleanup sites nearby
      - screen a house for environmental listings
      - check environmental records near a property
      - see nearby EPA sites before buying a home
      - screen a parcel for environmental listings
      - check drought status for a property before buying
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                address:
                  description: Optional US street address or place; NC uses AddressNC first, other areas use the national geocoder fallback when latitude/longitude are not provided.
                  type: string
                  minLength: 5
                  maxLength: 200
                latitude:
                  description: Optional decimal latitude; provide with longitude to skip address geocoding.
                  type: number
                  minimum: -90
                  maximum: 90
                longitude:
                  description: Optional decimal longitude; provide with latitude to skip address geocoding.
                  type: number
                  minimum: -180
                  maximum: 180
                weeks:
                  type: integer
                  minimum: 1
                  maximum: 52
      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_drought_history:
    post:
      operationId: locus_drought_history
      summary: County drought history (US Drought Monitor + NOAA PDSI)
      description: Weekly US Drought Monitor history for a county since 2000, with weeks at each D level, the worst D2-or-worse episodes, and this week's rank among the same calendar week. Adds NOAA county Palmer Drought Severity Index since 1895 for the 48 contiguous states (CONUS); elsewhere, the PDSI component reports not_covered while USDM remains independent. County climate history, not a parcel water supply, well, or restriction finding. 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:
      - drought
      security: []
      x-locus-access:
        exposure: free
        charged: false
        sideEffect: read
      x-locus-category: environmental
      x-locus-coverage-scope: county
      x-locus-call-pattern:
        method: POST
        path: /api/locus_drought_history
        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:
      - drinking water
      - water system
      - groundwater
      - EPA records
      - toxic release
      - cleanup site
      - property records
      - local government records
      - US address lookup
      - public records
      x-agentcash-use-cases:
      - check drinking-water records for a property
      - see the water system that serves an address
      - look up groundwater context before buying
      - check EPA records near a property before buying
      - see toxic-release and cleanup sites nearby
      - screen a house for environmental listings
      - check environmental records near a property
      - see nearby EPA sites before buying a home
      - screen a parcel for environmental listings
      - check County drought history for a property before buying
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                address:
                  description: Optional US street address or place; NC uses AddressNC first, other areas use the national geocoder fallback when latitude/longitude are not provided.
                  type: string
                  minLength: 5
                  maxLength: 200
                latitude:
                  description: Optional decimal latitude; provide with longitude to skip address geocoding.
                  type: number
                  minimum: -90
                  maximum: 90
                longitude:
                  description: Optional decimal longitude; provide with latitude to skip address geocoding.
                  type: number
                  minimum: -180
                  maximum: 180
                countyFips:
                  description: Optional 5-digit county FIPS, e.g. 37037. Skips geocoding when provided.
                  type: string
                  pattern: ^\d{5}$
                years:
                  description: USDM lookback in years, max 26 (since 2000). PDSI stays the full monthly record.
                  type: integer
                  minimum: 1
                  maximum: 26
      responses:
        '200':
          description: Free cited evidence response.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid request body.
        '429':
          description: Rate limited.
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