16trust / 100
Polymarket Wallet
by Vextorium in Markets & finance
x402 APIFailing, checked 4 h ago
Open positions of a wallet on Polymarket: market, outcome, shares, average and current price, value, PnL (USD and %), redeemable flag and close date, with portfolio totals.
POST https://api.vextorium.com/v1/polymarket-wallet
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 4 h ago: Amount "0.004" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/polymarket-wallet" \
-H "content-type: application/json" \
-d '{"limit":2,"wallet":"0x5d189e816b4149be00977c1a3c8840374aec4972"}'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.vextorium.com%2Fv1%2Fpolymarket-wallet
const res = await pay("https://api.vextorium.com/v1/polymarket-wallet", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":2,"wallet":"0x5d189e816b4149be00977c1a3c8840374aec4972"}),
});
console.log(await res.json());Example input
{
"limit": 2,
"wallet": "0x5d189e816b4149be00977c1a3c8840374aec4972"
}Example output
{
"detail": [
{
"avg_price": 0.009,
"chargeable": false,
"close": "2028-11-08",
"current_price": 0.0055,
"invested_usd": 15442.5,
"market": "Will Mark Cuban win the 2028 Democratic presidential nomination?",
"pnl_pct": -38.89,
"pnl_usd": -6005.42,
"result": "Yes",
"slug": "will-mark-cuban-win-the-2028-democratic-presidential-nomination-329",
"stakes": 1715833.79,
"value_usd": 9437.09
},
{
"avg_price": 0.0107,
"chargeable": false,
"close": "2028-11-08",
"current_price": 0.0115,
"invested_usd": 8019.91,
"market": "Will Dwayne 'The Rock' Johnson win the 2028 Democratic presidential nomination?",
"pnl_pct": 6.75,
"pnl_usd": 541.02,
"result": "Yes",
"slug": "will-dwayne-the-rock-johnson-win-the-2028-democratic-presidential-nomination",
"stakes": 744429.11,
"value_usd": 8560.93
}
],
"positions": 267,
"source": "Polymarket (public data API)",
"total_invested_usd": 770025.71,
"total_pnl_usd": -684338.04,
"total_value_usd": 85687.7,
"wallet": "0x5d189e816b4149be00977c1a3c8840374aec4972"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Amount "0.004" is not in atomic token units | 402 | 90 ms | $0.004 |
| 8 h ago | Amount "0.004" is not in atomic token units | 402 | 94 ms | $0.004 |
| 13 h ago | Amount "0.004" is not in atomic token units | 402 | 81 ms | $0.004 |
| 17 h ago | Amount "0.004" is not in atomic token units | 402 | 86 ms | $0.004 |
| 21 h ago | Amount "0.004" is not in atomic token units | 402 | 87 ms | $0.004 |
| 25 h ago | Amount "0.004" is not in atomic token units | 402 | 101 ms | $0.004 |
| 29 h ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 33 h ago | Amount "0.004" is not in atomic token units | 402 | 84 ms | $0.004 |
| 37 h ago | Amount "0.004" is not in atomic token units | 402 | 264 ms | $0.004 |
| 42 h ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 45 h ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 73 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 81 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 107 ms | $0.004 |