10trust / 100

Polymarket Markets

by Lumen Agent Utilities in Markets & finance

x402 APIFailing, checked 7 h ago

Read-only Polymarket prediction-market data: search by {query} or top active markets by 24h volume. Returns question, outcomes with implied probabilities, 24h/total volume, liquidity, end date, URL. Data only, no trading.

POST
https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets
Price
$0.001
per call in USDC
Uptime
0.0%
last 30 days
Response time
-
no timed checks yet
Last check
Failed
7 h ago, next in 3 days

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 7 h ago: Expected HTTP 402, got 404

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets

Each call costs $0.001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets
content-type: application/json

{
  "limit": 2
}

Parameters

ParameterTypeRequiredDescription
limitnumberNo
querystringNo

Example response

The provider's example. We can't check it without paying.

Example response, 49 lines
{
  "markets": [
    {
      "active": true,
      "closed": false,
      "endDate": "2026-10-10T14:30:00Z",
      "liquidity": 94999.5371,
      "outcomes": [
        {
          "outcome": "Team Yandex",
          "probability": 0.987
        },
        {
          "outcome": "Team Spirit",
          "probability": 0.013
        }
      ],
      "question": "Dota 2: Team Yandex vs Team Spirit - Game 2 Winner",
      "slug": "dota2-ty-ts8-2026-10-10-game2",
      "url": "https://polymarket.com/market/dota2-ty-ts8-2026-10-10-game2",
      "volume24h": 1246835.9942849993,
      "volumeTotal": 1242546.0467380008
    },
    {
      "active": true,
      "closed": false,
      "endDate": "2026-10-05T03:59:00Z",
      "liquidity": 1469356.5492,
      "outcomes": [
        {
          "outcome": "Yes",
          "probability": 0.115
        },
        {
          "outcome": "No",
          "probability": 0.885
        }
      ],
      "question": "Will Luiz Inácio Lula da Silva win the 2026 Brazilian presidential election?",
      "slug": "will-luiz-incio-lula-da-silva-win-the-2026-brazilian-presidential-election",
      "url": "https://polymarket.com/market/will-luiz-incio-lula-da-silva-win-the-2026-brazilian-presidential-election",
      "volume24h": 894261.5656739997,
      "volumeTotal": 21990309.847675
    }
  ],
  "note": "Top active markets by 24h volume. Read-only data; not financial advice.",
  "query": null,
  "source": "Polymarket Gamma API"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":2}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":2}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Flumenworks-x402-decoder.onrender.com%2Fv1%2Fpolymarket%2Fmarkets&method=POST
const res = await pay("https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "limit": 2
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://lumenworks-x402-decoder.onrender.com/v1/polymarket/markets",
        json={
            "limit": 2,
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
7 h agoExpected HTTP 402, got 404404242 ms-
3 days agoExpected HTTP 402, got 404404221 ms-
3 days agoExpected HTTP 402, got 404404264 ms-
4 days agoExpected HTTP 402, got 404404246 ms-
4 days agoExpected HTTP 402, got 404404225 ms-
Show 10 older checks
4 days agoExpected HTTP 402, got 404404209 ms-
4 days agoExpected HTTP 402, got 404404243 ms-
4 days agoExpected HTTP 402, got 404404217 ms-
5 days agoExpected HTTP 402, got 404404273 ms-
5 days agoExpected HTTP 402, got 404404197 ms-
5 days agoExpected HTTP 402, got 404404235 ms-
5 days agoExpected HTTP 402, got 404404232 ms-
5 days agoExpected HTTP 402, got 404404644 ms-
6 days agoExpected HTTP 402, got 404404231 ms-
6 days agoExpected HTTP 402, got 404404222 ms-