Submit & Validate FeatureCollection
POST /claims/pp enforces Turf.js geodesic acreage (≤ 2,000 ac), non-intersecting rings, canonical 50-state & RMA cause-of-loss enums, HTTPS photo URLs, and 24h Idempotency-Key replay.
Agricultural Intelligence API
Submit GeoJSON feature collections, verify PP claims, and stream signed TALV PDF decisions.
RMA FCIC-25370 Integration Architecture
A lightweight async API gateway designed for Approved Insurance Providers: fast edge validation, Cloud Tasks remote sensing orchestration, and deterministic JSON + PDF deliverables.
sg_live_...
Sandbox sg_test_...
POST /claims/pp enforces Turf.js geodesic acreage (≤ 2,000 ac), non-intersecting rings, canonical 50-state & RMA cause-of-loss enums, HTTPS photo URLs, and 24h Idempotency-Key replay.
Returns 202 Accepted immediately while the satellite worker resolves Sentinel-2 NDVI/NDWI & PRISM telemetry, delivering X-SpectaGIS-Signature HMAC webhooks across 32 retries.
Fetch GET /claims/{claim_id} for eligible_acres & pass_p21_flag, stream the compiled FCIC-25370 PDF via /dossier.pdf, or trigger /second-crop compliance checks.
Quickstart Guide
Integrate Prevented Planting claim verification in four concrete steps using the isolated sandbox environment before switching to live keys.
Authorization: Bearer sg_test_demo Content-Type: application/geo+json Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000
{
"type": "FeatureCollection",
"properties": {
"policyholder_name": "Prairie View Farms Inc.",
"policy_number": "POL-TEST-PASS",
"primary_cause_of_loss": "Excess Moisture",
"loss_event_date": "2026-05-18"
},
"features": [ /* Polygon <= 2,000 ac + crop_type + state */ ]
}
curl -X POST https://sandbox.api.spectagis.com/v1/claims/pp -H "Authorization: Bearer sg_test_demo" -H "Content-Type: application/geo+json" -H "Idempotency-Key: claim-demo-001" -d @sample_field_story_county.geojson
curl -H "Authorization: Bearer sg_test_demo" https://sandbox.api.spectagis.com/v1/claims/clm_123456 curl -H "Authorization: Bearer sg_test_demo" -o dossier.pdf https://sandbox.api.spectagis.com/v1/claims/clm_123456/dossier.pdf
Pre-Submission Verification & Sample Data
Test and validate your .geojson or .json FeatureCollection boundaries prior to submitting claims to POST /claims/pp. Inspect certified agricultural parcels or test edge cases in real time.
Supported: GeoJSON FeatureCollection (.geojson, .json) Max 2,000 Acres / Non-Crossing Rings
sandbox_* collections.