80trust / 100

Polymarket Activity

by chainhilt-x402 in Markets & finance

x402 APIPassing, checked 5 h ago

Trade and settlement history of a venue account, newest first and cursor-paged: fills (TRADE, with the pUSD that actually moved, fees included), REDEEM, SPLIT/MERGE, CONVERSION and rewards, each with its Polygon transaction hash. Deposits and withdrawals appear only when `type` names them. To page, pass `nextCursor` as `cursor` with the same filters. The ground truth after an ambiguous submit. Errors: 400 invalid filter, 422 cursor or filters refused by the venue, 502 venue failure.

GET
https://chainhilt.ai/api/v1/predict/polymarket/activity/:address
Price
$0.001
per call in USDC
Uptime
97.9%
last 30 days
Response time
132 ms
1.3 s slowest 5%
Last check
Passed
5 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://chainhilt.ai/api/v1/predict/polymarket/activity/:address

Each call costs $0.001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://chainhilt.ai/api/v1/predict/polymarket/activity/:address?limit=20&type=TRADE

Parameters

ParameterTypeRequiredDescription
conditionIdstringNoComma-separated bytes32 condition ids (up to 20) to keep only those markets.
cursorstringNoThe previous page's `nextCursor`; send it with the same filters.
endstringNoISO 8601: only activity at or before this time.
limitintegerNoRows per page (1-1000, default 100). Default: 100.
sidestringNoOnly trades on this side. One of: buy, sell.
startstringNoISO 8601: only activity at or after this time.
typestringNoComma-separated activity kinds (TRADE, REDEEM, SPLIT, MERGE, CONVERSION, REWARD, DEPOSIT, WITHDRAWAL, MAKER_REBATE, TAKER_REBATE, REFERRAL_REWARD, YIELD, MIGRATION, TIP); DEPOSIT and WITHDRAWAL appear only when named.

Example response

The provider's example. We can't check it without paying.

{
  "activity": [
    {
      "account": "0xd9f530D88C105B1bf8cB5DfC68778C5987839D17",
      "collateral": {
        "amount": "10.31",
        "asset": "pUSD"
      },
      "conditionId": "0x9f1c1c4c1d6a2b2f0d5a7e8b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f",
      "outcome": "Yes",
      "price": "0.41",
      "side": "buy",
      "size": "25",
      "timestamp": "2026-10-30T11:58:00.000Z",
      "title": "Will the Fed cut rates at its December meeting?",
      "tokenId": "111",
      "transactionHash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060",
      "type": "TRADE",
      "venue": "polymarket"
    }
  ],
  "nextCursor": "20",
  "observedAt": "2026-10-30T12:00:00.000Z"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://chainhilt.ai/api/v1/predict/polymarket/activity/:address?limit=20&type=TRADE'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://chainhilt.ai/api/v1/predict/polymarket/activity/:address?limit=20&type=TRADE' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fchainhilt.ai%2Fapi%2Fv1%2Fpredict%2Fpolymarket%2Factivity%2F%3Aaddress
const res = await pay("https://chainhilt.ai/api/v1/predict/polymarket/activity/:address?limit=20&type=TRADE");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://chainhilt.ai/api/v1/predict/polymarket/activity/:address?limit=20&type=TRADE")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402123 ms$0.001
16 h agoPassed402224 ms$0.001
39 h agoTimed out---
4 days agoTimed out---
4 days agoPassed402702 ms$0.001
Show 10 older checks
5 days agoPassed4021.1 s$0.001
5 days agoPassed4021.0 s$0.001
6 days agoPassed402794 ms$0.001
6 days agoPassed4021.4 s$0.001
6 days agoPassed402765 ms$0.001
7 days agoPassed402242 ms$0.001
7 days agoPassed4021.3 s$0.001
7 days agoPassed402687 ms$0.001
8 days agoPassed402102 ms$0.001
8 days agoPassed4021.9 s$0.001