M

Memoryapi · Predict Markets

by Memoryapi

GETBase

$0.001

per call · USD Coin on Base

Browse Polymarket prediction markets. Filter by category (crypto, politics, sports, economics, science, entertainment, pop-culture), search by keyword, or set limit.

Endpoint

GET https://predict.memoryapi.org/x402/predict/markets

1

Calls / 30d

1

Unique payers / 30d

Aug 25

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://predict.memoryapi.org/x402/predict/markets", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://predict.memoryapi.org/x402/predict/markets?limit=20&q=bitcoin&tag=crypto" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 3,
  "markets": [
    {
      "category": "crypto",
      "id": "market1",
      "outcomes": [
        {
          "name": "Yes",
          "price": 0.65
        },
        {
          "name": "No",
          "price": 0.35
        }
      ],
      "price": 0.65,
      "question": "Will Bitcoin reach $100k by 2025?",
      "volume_usd": 5000000
    }
  ],
  "source": "Polymarket",
  "success": true,
  "total_volume_usd": 15000000
}

Payment details

Pay to0x24facafeb49b4e3facf0b3e69604a2f4640c9bf2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Memoryapi & similar services