82trust / 100

Exchanges

by api.predictionmarketdata.io in Markets & finance

x402 APIPassing, checked 9 min ago

Prediction-market exchanges and entity metadata (Lukka VASP).

GET https://api.predictionmarketdata.io/exchanges

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
154 ms typical, 352 ms slowest 5%
Last check
9 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.predictionmarketdata.io/exchanges?limit=10&offset=0"
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%2Fapi.predictionmarketdata.io%2Fexchanges
const res = await pay("https://api.predictionmarketdata.io/exchanges?limit=10&offset=0");
console.log(await res.json());

Example input

{
  "limit": "10",
  "offset": "0"
}

Example output

{
  "exchanges": [
    {
      "entityCode": "KALSHI",
      "letterGrade": "B2",
      "lukkaVasp": "Kalshi",
      "lukkaVaspId": "LV40C47CFE3",
      "primaryLocation": "United States",
      "startTs": "2022-05-01T00:00:00Z",
      "status": "Active",
      "vaspClassification": "Centralized",
      "vaspScore": "59.9225",
      "vaspType": "Prediction",
      "website": "https://kalshi.com/"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
9 min agoPassed402558 ms$0.001
4 h agoPassed402222 ms$0.001
7 h agoPassed402131 ms$0.001
11 h agoPassed40256 ms$0.001
14 h agoPassed402121 ms$0.001
18 h agoPassed402148 ms$0.001
22 h agoPassed402158 ms$0.001
25 h agoPassed402141 ms$0.001
30 h agoPassed402245 ms$0.001
33 h agoPassed402154 ms$0.001
36 h agoPassed402195 ms$0.001
41 h agoPassed402352 ms$0.001