https://www.brainiac.software/api/v1/geo-environment/fire-hotspots-nearby$0.03 USDCList nearby NASA FIRMS fire hotspots
List MODIS C6.1 active-fire detections within a radius from the vendored 7-day FIRMS snapshot.
Body
| Field | Required | Notes |
|---|---|---|
latitude | Yes | number |
longitude | Yes | number |
radiusKm | Yes | number |
from | No | string |
to | No | string |
minConfidence | No | number |
limit | No | integer; Default: 100 |
Request exampleJSON
{
"latitude": 33.2613,
"longitude": 131.64961,
"radiusKm": 10
}Response exampleJSON
{
"count": 1,
"detections": [
{
"latitude": 33.2613,
"longitude": 131.64961,
"distanceKm": 0,
"acquiredAt": "2026-11-08T00:28:00Z",
"satellite": "Terra",
"confidence": 0,
"brightnessK": 307.73,
"brightT31K": 289.01,
"frpMw": 15.28,
"dayNight": "D",
"version": "6.1NRT"
}
],
"window": {
"from": "2026-11-08",
"to": "2026-11-15"
},
"snapshotAt": "2026-11-15",
"sources": [
{
"source": "NASA FIRMS MODIS C6.1 Global 7-day active fires",
"url": "https://firms.modaps.eosdis.nasa.gov/data/active_fire/modis-c6.1/csv/MODIS_C6_1_Global_7d.csv",
"retrievedAt": "2026-11-15",
"status": "ok"
}
],
"limitations": [
"Detections are NASA FIRMS MODIS C6.1 active-fire hotspots in the vendored 7-day window, not a confirmation of wildfire …"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/geo-environment/fire-hotspots-nearby" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"latitude": 33.2613,
"longitude": 131.64961,
"radiusKm": 10
}
JSONhttps://www.brainiac.software/api/v1/geo-environment/earthquake-query$0.03 USDCQuery USGS earthquakes nearby
Find earthquakes within a radius and time window from the vendored USGS all_month feed.
Body
| Field | Required | Notes |
|---|---|---|
latitude | Yes | number |
longitude | Yes | number |
radiusKm | Yes | number |
minMagnitude | No | number |
from | No | string |
to | No | string |
eventType | No | string; Default: "earthquake" |
sort | No | string; One of: time, magnitude; Default: "time" |
limit | No | integer; Default: 100 |
Request exampleJSON
{
"latitude": 32.3376,
"longitude": 93.7837,
"radiusKm": 100,
"minMagnitude": 4.5
}Response exampleJSON
{
"count": 1,
"events": [
{
"id": "us6000u43g",
"time": "2026-10-22T14:33:40.289Z",
"latitude": 32.3376,
"longitude": 93.7837,
"depthKm": 18,
"magnitude": 7,
"magType": "mww",
"place": "189 km ENE of Nagqu, China",
"type": "earthquake",
"status": "reviewed",
"network": "us",
"distanceKm": 0,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000u43g"
}
],
"window": {
"from": "2026-10-16T10:15:38.430Z",
"to": "2026-11-15T09:39:57.110Z"
},
"snapshotAt": "2026-11-15",
"sources": [
{
"source": "USGS Earthquake Hazards Program ComCat all_month CSV",
"url": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.csv",
"retrievedAt": "2026-11-15",
"status": "ok"
}
],
"limitations": [
"Events come from the vendored USGS ComCat all_month feed; updated or deleted events reflect the snapshot only."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/geo-environment/earthquake-query" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"latitude": 32.3376,
"longitude": 93.7837,
"radiusKm": 100,
"minMagnitude": 4.5
}
JSONhttps://www.brainiac.software/api/v1/geo-environment/sun-times-position$0.01 USDCCompute sunrise sunset and solar position
Compute sunrise, solar noon, sunset, day length and solar elevation/azimuth with NOAA Solar Calculator equations.
Body
| Field | Required | Notes |
|---|---|---|
latitude | Yes | number |
longitude | Yes | number |
date | No | string |
instant | No | string |
timeZone | No | string; Default: "UTC" |
Request exampleJSON
{
"latitude": 51.5074,
"longitude": -0.1278,
"date": "2026-11-14",
"instant": "2026-11-14T12:00:00Z"
}Response exampleJSON
{
"date": "2026-11-14",
"sunrise": "2026-11-14T07:17:02Z",
"solarNoon": "2026-11-14T11:44:54Z",
"sunset": "2026-11-14T16:12:46Z",
"dayLengthMinutes": 535.7,
"polar": null,
"position": {
"elevationDeg": 20.12,
"azimuthDeg": 183.82,
"declinationDeg": -18.299
},
"accuracy": "±1 min within ±72° latitude, ±10 min outside",
"method": "NOAA Solar Calculator equations (Meeus); geometric elevation without refraction correction",
"sources": [
{
"source": "NOAA Global Monitoring Laboratory Solar Calculator",
"url": "https://gml.noaa.gov/grad/solcalc/calcdetails.html",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Times are computed, not observed. Polar day/night returns null sunrise/sunset."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/geo-environment/sun-times-position" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"latitude": 51.5074,
"longitude": -0.1278,
"date": "2026-11-14",
"instant": "2026-11-14T12:00:00Z"
}
JSONhttps://www.brainiac.software/api/v1/geo-environment/us-acs-demographics$0.03 USDCLook up US ACS demographics
Return selected ACS 2020–2024 5-year estimates and margins of error for a US state, county or ZCTA.
Body
| Field | Required | Notes |
|---|---|---|
geography | Yes | string; One of: state, county, zcta |
code | Yes | string |
Request exampleJSON
{
"geography": "zcta",
"code": "10001"
}Response exampleJSON
{
"geoId": "860Z200US10001",
"geography": "zcta",
"vintage": "ACS 2020-2024 5-year",
"values": {
"totalPopulation": {
"estimate": 30511,
"moe": 1797
},
"medianAge": {
"total": {
"estimate": 35.8,
"moe": 1.1
},
"male": {
"estimate": 36.3,
"moe": 2
},
"female": {
"estimate": 35.2,
"moe": 1.9
}
},
"medianHouseholdIncome": {
"estimate": 129852,
"moe": 25244
},
"medianGrossRent": {
"estimate": 3361,
"moe": 268
},
"medianHomeValue": {
"estimate": 561100,
"moe": 361292
}
},
"sources": [
{
"source": "ACS 2020–2024 5-year table-based Summary File (B01003, B01002, B19013, B25064, B25077)",
"url": "https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/",
"retrievedAt": "2026-11-15",
"status": "ok"
}
],
"limitations": [
"Vendored subset covers states, counties, and ZCTAs only; tracts and places are not included."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/geo-environment/us-acs-demographics" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"geography": "zcta",
"code": "10001"
}
JSONhttps://www.brainiac.software/api/v1/geo-environment/gtfs-next-arrivals$0.04 USDCCompute next GTFS scheduled arrivals
Compute next scheduled arrivals at a stop from a caller-supplied static GTFS zip. No feeds are fetched.
Body
| Field | Required | Notes |
|---|---|---|
gtfsZipBase64 | Yes | string |
stopId | Yes | string |
at | Yes | string |
limit | No | integer; Default: 5 |
includeChildStops | No | boolean; Default: false |
Request exampleJSON
{
"gtfsZipBase64": "<base64 document omitted>",
"stopId": "S1",
"at": "2026-11-25T23:30:00-05:00",
"limit": 2
}The base64 document is shortened here; send the full encoded document.
Response exampleJSON
{
"stop": {
"id": "S1",
"name": "Demo Stop"
},
"timeZone": "America/New_York",
"arrivals": [
{
"tripId": "T2",
"routeId": "R1",
"routeShortName": "1",
"headsign": "Uptown",
"serviceDate": "2026-11-25",
"scheduledArrival": "2026-11-26T01:10:00-05:00",
"stopSequence": 1
},
{
"tripId": "T1",
"routeId": "R1",
"routeShortName": "1",
"headsign": "Downtown",
"serviceDate": "2026-11-27",
"scheduledArrival": "2026-11-27T08:00:00-05:00",
"stopSequence": 1
}
],
"warnings": [],
"sources": [
{
"source": "Caller-supplied GTFS Schedule feed (static)",
"url": "https://gtfs.org/documentation/schedule/reference/",
"retrievedAt": "2026-11-25",
"status": "ok"
}
],
"limitations": [
"Pure computation on the uploaded static GTFS zip; no realtime trip updates are used."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/geo-environment/gtfs-next-arrivals" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"gtfsZipBase64": "<base64 document omitted>",
"stopId": "S1",
"at": "2026-11-25T23:30:00-05:00",
"limit": 2
}
JSON