82trust / 100

Prediction Arb

by x402tap.com in Markets & finance

x402 APIPassing, checked 4 h ago

Find prediction-market questions priced differently on Polymarket vs. Kalshi — a cross-platform divergence signal built from data no single-platform competitor has

GET https://x402tap.com/api/prediction-arb

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
213 ms typical, 213 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402tap.com/api/prediction-arb?limit=5&minDivergencePct=10"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402tap.com%2Fapi%2Fprediction-arb
const res = await pay("https://x402tap.com/api/prediction-arb?limit=5&minDivergencePct=10");
console.log(await res.json());

Example input

{
  "limit": "5",
  "minDivergencePct": "10"
}

Example output

{
  "count": 1,
  "matches": [
    {
      "cheaperYesOn": "kalshi",
      "divergencePct": 12.4,
      "kalshi": {
        "subTitle": null,
        "ticker": "KXFED-99",
        "title": "Fed cuts rates at September FOMC meeting?",
        "yesProbability": 0.496
      },
      "matchScore": 0.5,
      "polymarket": {
        "question": "Will the Fed cut rates in September?",
        "slug": "example-market",
        "volume24hr": 45678.9,
        "yesProbability": 0.62
      }
    }
  ],
  "minDivergencePct": 10,
  "note": "Matches are found by keyword-overlap similarity...",
  "query": null
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402213 ms$0.05