← Back to panditadata.com

API Documentation

Programmatic access to the same geohazard data engine behind panditadata.com — earthquakes, severe weather alerts, space weather, and the property risk / economic impact engine. This is what the Underwriting Intelligence and Enterprise Data Packages actually deliver: an API key, not a PDF (the PDF report is a separate, already-public product at /disaster_report).

Authentication

Every /api/v1/* request needs your key in an X-API-Key header:

curl -H "X-API-Key: pk_live_yourkeyhere" \
     "https://panditadata.com/api/v1/earthquakes?minmagnitude=4.5"

Don't have a key yet? See Get Access below.

Rate limits

Underwriting Intelligence

1,000 requests / day

Resets at midnight UTC. Enough for continuous portfolio monitoring across a few hundred properties.

Enterprise

20,000 requests / day (negotiable)

Higher/custom limits, dedicated support, white-label report output. Contact us to scope your volume.

Check your own usage anytime:

curl -H "X-API-Key: pk_live_yourkeyhere" "https://panditadata.com/api/v1/usage"

{
  "success": true,
  "tier": "underwriting",
  "daily_limit": 1000,
  "requests_used_today": 42,
  "requests_remaining_today": 958
}

Endpoints

GET/api/v1/earthquakes

Real-time USGS earthquake feed, optionally filtered to a radius around a point. Params: minmagnitude, limit, days (lookback window), lat/lon/radius_km.

curl -H "X-API-Key: pk_live_..." \
  "https://panditadata.com/api/v1/earthquakes?lat=35.68&lon=139.69&radius_km=300&minmagnitude=4&days=365"
GET/api/v1/severe-weather-alerts

Active severe/extreme NWS alerts (US). Params: offset, limit.

curl -H "X-API-Key: pk_live_..." "https://panditadata.com/api/v1/severe-weather-alerts?limit=25"
GET/api/v1/space-weather

NOAA solar wind, magnetic field (IMF), and aurora forecast imagery — geomagnetic storm risk for satellite/grid operators.

curl -H "X-API-Key: pk_live_..." "https://panditadata.com/api/v1/space-weather"
GET/api/v1/property-risk

The full property risk engine: geocoding, earthquake risk score, elevation/slope, nearest-water distance, and economic impact estimate for a single address. Params: address (or lat/lon), mode=detailed, property_value (optional, USD).

curl -H "X-API-Key: pk_live_..." \
  "https://panditadata.com/api/v1/property-risk?address=Gran%20Via%2C%20Madrid&mode=detailed&property_value=500000"
GET/api/v1/static-map

Rendered PNG map (topographic or standard basemap) centered on a point, with optional earthquake/weather overlays. Same params as the map used on panditadata.com: lat, lon, zoom, basemap=topo|osm, type=eq|wx|world.

curl -H "X-API-Key: pk_live_..." \
  "https://panditadata.com/api/v1/static-map?lat=40.42&lon=-3.70&zoom=16&basemap=topo" -o map.png

Get access

API keys are issued per account after purchase — reach out with your expected volume and use case and we'll set you up with a key and the right tier.

📩 Request API Access