Skip to content
Fourohtwo

GatewayWalletBatched

Query Polymarket markets with filtering, sorting, and pagination

PolygonArbitrumOptimismUnichainAvalancheSonic+1Answering
https://nano.blockrun.ai/api/v1/pm/polymarket/markets

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

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

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://nano.blockrun.ai/api/v1/pm/polymarket/markets");
console.log(await res.json());