83trust / 100

Market News

by api.predictionmarketdata.io in Markets & finance

x402 APIPassing, checked 4 h ago

Recent news relevant to prediction markets within a publish-date window.

GET https://api.predictionmarketdata.io/market-news

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
148 ms typical, 148 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://api.predictionmarketdata.io/market-news?publishDateFrom=2026-06-07T00%3A00%3A00Z&publishDateTo=2026-06-08T00%3A00%3A00Z"
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%2Fapi.predictionmarketdata.io%2Fmarket-news
const res = await pay("https://api.predictionmarketdata.io/market-news?publishDateFrom=2026-06-07T00%3A00%3A00Z&publishDateTo=2026-06-08T00%3A00%3A00Z");
console.log(await res.json());

Example input

{
  "publishDateFrom": "2026-06-07T00:00:00Z",
  "publishDateTo": "2026-06-08T00:00:00Z"
}

Example output

{
  "news": [
    {
      "contentType": "breaking-news",
      "entityCode": "BTCWRLD",
      "entityName": "BitcoinWorld",
      "newsCategory": "prediction-markets",
      "newsID": "c42c42e75aa142f3943236f8e7579e6f",
      "publishDateTime": "2026-06-07T23:50:10Z",
      "sentiment": "Negative",
      "snippet": "Polymarket faces scrutiny as 20% of dispute judges had financial stakes in outcomes.",
      "title": "Polymarket Under Fire: 20% of Dispute Judges Had Stake in Outcomes They Ruled On",
      "url": "https://bitcoinworld.co.in/polymarket-conflict-of-interest-judges-betting/"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402148 ms$0.001