$ man markets
/markets
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgefinanceCATEGORY
uncategorized
STATUS
● live
NAME
markets — markets api / polymarket markets / prediction markets list and search
synonym alias of polymarket-markets — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/markets
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Markets API / Polymarket markets / prediction markets list and search. Exact buyer-demand slug backed by Polymarket gamma-api public market data. Filter active/closed markets by query, category, tag, liquidity, sort order, limit, and offset. Returns questions, slugs, outcomes, implied prices, liquidity, volume, and URLs. Data-only; no trading or order routing.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Free-text filter applied to question, description, and slug. | optional |
| category | string | Filter by Polymarket category substring. | optional |
| tag | string | Polymarket tag slug filter. | optional |
| active | boolean | Default true. | optional |
| closed | boolean | Default false. | optional |
| limit | number | 1-100. Default 20. | optional |
| offset | number | Pagination offset. | optional |
| order | string | — enum: volume24hr · liquidity · endDate · startDate | optional |
| ascending | boolean | — | optional |
| min_liquidity | number | Minimum liquidity in USD. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| markets | string | — |
| count | string | — |
| attribution | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/markets \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the markets tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- markets
- methods
- POST
- cluster
- edgefinance
- price
- $0.005 USDC per call
ADJACENT — other endpoints in edgefinance
| endpoint | description | price |
|---|---|---|
| kalshi-markets | Kalshi markets / event contracts / Kalshi API / CFTC-regulated prediction markets / Kalshi browse / KalshiEX markets list. | $0.005 |
| market-filter | Polymarket filter API / prediction market filter / market screener. | $0.005 |
| polymarket-filter | Polymarket filter API / filter prediction markets by category, query, tag, status, liquidity, and sort order. | $0.005 |
| polymarket-leaderboard | Polymarket leaderboard / top traders / profit leaderboard / Polymarket whales / volume leaderboard / prediction market rankings. | $0.005 |
| polymarket-markets | Polymarket markets / prediction market data / Polymarket API / list active prediction markets / crypto-settled betting odds / event odds… | $0.005 |
| polymarket-search | Polymarket search API / prediction market search / market query endpoint. | $0.005 |
| polymarket-trades | Polymarket trades / recent prediction market trades / on-chain bet history / Polymarket trade feed / Polymarket data API. | $0.005 |
| prediction-markets | Prediction markets API / event odds / Polymarket market data. | $0.005 |
SEE ALSO