Directory / Trading & DeFi

Query Polymarket markets with filtering, sorting, and pagination

Query Polymarket markets with filtering, sorting, and pagination

not checked yetBaseGETx402 v2

Price per call
$0.0085
Endpoint
https://blockrun.ai/api/v1/pm/polymarket/markets
Provider
blockrun.ai
Paid calls (30 days)
525
Unique payers (30 days)
76
Last paid call
4 h ago
Health check
pending
Pays to
0x6E007731870EDe419CfB31889Cd5C4493CEcb04c
Listed here since
2026-11-23 (source: bazaar)

Input

{
  "discoverable": true,
  "method": "GET",
  "queryParams": {},
  "type": "http"
}

Example output

{
  "example": {
    "data": {}
  },
  "type": "json"
}

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);

const res = await paidFetch("https://blockrun.ai/api/v1/pm/polymarket/markets", { method: "GET" });
console.log(await res.json()); // costs $0.0085 in USDC on Base

Machine-readable: /api/tools/596b646b3e71. Listings are informational; check a provider before sending large amounts.