25trust / 100

Markets Odds

by Aayat AI in Markets & finance

x402 APIFailing, checked 2 h ago

Prediction-market odds from Polymarket: search any topic (?q=bitcoin, fed rates, election, a team) or omit q for the most-traded markets now. Each event lists its markets with outcome probabilities (%), 24h change, volume, liquidity, bid/ask, end date and link. For research, forecasting and trading agents.

GET https://aayatai.com/markets/odds

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
777 ms typical, 777 ms slowest 5%
Last check
2 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/markets/odds?limit=5&marketsPerEvent=5&q=bitcoin"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fmarkets%2Fodds
const res = await pay("https://aayatai.com/markets/odds?limit=5&marketsPerEvent=5&q=bitcoin");
console.log(await res.json());

Example input

{
  "limit": 5,
  "marketsPerEvent": 5,
  "q": "bitcoin"
}

Example output

{
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "events": [
    {
      "endDate": "2026-10-01T04:00:00Z",
      "liquidityUsd": 2497718,
      "marketCount": 38,
      "markets": [
        {
          "bestAsk": 0.004,
          "bestBid": 0.002,
          "change24hPoints": -0.1,
          "closed": false,
          "endDate": "2026-10-01T04:00:00Z",
          "label": "↑ 100,000",
          "liquidityUsd": 129554,
          "outcomes": [
            {
              "name": "Yes",
              "probability": 0.3
            },
            {
              "name": "No",
              "probability": 99.7
            }
          ],
          "question": "Will Bitcoin reach $100,000 in September?",
          "slug": "will-bitcoin-reach-100k-in-september-2026",
          "volume24hUsd": 43050,
          "volumeUsd": 1474218
        }
      ],
      "slug": "what-price-will-bitcoin-hit-in-september-2026",
      "tags": [
        "Bitcoin",
        "Crypto"
      ],
      "title": "What price will Bitcoin hit in September?",
      "url": "https://polymarket.com/event/what-price-will-bitcoin-hit-in-september-2026",
      "volume24hUsd": 888945,
      "volumeUsd": 15635597
    }
  ],
  "note": "",
  "query": "bitcoin",
  "source": "Polymarket"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 41041037 ms-
6 h agoExpected HTTP 402, got 410410133 ms-
11 h agoExpected HTTP 402, got 41041046 ms-
15 h agoExpected HTTP 402, got 41041040 ms-
19 h agoExpected HTTP 402, got 41041035 ms-
23 h agoExpected HTTP 402, got 41041037 ms-
27 h agoExpected HTTP 402, got 410410115 ms-
31 h agoExpected HTTP 402, got 41041036 ms-
35 h agoExpected HTTP 402, got 410410116 ms-
40 h agoExpected HTTP 402, got 41041038 ms-
43 h agoExpected HTTP 402, got 41041044 ms-
2 days agoExpected HTTP 402, got 41041047 ms-
2 days agoExpected HTTP 402, got 41041037 ms-
2 days agoExpected HTTP 402, got 41041042 ms-
2 days agoPassed402777 ms$0.005