{
  "x402Version": 2,
  "id": 15186,
  "slug": "15186",
  "resource": "https://bazaar-demand-forecaster-staging-production.up.railway.app/v1/forecast",
  "description": "Forecast aggregate Bazaar demand by endpoint category with bounded evidence and confidence.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0xBf11E11aB3607Ae7f1c51b79fd0e585C0ccA4B82",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "events": [
              {
                "category": "weather",
                "intentKey": "historical_precipitation",
                "observedAt": "2026-08-20T00:00:00.000Z",
                "outcome": "no_match",
                "source": "request"
              }
            ],
            "historyDays": 30,
            "horizonDays": 30,
            "limit": 25,
            "now": "2026-08-20T12:00:00.000Z"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "forecasts": [
              {
                "category": "crypto",
                "confidence": 0.71,
                "currentCount": 42,
                "growthRate": 0.604,
                "horizonDays": 30,
                "projectedCount": 67.4
              }
            ],
            "schema": "signal-magnet/bazaar-forecast/v1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "events": {
                    "description": "Privacy-safe aggregate demand events; raw prompts and identities are not accepted.",
                    "maxItems": 500,
                    "minItems": 1,
                    "type": "array"
                  },
                  "historyDays": {
                    "maximum": 365,
                    "minimum": 7,
                    "type": "integer"
                  },
                  "horizonDays": {
                    "maximum": 365,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "limit": {
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "now": {
                    "type": "string"
                  }
                },
                "required": [
                  "events"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "forecasts": {
                    "type": "array"
                  },
                  "schema": {
                    "type": "string"
                  }
                },
                "required": [
                  "schema",
                  "forecasts"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "bazaar-demand-forecaster-staging-production.up.railway.app",
  "lastUpdated": "2026-08-20T21:13:02.294Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-20T21:13:02.042Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "bazaar-demand-forecaster-staging-production.up.railway.app",
    "manifest_name": "bazaar-demand-forecaster-staging-production.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}