40trust / 100

Midterms Alpha

by Otto AI in Markets & finance

x402 APIFailing, checked 40 h ago

US midterms alpha from Polymarket: House, Senate and Balance of Power control plus the 10 most-traded races, each with odds, 24h move, the $1k+ trade money behind the move, net flow of the 5 biggest wallets and the USD to move it 5 points, plus its price on Polymarket US, Kalshi and PredictIt, named by venue. Refreshed every 2 minutes. Data only, not advice. Temporary: retires 8 Nov 2026. $0.01 per call.

GET
https://x402.ottoai.services/midterms-alpha
Price
$0.01
per call in USDC
Uptime
66.7%
last 30 days
Response time
226 ms
626 ms slowest 5%
Last check
Failed
40 h ago, next in 27 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 40 h ago: Expected HTTP 402, got 410

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

How to call it

GET https://x402.ottoai.services/midterms-alpha

Each call costs $0.01 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.

GET https://x402.ottoai.services/midterms-alpha

Example response

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

Example response, 115 lines
{
  "data": {
    "control": [
      {
        "event": "Which party will win the House i...",
        "kind": "house-control",
        "outcomes": [
          {
            "bestAsk": 0.52,
            "bestBid": 0.51,
            "conviction": {
              "thin": false,
              "usdToMoveDown5Pts": 388120,
              "usdToMoveUp5Pts": 412530
            },
            "label": "Party A",
            "marketId": "562801",
            "moneyBehindMove": {
              "largeMoneyAgreesWithMove": true,
              "largeTradeUsd24h": 296410,
              "largeTrades24h": 38,
              "netLargeUsdIntoYes": 41250,
              "volume24hUsd": 734084
            },
            "move24h": 0.01,
            "oddsSource": "clob-book",
            "probability": 0.515,
            "question": "Will Party A control the House a...",
            "venues": {
              "kalshi": {
                "asOf": "2026-10-31T11:59:30.000Z",
                "basis": "midpoint",
                "price": 0.52,
                "status": "ok",
                "url": "https://kalshi.com/markets/contr..."
              },
              "polymarket": {
                "asOf": "2026-10-31T12:00:00.000Z",
                "basis": "midpoint",
                "price": 0.515,
                "status": "ok",
                "url": "https://polymarket.com/event/whi..."
              },
              "polymarketUs": {
                "asOf": "2026-10-31T11:59:30.000Z",
                "basis": "midpoint",
                "price": 0.51,
                "status": "ok",
                "url": "https://polymarket.us/event/usho..."
              },
              "predictit": {
                "asOf": "2026-10-31T11:59:30.000Z",
                "basis": "last-trade",
                "price": 0.5,
                "status": "ok",
                "url": "https://www.predictit.org/market..."
              }
            },
            "whaleFlow": {
              "grossUsd": 151880,
              "leaning": "YES",
              "netUsdIntoYes": 22400,
              "shareOfLargeTradeUsd": 0.512,
              "wallets": 5
            }
          }
        ],
        "url": "https://polymarket.com/event/whi...",
        "volume24hUsd": 1468168
      }
    ],
    "generatedAt": "2026-10-31T12:00:00.000Z",
    "layers": {
      "conviction": "ok",
      "moneyBehindMove": "ok",
      "whaleFlow": "ok"
    },
    "method": {
      "depthPoints": 0.05,
      "flowCoveredSince": "2026-10-30T12:00:00.000Z",
      "flowFromTakerTradesOnly": true,
      "flowWindowHours": 24,
      "gammaAsOf": "2026-10-31T11:58:30.000Z",
      "largeTradeUsd": 1000,
      "thinBelowUsd": 25000,
      "tradesCoverFullWindow": true,
      "venues": {
        "candidateSurnameCheck": true,
        "exactlyOneContract": true,
        "matchKey": "office+state+district+party",
        "midpointMaxSpread": 0.1,
        "readEverySeconds": 60
      },
      "walletsPublished": false,
      "whaleWallets": 5
    },
    "notice": "Data only, not advice. Market-im...",
    "races": [],
    "retiresOn": "2026-11-08",
    "venue": "polymarket",
    "venueStatus": {
      "kalshi": "unavailable",
      "polymarket": "ok",
      "polymarketUs": "ok",
      "predictit": "ok"
    }
  },
  "meta": {
    "degraded": false,
    "generatedAt": "",
    "stalenessSec": 0,
    "validUntil": ""
  },
  "status": "success"
}

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.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://x402.ottoai.services/midterms-alpha'

# 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 - 'https://x402.ottoai.services/midterms-alpha' \
  | 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.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
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.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fmidterms-alpha
const res = await pay("https://x402.ottoai.services/midterms-alpha");
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.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://x402.ottoai.services/midterms-alpha")
    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
40 h agoExpected HTTP 402, got 410410229 ms-
6 days agoExpected HTTP 402, got 410410446 ms-
9 days agoExpected HTTP 402, got 410410283 ms-
12 days agoExpected HTTP 402, got 410410335 ms-
16 days agoExpected HTTP 402, got 410410418 ms-
Show 10 older checks
17 days agoExpected HTTP 402, got 410410192 ms-
18 days agoExpected HTTP 402, got 410410335 ms-
19 days agoExpected HTTP 402, got 410410437 ms-
20 days agoExpected HTTP 402, got 410410415 ms-
22 days agoExpected HTTP 402, got 410410317 ms-
23 days agoExpected HTTP 402, got 410410343 ms-
23 days agoExpected HTTP 402, got 41041038 ms-
23 days agoExpected HTTP 402, got 410410197 ms-
23 days agoExpected HTTP 402, got 410410233 ms-
24 days agoPassed40270 ms$0.01

History

3 Nov 2026Price on Base changed from $0.005 to $0.01; Price on Solana changed from $0.005 to $0.01