Fits ordinary least squares to log radiance by year, converts the slope to annual radiance
Fits ordinary least squares to log radiance by year, converts the slope to annual radiance change, and applies a caller-supplied economic elasticity. Night lights are an imperfect proxy affected by sensors, saturation, electrification, outages, policy, and conflict; this is not an official economic statistic or causal estimate.
3000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated
Provider
space.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"base_economic_index": 100,
"economic_elasticity": 0.65,
"observations": [
{
"mean_radiance": 18.4,
"year": 2022
},
{
"mean_radiance": 19.1,
"year": 2023
},
{
"mean_radiance": 20,
"year": 2024
},
{
"mean_radiance": 20.6,
"year": 2025
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"base_economic_index": {
"maximum": 1000000000000000,
"minimum": 0.000001,
"type": "number"
},
"economic_elasticity": {
"description": "Percent economic-index change per percent radiance change under the caller model.",
"maximum": 10,
"minimum": -10,
"type": "number"
},
"observations": {
"items": {
"additionalProperties": false,
"properties": {
"mean_radiance": {
"maximum": 1000000000000000,
"minimum": 1e-9,
"type": "number"
},
"year": {
"maximum": 2200,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"year",
"mean_radiance"
],
"type": "object"
},
"maxItems": 1000,
"minItems": 2,
"type": "array"
}
},
"required": [
"observations",
"economic_elasticity",
"base_economic_index"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://space.halowerk.com/v1/night-lights-econ" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://space.halowerk.com/v1/night-lights-econ");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://space.halowerk.com/v1/night-lights-econ")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15202.json, and this resource appears in /discovery/resources and /discovery/search.