WritersLogic Verifiable AI Agent Hub Property Risk API

The Property Risk API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for property risk.

GitHub OpenAPI

Operations 1

POST /api/v1/property-risk Property Hazard & Site Risk Report #

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/writerslogic-com:writerslogic-com-property-risk-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

writerslogic-com-property-risk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WritersLogic Verifiable AI Agent Hub Property Risk API
  version: 2.0.0
  description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
  contact:
    name: WritersLogic
    url: https://writerslogic.com/agents
    email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Property Risk
paths:
  /api/v1/property-risk:
    post:
      operationId: property_risk
      summary: Property Hazard & Site Risk Report
      description: 'Before an agent recommends, underwrites or screens a US property, reads free public federal hazard data for a street address or lat/lon: Census geocode, FEMA National Flood Hazard Layer flood zone, SFHA status and base flood elevation, USGS ASCE 7-22 seismic design values, FEMA National Risk Index tract ratings (wildfire, hurricane, tornado and more), OpenFEMA county disaster declarations for 10 years, and EPA Superfund NPL, brownfield and Toxics Release Inventory sites nearby. A fixed rule table turns them into GO, CAUTION or NO_GO with every factor''s raw value, points, source URL and fetch time; an optional intended use (residential, commercial, industrial, development) reweights it. Abstains with INSUFFICIENT_DATA when a layer fails and the rest looks clear, and reports which layers failed. No LLM. NOT covered, and never inferred: zoning, setbacks, permitted use, building permits, assessor and parcel records (no national API), parcel-level elevation, soil or contamination assessment. Screening only; not a flood determination, appraisal or advice.


        Price: 0.10 USDC on Base (x402).'
      x-x402-price-usdc: '0.10'
      x-x402-amount: '100000'
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.10'
      x-audience: business
      x-sample-url: https://agents.writerslogic.com/api/v1/samples/property-risk
      security:
      - x402: []
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                address:
                  type: string
                  minLength: 5
                  maxLength: 200
                  description: US street address with city and state or ZIP, e.g. 1111 Lincoln Rd, Miami Beach, FL 33139. Give this or lat with lon.
                lat:
                  type: number
                  minimum: -90
                  maximum: 90
                  description: Latitude in WGS84 degrees; give with lon instead of address.
                lon:
                  type: number
                  minimum: -180
                  maximum: 180
                  description: Longitude in WGS84 degrees; give with lat.
                intended_use:
                  type: string
                  enum:
                  - residential
                  - commercial
                  - industrial
                  - development
                  description: 'Optional. Reweights the score: residential counts environmental proximity 1.5x, industrial 0.5x, development counts flood and seismic 1.5x.'
            example:
              address: 1111 Lincoln Rd, Miami Beach, FL 33139
              intended_use: residential
      responses:
        '200':
          description: Paid result with provenance
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    required:
                    - verdict
                    - score
                    - thresholds
                    - reasons
                    - hard_stops
                    - summary
                    - next_step
                    - location
                    - factors
                    - layers
                    - failed_layers
                    - partial
                    - details
                    - not_checked
                    - llm
                    - disclaimer
                    properties:
                      verdict:
                        type: string
                        enum:
                        - GO
                        - CAUTION
                        - NO_GO
                        - INSUFFICIENT_DATA
                        description: 'Rule-based site-risk screen. NO_GO: a hard stop (FEMA coastal V zone) or weighted score at or above no_go_at. CAUTION: score at or above caution_at. GO: below caution_at with every layer answered. INSUFFICIENT_DATA: a layer failed and the available data did not already reach CAUTION.'
                      score:
                        type: number
                        description: Sum of weighted factor points; lower is safer.
                      thresholds:
                        type: object
                        properties:
                          caution_at:
                            type: number
                          no_go_at:
                            type: number
                      reasons:
                        type: array
                        items:
                          type: string
                      hard_stops:
                        type: array
                        items:
                          type: string
                      summary:
                        type: string
                      next_step:
                        type: string
                      intended_use:
                        anyOf:
                        - type: string
                        - type: 'null'
                      weights:
                        type: object
                        description: Category multipliers applied to factor points.
                      location:
                        type: object
                        properties:
                          matched_address:
                            anyOf:
                            - type: string
                            - type: 'null'
                          lat:
                            type: number
                          lon:
                            type: number
                          state_fips:
                            type: string
                          county_fips:
                            type: string
                          county_name:
                            anyOf:
                            - type: string
                            - type: 'null'
                          state_name:
                            anyOf:
                            - type: string
                            - type: 'null'
                          tract_fips:
                            type: string
                          input_mode:
                            type: string
                            enum:
                            - address
                            - coordinates
                      factors:
                        type: array
                        description: Every contributing factor with raw value, points, weight, basis, source URL and fetch time.
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            category:
                              type: string
                              enum:
                              - flood
                              - seismic
                              - hazard_index
                              - environmental
                              - disaster_history
                            label:
                              type: string
                            raw_value: {}
                            points:
                              type: number
                            weight:
                              type: number
                            weighted_points:
                              type: number
                            hard_stop:
                              type: boolean
                            basis:
                              type: string
                            source:
                              type: string
                            source_url:
                              type: string
                            fetched_at:
                              type: string
                      layers:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            status:
                              type: string
                              enum:
                              - ok
                              - failed
                            source:
                              type: string
                            source_url:
                              type: string
                            fetched_at:
                              type: string
                            error:
                              type: string
                      failed_layers:
                        type: array
                        items:
                          type: string
                      partial:
                        type: boolean
                      notes:
                        type: array
                        items:
                          type: string
                      details:
                        type: object
                        description: 'Parsed per-layer results: flood (zone, SFHA, base flood elevation), seismic, national_risk_index, disaster_declarations, superfund_npl, brownfields, toxics_release_inventory. Null where the layer failed.'
                      not_checked:
                        type: array
                        description: What this report does not cover, stated plainly.
                        items:
                          type: object
                          properties:
                            item:
                              type: string
                            reason:
                              type: string
                      llm:
                        type: string
                        enum:
                        - not_used
                      disclaimer:
                        type: string
                  _provenance:
                    type: object
                    description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
                required:
                - data
                - _provenance
        '400':
          description: Invalid request (no payment consumed)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '401':
          description: Invalid X-API-KEY
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '402':
          description: Payment required or invalid
          content:
            application/json:
              schema:
                type: object
                description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
                properties:
                  x402Version:
                    type: integer
                  error:
                    type: string
                  code:
                    type: string
                  resource:
                    type: object
                  accepts:
                    type: array
                    items:
                      type: object
                  extensions:
                    type: object
        '502':
          description: Upstream failure; the payment is released or not settled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
      tags:
      - Property Risk
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment payload (base64) sent after a 402 challenge
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY