U

Up · Forecast

by Up

POSTBase

$0.003

per call · USD Coin on Base

Forecast aggregate Bazaar demand by endpoint category with bounded evidence and confidence.

Endpoint

POST https://bazaar-demand-forecaster-mainnet-production.up.railway.app/v1/forecast

6

Calls / 30d

6

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://bazaar-demand-forecaster-mainnet-production.up.railway.app/v1/forecast", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "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"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://bazaar-demand-forecaster-mainnet-production.up.railway.app/v1/forecast" \
  -H "Content-Type: application/json" \
  -d '{"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"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "forecasts": [
    {
      "category": "crypto",
      "confidence": 0.71,
      "currentCount": 42,
      "growthRate": 0.604,
      "horizonDays": 30,
      "projectedCount": 67.4
    }
  ],
  "schema": "signal-magnet/bazaar-forecast/v1"
}

Payment details

Pay to0xbf11e11ab3607ae7f1c51b79fd0e585c0cca4b82
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Up & similar services