W

Workers · PM Markets

by Workers

GETBase

$0.005

per call · USD Coin on Base

Query live Polymarket prediction markets — question, outcomes, live prices, bestBid/bestAsk/spread, volume24hr/volume1wk, oneDayPriceChange, clobTokenIds, conditionId, category tags, liquidity, end date. Ranked by volume24hr; filter by keyword.

Endpoint

GET https://x402-data-api.sigrunner.workers.dev/pm/markets

1

Calls / 30d

1

Unique payers / 30d

Aug 12

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://x402-data-api.sigrunner.workers.dev/pm/markets", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-data-api.sigrunner.workers.dev/pm/markets?limit=20&query=bitcoin" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "active": true,
  "bestAsk": 0.66,
  "bestBid": 0.64,
  "clobTokenIds": [
    "264852...",
    "884780..."
  ],
  "conditionId": "0xb6d6f15a1b5d08753653f1867ccd6126badfbe182a75159a330dc7b15336b30",
  "endDate": "2026-12-31T12:00:00Z",
  "liquidity": 45678.12,
  "oneDayPriceChange": 0.01,
  "outcomePrices": [
    0.65,
    0.35
  ],
  "outcomes": [
    "Yes",
    "No"
  ],
  "question": "Will X happen by 2026?",
  "slug": "will-x-happen-by-2026",
  "spread": 0.02,
  "tags": [
    "Crypto",
    "Bitcoin"
  ],
  "volume": 1234567.89,
  "volume1wk": 412987.6,
  "volume24hr": 84213.45
}

Payment details

Pay to0x5765ae06a52dc7a0bb71c36a11db512c7ea9ed10
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 Workers & similar services