Tools Search Markets
by polymarket-snapshot.x402supply.com in Markets & finance
Searches Polymarket prediction markets by text and returns current outcome prices, volume, liquidity, end date and resolution status. Read-only market data, not financial advice.
https://polymarket-snapshot.x402supply.com/tools/search_markets- Price
- $0.005
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 241 ms
- 392 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
How to call it
POST https://polymarket-snapshot.x402supply.com/tools/search_markets
Each call costs $0.005 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://polymarket-snapshot.x402supply.com/tools/search_markets
content-type: application/json
{
"limit": 2,
"query": "bitcoin"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
active | boolean | No | Default: true. |
limit | integer | No | Default: 10. |
order | string | No | One of: volume24hr, liquidity, endDate. Default: "volume24hr". |
query | string | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 60 lines
{
"asOf": "2026-10-09T15:41:09.090Z",
"count": 2,
"markets": [
{
"active": true,
"closed": false,
"endDate": "2026-10-09T16:00:00Z",
"id": "5207028",
"liquidity": 32376.21131,
"outcomes": [
{
"name": "Yes",
"price": 0.0015,
"tokenId": "19237762638725087250431461906504177217210669994224395220619355341866160991623"
},
{
"name": "No",
"price": 0.9985,
"tokenId": "93618513453377158964239064041600906714858234857183117432206005018664887747326"
}
],
"question": "Will the price of Bitcoin be above $84,000 on October 9?",
"resolved": false,
"resolvedOutcome": null,
"slug": "bitcoin-above-84k-on-october-9-2026",
"volume24hr": 269998.34036300005,
"volumeTotal": 284993.61793899996
},
{
"active": true,
"closed": false,
"endDate": "2026-10-09T16:00:00Z",
"id": "5207026",
"liquidity": 28428.87938,
"outcomes": [
{
"name": "Yes",
"price": 0.9985,
"tokenId": "76275224781672571834510870490547558994817468433622601301060687031724197252736"
},
{
"name": "No",
"price": 0.0015,
"tokenId": "108082883404059740358158280426412241943168347279841724118483048088071392041003"
}
],
"question": "Will the price of Bitcoin be above $82,000 on October 9?",
"resolved": false,
"resolvedOutcome": null,
"slug": "bitcoin-above-82k-on-october-9-2026",
"volume24hr": 175374.76371700005,
"volumeTotal": 212454.7067089999
}
],
"query": "bitcoin",
"source": [
"https://gamma-api.polymarket.com/public-search?q=bitcoin&limit_per_type=2&events_status=active"
]
}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.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://polymarket-snapshot.x402supply.com/tools/search_markets' \
-H 'content-type: application/json' \
--data-raw '{"limit":2,"query":"bitcoin"}'
# 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://polymarket-snapshot.x402supply.com/tools/search_markets' \
-H 'content-type: application/json' \
--data-raw '{"limit":2,"query":"bitcoin"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
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.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpolymarket-snapshot.x402supply.com%2Ftools%2Fsearch_markets&method=POST
const res = await pay("https://polymarket-snapshot.x402supply.com/tools/search_markets", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"limit": 2,
"query": "bitcoin"
}),
});
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.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://polymarket-snapshot.x402supply.com/tools/search_markets",
json={
"limit": 2,
"query": "bitcoin",
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 270 ms | $0.005 |
| 8 h ago | Passed | 402 | 240 ms | $0.005 |
| 13 h ago | Passed | 402 | 319 ms | $0.005 |
| 17 h ago | Passed | 402 | 222 ms | $0.005 |
| 21 h ago | Passed | 402 | 241 ms | $0.005 |
Show 10 older checks
| 25 h ago | Passed | 402 | 364 ms | $0.005 |
| 29 h ago | Passed | 402 | 302 ms | $0.005 |
| 33 h ago | Passed | 402 | 272 ms | $0.005 |
| 37 h ago | Passed | 402 | 169 ms | $0.005 |
| 41 h ago | Passed | 402 | 186 ms | $0.005 |
| 45 h ago | Passed | 402 | 191 ms | $0.005 |
| 2 days ago | Passed | 402 | 392 ms | $0.005 |
| 2 days ago | Passed | 402 | 203 ms | $0.005 |
| 2 days ago | Passed | 402 | 313 ms | $0.005 |
| 3 days ago | Passed | 402 | 260 ms | $0.005 |