Open positions of a wallet on Polymarket: market, outcome, shares, average and current…
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.
by api.vextorium.com · discovered, not yet claimed by its owner · updated 2026-10-06
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: polymarket · portfolio · pnl · prediction-markets · wallet · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-06
{
"limite": 2,
"wallet": "0x5d189e816b4149be00977c1a3c8840374aec4972"
}{
"cartera": "0x5d189e816b4149be00977c1a3c8840374aec4972",
"detalle": [
{
"cierre": "2028-11-08",
"cobrable": false,
"invertido_usd": 15442.5,
"mercado": "Will Mark Cuban win the 2028 Democratic presidential nomination?",
"participaciones": 1715833.79,
"pnl_pct": -38.89,
"pnl_usd": -6005.42,
"precio_actual": 0.0055,
"precio_medio": 0.009,
"resultado": "Yes",
"slug": "will-mark-cuban-win-the-2028-democratic-presidential-nomination-329",
"valor_usd": 9437.09
},
{
"cierre": "2028-11-08",
"cobrable": false,
"invertido_usd": 8019.91,
"mercado": "Will Dwayne 'The Rock' Johnson win the 2028 Democratic presidential nomination?",
"participaciones": 744429.11,
"pnl_pct": 6.75,
"pnl_usd": 541.02,
"precio_actual": 0.0115,
"precio_medio": 0.0107,
"resultado": "Yes",
"slug": "will-dwayne-the-rock-johnson-win-the-2028-democratic-presidential-nomination",
"valor_usd": 8560.93
}
],
"fuente": "Polymarket (API pública de datos)",
"invertido_total_usd": 770025.71,
"pnl_total_usd": -684338.04,
"posiciones": 267,
"valor_total_usd": 85687.7
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/37468.jsonfor the price and payment options. - Pay. Call
GET https://api.vextorium.com/polymarket-cartera-pago. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, Polygon, Optimism, eip155:5042, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.004 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, Polygon, Optimism, eip155:5042
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.004 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.004 | HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2 | 300s |
| exact | Polygon eip155:137 | USDC | $0.004 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Optimism eip155:10 | 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 | 4000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 4000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "4000",
"amountUsd": 0.004,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:10",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "4000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "4000",
"maxTimeoutSeconds": 604900
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"cartera": {
"type": [
"string",
"null"
]
},
"detalle": {
"items": {
"properties": {
"cierre": {
"type": [
"null",
"string"
]
},
"cobrable": {
"type": [
"boolean",
"null"
]
},
"invertido_usd": {
"type": [
"null",
"number"
]
},
"mercado": {
"type": [
"null",
"string"
]
},
"participaciones": {
"type": [
"null",
"number"
]
},
"pnl_pct": {
"type": [
"null",
"number"
]
},
"pnl_usd": {
"type": [
"null",
"number"
]
},
"precio_actual": {
"type": [
"null",
"number"
]
},
"precio_medio": {
"type": [
"null",
"number"
]
},
"resultado": {
"type": [
"null",
"string"
]
},
"slug": {
"type": [
"null",
"string"
]
},
"valor_usd": {
"type": [
"null",
"number"
]
}
},
"type": [
"null",
"object"
]
},
"type": [
"array",
"null"
]
},
"fuente": {
"type": [
"string",
"null"
]
},
"invertido_total_usd": {
"type": [
"number",
"null"
]
},
"pnl_total_usd": {
"type": [
"number",
"null"
]
},
"posiciones": {
"type": [
"number",
"null"
]
},
"valor_total_usd": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"cartera": "string",
"detalle": [
{
"cierre": null,
"cobrable": true,
"invertido_usd": null,
"mercado": null,
"participaciones": null,
"pnl_pct": null,
"pnl_usd": null,
"precio_actual": null,
"precio_medio": null,
"resultado": null,
"slug": null,
"valor_usd": null
}
],
"fuente": "string",
"invertido_total_usd": 0,
"pnl_total_usd": 0,
"posiciones": 0,
"valor_total_usd": 0
},
"type": "string"
}Examples
curl "https://api.vextorium.com/polymarket-cartera-pago"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.vextorium.com/polymarket-cartera-pago");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.vextorium.com/polymarket-cartera-pago")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.vextorium.com
- Endpoint
- https://api.vextorium.com/polymarket-cartera-pago
- Machine-readable
/resources/37468.json