{
  "x402Version": 2,
  "id": 15202,
  "slug": "15202",
  "resource": "https://space.halowerk.com/v1/night-lights-econ",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "space.halowerk.com",
  "lastUpdated": "2026-09-01T07:51:14.556Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T07:51:14.31Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "space.halowerk.com",
    "manifest_name": "space.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}