85trust / 100

Prediction Market Market Screener

by Nansen in Markets & finance

x402 APIPassing, checked 26 min ago

Get Prediction Market Screener

POST https://api.nansen.ai/api/v1/prediction-market/market-screener

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
175 ms typical, 175 ms slowest 5%
Last check
26 min ago
Next check
in 1 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.nansen.ai/api/v1/prediction-market/market-screener" \
  -H "content-type: application/json" \
  -d '{"end_date_after":"2025-01-01T00:00:00Z","end_date_before":"2025-12-31T23:59:59Z","order_by":[{"direction":"DESC","field":"volume_24hr"}],"query":"bitcoin","status":"active","tags":["Crypto","Bitcoin"]}'
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.nansen.ai%2Fapi%2Fv1%2Fprediction-market%2Fmarket-screener
const res = await pay("https://api.nansen.ai/api/v1/prediction-market/market-screener", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"end_date_after":"2025-01-01T00:00:00Z","end_date_before":"2025-12-31T23:59:59Z","order_by":[{"direction":"DESC","field":"volume_24hr"}],"query":"bitcoin","status":"active","tags":["Crypto","Bitcoin"]}),
});
console.log(await res.json());

Example input

{
  "end_date_after": "2025-01-01T00:00:00Z",
  "end_date_before": "2025-12-31T23:59:59Z",
  "order_by": [
    {
      "direction": "DESC",
      "field": "volume_24hr"
    }
  ],
  "query": "bitcoin",
  "status": "active",
  "tags": [
    "Crypto",
    "Bitcoin"
  ]
}

Example output

{
  "data": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
26 min agoPassed402175 ms$0.01
6 h agoPassed402220 ms$0.01