BlockchainLive

Predict Markets API

Browse Polymarket prediction markets.

$0.002875USDC per call · settled on Base · no subscription, no API key

Overview

Browse Polymarket prediction markets. Filter by active/closed, order by volume/liquidity/endDate, page with limit/offset. Each market returns its question, outcomes + live outcome prices (implied probabilities), CLOB token ids (use with predict.price / predict.orderbook / predict.price-history), USD volume + liquidity, open/close dates, and the Polymarket URL. Read-only mirror of Polymarket's public market list.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/predict-markets$0.002875Invoke Predict Markets (Blockchain) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://jarvisclaw.ai/v1/marketplace/api/predict-markets

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://jarvisclaw.ai/v1/marketplace/api/predict-markets

Parameters

Taken from the request example this API publishes.

NameInTypeExample
activequerybooleanfalse
ascendingquerybooleanfalse
closedquerybooleanfalse
limitquerynumber1
offsetquerynumber0
orderquerystring"volume"
tagIdquerynumber1

Example response

{
  "data": {
    "ok": true,
    "items": [
      {
        "id": "example",
        "question": "example",
        "slug": "example",
        "conditionId": "example",
        "outcomes": [
          "example"
        ],
        "outcomePrices": [
          1
        ],
        "clobTokenIds": [
          "example"
        ],
        "volumeUsd": 1,
        "liquidityUsd": 1,
        "active": false,
        "closed": false,
        "startDate": "example",
        "endDate": "example",
        "description": "example",
        "url": "example"
      }
    ],
    "total": 1,
    "source": {
      "provider": "example",
      "url": "example",
      "license": "example"
    },
    "meta": {
      "count": 1
    }
  },
  "meta": {
    "endpoint": "predict.markets",
    "version": null,
    "caller": "x402",
    "cost": {
      "usd": 0.0025
    },
    "settlement": {
      "txHash": "[redacted]",
      "network": "eip155:8453",
      "success": true
    }
  }
}

FAQ

How much does the Predict Markets API cost?

$0.002875 USDC per call, paid per call over x402. There is no subscription, minimum or monthly fee.

Do I need an API key?

No. Call the endpoint, read the 402 Payment Required quote, and repeat the request with a signed USDC payment header. An account API key also works if you prefer prepaid billing.

Which chains can I pay on?

USDC on Base or on Solana. The 402 quote lists the accepted networks and the exact amount; the JarvisClaw SDKs sign and retry for you.

How do I call it from an AI agent?

Send GET to the endpoint above from any HTTP client, or connect the JarvisClaw MCP server and let the agent find and call it with the search_apis and get_api_detail tools.

Related APIs

Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs