Markets Event Contracts
by Tanod utilpeek in Onchain & crypto
utilpeek (Tanod) regulated US event contracts (prediction markets): implied probability, bid and ask, volume, close time. Use when an agent needs US event-contract odds: implied probability, bid/ask, volume, close time by topic.
POST https://tanod.dev/v1/markets/event-contracts
Last 30 days
Status and outage history · Atom feed
- Uptime
- 100%
- Response time
- 401 ms typical, 545 ms slowest 5%
- Last check
- 27 min ago
- Next check
- in 4 min
How to call it
POST https://tanod.dev/v1/markets/event-contracts
Each call costs $0.004 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://tanod.dev/v1/markets/event-contracts
content-type: application/json
{}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
close_after | string or null | No | Optional: only markets closing on or after this date or ISO 8601 time. Default: null. |
close_before | string or null | No | Optional: only markets closing on or before this date (2026-12-31) or ISO 8601 time. Default: null. |
cursor | string or null | No | Optional: the `next_cursor` of the previous reply, to get the next page of the same search. Default: null. |
limit | integer | No | Most markets to return, 1-100 (default 20). Default: 20. |
query | string or null | No | Optional: words that must all appear in the market title or subtitle, such as fed rate or bitcoin above. Omit to list markets. Default: null. |
sort | string | No | volume (default): most traded first; closing_soon: earliest close time first. One of: volume, closing_soon. Default: "volume". |
Example response
The provider's example. We can't check it without paying.
Example response, 33 lines
{
"age_seconds": 212,
"as_of": "2026-10-12T03:10:05Z",
"close_after": null,
"close_before": null,
"count": 1,
"coverage": "Open markets in the 300 non-sports series with the highest all-time volume (politics, economics, finance, crypto, world, science and more); sports and low-volume series are not included, so this is not every market.",
"disclaimer": "Data only, not trading advice. Third-party exchange quotes, delayed up to about 30 minutes; may contain errors.",
"markets": [
{
"close_time": "2026-10-14T01:00:00Z",
"event_id": "KXLIGAMXTOTAL-26OCT11PUMCRA",
"id": "KXLIGAMXTOTAL-26OCT11PUMCRA-7",
"implied_probability": 0.27,
"last_price": 0.27,
"open_interest": 28915.51,
"subtitle": "Over 6.5 goals scored",
"title": "Will over 6.5 goals be scored?",
"volume": 49257.86,
"volume_24h": 44200.82,
"yes_ask": 0.28,
"yes_bid": 0.26
}
],
"next_cursor": "c1",
"query": "goals",
"sort": "volume",
"source": "Third-party quotes from a regulated US event-contract exchange (prediction markets); Tanod does not create the prices.",
"stale": false,
"stale_after_seconds": 3600,
"total_matched": 38,
"untrusted_content": true
}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.004.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tanod.dev/v1/markets/event-contracts' \
-H 'content-type: application/json' \
--data-raw '{}'
# 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://tanod.dev/v1/markets/event-contracts' \
-H 'content-type: application/json' \
--data-raw '{}' \
| 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.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
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.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fmarkets%2Fevent-contracts&method=POST
const res = await pay("https://tanod.dev/v1/markets/event-contracts", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
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.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://tanod.dev/v1/markets/event-contracts",
json={},
)
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 |
|---|---|---|---|---|
| 27 min ago | Passed | 402 | 1.1 s | $0.004 |
| 4 h ago | Passed | 402 | 401 ms | $0.004 |
| 8 h ago | Passed | 402 | 388 ms | $0.004 |
| 18 h ago | Passed | 402 | 545 ms | $0.004 |