Skip to main content
POST
Wildfire risk for geometry

Request contract

  • Method and path: POST /apis/v1/wildfirerisk-org/wildfire-risk/wildfire-risk-for-geometry
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/wildfirerisk-org/wildfire-risk/wildfire-risk-for-geometry
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
geometry
object
required

GeoJSON (RFC 7946, WGS84, [lon, lat]) Point, Polygon, MultiPolygon, or a Feature wrapping one. Rings must be closed; altitude is ignored; a FeatureCollection is refused (send one place per call); geometries crossing the antimeridian are refused; at most 500 vertices and 250 km2. Any other member (bbox, Feature properties, id) passes through unread. Invalid input is reported as invalid_input with a JSON pointer and a stable code: missing_type, unsupported_type, feature_collection, missing_coordinates, not_a_position, latitude (with a swapped-order hint), longitude, ring_too_short, ring_not_closed, too_many_vertices, too_large, antimeridian, outside_coverage.

include_boundaries
boolean

Also look up the intersecting county, community and tribal area polygons (three FeatureServer queries). Default true.

layers
string[]

Image service layers to read. Default: burn_probability, risk_to_potential_structures, conditional_risk_to_potential_structures, wildfire_hazard_potential, exposure_type.

Response

Wildfire risk for a GeoJSON geometry (Point, Polygon, MultiPolygon or a Feature wrapping one; WGS84 [lon, lat]). For a Point, the 30 m pixel of each requested USFS image service layer is read (identify); for a polygon, zonal statistics over the rings (computeStatisticsHistograms: pixel count, min, max, mean, median, mode, class fractions). Values are returned both as the service pixel value and scaled to the published quantity with the attribute-table class name. Also returns the county, community and tribal area polygons the geometry intersects with their housing counts and percentile ranks, a location echo, sources and missing[] entries for layers without data. Outside CONUS/Alaska/Hawaii is invalid_input with code outside_coverage.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.