Endpoints
| Method | Path | Description | Cost |
|---|---|---|---|
| GET | /api/v1/map/query | Query geospatial nodes by layer, region, or bounding box | $0.001/query |
| GET | /api/v1/layers/export | Export active layer data (Survey, Satellite, Terrain) | $0.01/export |
| POST | /api/v1/reports/generate | Generate a blockchain-verified PDF/CSV/JSON report | $4.99/report |
| POST | /api/v1/simulator/run | Execute a scenario simulation (grid / disaster / efficiency) | $0.05/run |
| GET | /api/v1/feed | Stream the live Intelligence Feed (SSE) | Free |
Example Request
curl -X GET "https://datamap.base44.app/api/v1/map/query" \
-H "Authorization: Bearer $X402_TOKEN" \
-H "Content-Type: application/json" \
-d '{"layers":["energy","water"],"region":"n_america"}'
# Response (200 OK)
{
"query_id": "qm_8f3a...",
"nodes": 412,
"layers": ["energy","water"],
"paid": "0.001 USD (x402)"
}Auth: All paid endpoints require Authorization: Bearer $X402_TOKEN
Rate Limits: Free 100 queries/mo · Standard unlimited · Pro unlimited + export
Settlement: accountsreceivables.crypto (x402)