B

botsmith · Polymarket Market

by botsmith

GETBaseX Layer

$0.02

per call · USD Coin on Base

Market Intel & Signals ($0.02/call): Deep snapshot and execution microstructure for one Polymarket market: implied probability, best bid/ask/spread, 24h volume, liquidity depth, days to resolution, momentum, and estimated slippage to buy at $100 and $1000 order sizes from the live order book. Pass a slug, or omit it for the highest-volume open market right now. Signals are factual market data, not investment advice.

Endpoint

GET https://x402.botsmith.dev/polymarket/market

2

Calls / 30d

2

Unique payers / 30d

Sep 10

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.botsmith.dev/polymarket/market", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.botsmith.dev/polymarket/market" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "daysToResolution": 12,
  "impliedProbability": 0.42,
  "liquidity": 240000,
  "liquidityRating": "deep",
  "outcomes": [
    "Yes",
    "No"
  ],
  "priceChange24h": 0.05,
  "prices": {
    "bestAsk": 0.43,
    "bestBid": 0.41,
    "lastTrade": 0.42,
    "spread": 0.02
  },
  "question": "Will the Fed cut rates in March?",
  "signals": {
    "bookDepthUsd": {
      "asks": 135000,
      "bids": 120000
    },
    "slippage": [
      {
        "avgPrice": 0.4305,
        "filled": true,
        "orderUsd": 100,
        "sharesFilled": 232.3,
        "slippagePctVsBest": 0.12
      },
      {
        "avgPrice": 0.4342,
        "filled": true,
        "orderUsd": 1000,
        "sharesFilled": 2303.1,
        "slippagePctVsBest": 0.98
      }
    ]
  },
  "slug": "will-the-fed-cut-rates-in-march",
  "url": "https://polymarket.com/market/will-the-fed-cut-rates-in-march",
  "volume24hr": 1830000
}

Payment details

Pay to0xcb9b3f94387389e38ef2a7b3c0b851fb8325d7e9
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, X Layer
Schemesexact

Is this your API?

Pin it to the top of Games & Fun and the homepage with a featured placement.

Get featured →

More from botsmith & similar services