81trust / 100

Markets Prediction

by FiatDock in Markets & finance

x402 APIPassing, checked 3 h ago

Live Polymarket markets: each outcome's price (the market's implied probability), 24h and total volume, liquidity, closing date and link. Search by topic (bitcoin, fed rates, election…) or send {} for the markets with the most 24h volume. A search with no open market is 404 and not charged. Pay-per-call via x402.

POST https://fiatdock.com/v1/markets/prediction

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
48 ms typical, 160 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://fiatdock.com/v1/markets/prediction" \
  -H "content-type: application/json" \
  -d '{"query":"bitcoin"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fmarkets%2Fprediction
const res = await pay("https://fiatdock.com/v1/markets/prediction", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"bitcoin"}),
});
console.log(await res.json());

Example input

{
  "query": "bitcoin"
}

Example output

{
  "asOf": "2026-10-05T00:00:00.000Z",
  "count": 1,
  "markets": [
    {
      "endDate": "2026-11-01T04:00:00Z",
      "event": "What price will Bitcoin hit in October?",
      "liquidityUsd": 310000,
      "outcomes": [
        {
          "impliedProbabilityPct": 0.3,
          "name": "Yes",
          "price": 0.0025
        },
        {
          "impliedProbabilityPct": 99.8,
          "name": "No",
          "price": 0.9975
        }
      ],
      "question": "Will Bitcoin reach $150,000 in October?",
      "url": "https://polymarket.com/event/what-price-will-bitcoin-hit-in-october-2026",
      "volume24hUsd": 115925,
      "volumeUsd": 2400000
    }
  ],
  "note": "price = the market price of one share of that outcome (0-1 USDC), read as its implied probability. Not financial advice.",
  "query": "bitcoin",
  "source": "Polymarket Gamma API (public)",
  "venue": "Polymarket"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402375 ms$0.0045
6 h agoPassed402160 ms$0.0045
9 h agoPassed40241 ms$0.0045
14 h agoPassed40248 ms$0.0045