81trust / 100

Prediction Search

by prediction-search in Markets & finance

x402 APIPassing, checked 39 min ago

Cross-venue prediction-market search: one query returns a ranked list of NORMALIZED markets from Polymarket (real-money) and Manifold (play-money) under one schema — implied probability, outcomes, volume, liquidity, close date, status, money_type and a link-back. One call instead of hitting each venue's API and reconciling their shapes.

GET https://api.agentstools.dev/prediction/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
26 ms typical, 26 ms slowest 5%
Last check
39 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/prediction/search?limit=10&query=election"
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.agentstools.dev%2Fprediction%2Fsearch
const res = await pay("https://api.agentstools.dev/prediction/search?limit=10&query=election");
console.log(await res.json());

Example input

{
  "limit": 10,
  "query": "election"
}

Example output

{
  "count": 1,
  "disclaimer": "Prediction-market data, not financial advice.",
  "markets": [
    {
      "close_date": "2028-11-07T00:00:00Z",
      "implied_outcome": "Yes",
      "implied_prob": 0.41,
      "link": "https://polymarket.com/event/x-2028",
      "money_type": "real",
      "question": "Will X win the 2028 election?",
      "status": "open",
      "venue": "polymarket",
      "volume": 1200000
    }
  ],
  "query": "election",
  "summary": {
    "errors": [],
    "venues_failed": 0,
    "venues_ok": 2
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
39 min agoPassed40238 ms$0.01
6 h agoPassed40226 ms$0.01