Polymarket — Get Public Portfolio
Retrieve public portfolio for an address including equity and open positions with the Polymarket API. Supply an address. Sample fields include symbols. Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Polymarket — Get Public Portfolio
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
coverageobjectcollateralstringmetadata_availablebooleanmissing_instrument_idsunknown[]
equitystringpositionsobject[]entry_pricestringinstrument_idintegerreturn_on_equitystringsizestringsymbolstringunrealized_pnlstring
timestampinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
coverage?: {
collateral?: string;
metadata_available?: boolean;
missing_instrument_ids?: Array<unknown>;
};
equity?: string;
positions?: Array<{
entry_price?: string;
instrument_id?: number;
return_on_equity?: string;
size?: string;
symbol?: string;
unrealized_pnl?: string;
}>;
timestamp?: number;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get Public Portfolio · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
address | URL query parametersquery | string | Yes | Address |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"coverage": {
"collateral": "configured",
"metadata_available": true,
"missing_instrument_ids": []
},
"equity": "4009500.5457452965533623562065",
"positions": [
{
"entry_price": "216.88",
"instrument_id": 19,
"return_on_equity": "-0.0836629805545298995418470278",
"size": "660.5175",
"symbol": "NVDA-USD",
"unrealized_pnl": "-2357.5389270000000000000000028"
},
{
"entry_price": "4254.3",
"instrument_id": 2,
"return_on_equity": "-0.2786731065573547411312393487",
"size": "273.35951",
"symbol": "GOLD-USD",
"unrealized_pnl": "-61394.852073477679042304913103"
},
{
"entry_price": "55.216",
"instrument_id": 5,
"return_on_equity": "0.268898460915923500825319584",
"size": "-18221.699",
"symbol": "SILVER-USD",
"unrealized_pnl": "51347.805920864820824467932304"
},
{
"entry_price": "82167",
"instrument_id": 6,
"return_on_equity": "0.1135900075776896410365841814",
"size": "-62.73200",
"symbol": "BTC-USD",
"unrealized_pnl": "114499.05350532489704091906058"
},
{
"entry_price": "0.10038",
"instrument_id": 70,
"return_on_equity": "0.061335118796034689118216733",
"size": "28445.8",
"symbol": "CASHCAT-USD",
"unrealized_pnl": "59.599857999999999999999999629"
},
{
"entry_price": "86.025",
"instrument_id": 10,
"return_on_equity": "0.2837466652869940531530629708",
"size": "168.925",
"symbol": "HYPE-USD",
"unrealized_pnl": "874.2875414900505017168781774"
},
{
"entry_price": "336.92",
"instrument_id": 17,
"return_on_equity": "0.8955693987541121299083082523",
"size": "-284.9313",
"symbol": "GOOG-USD",
"unrealized_pnl": "14582.783934"
},
{
"entry_price": "3.1441",
"instrument_id": 34,
"return_on_equity": "0.0985592715620192464141204547",
"size": "-1492.68",
"symbol": "LIT-USD",
"unrealized_pnl": "90.72144886001368008882316468"
},
{
"entry_price": "7712.2",
"instrument_id": 1,
"return_on_equity": "-0.0011667098781436349494425719",
"size": "-2.52612",
"symbol": "SP500-USD",
"unrealized_pnl": "-4.547016"
},
{
"entry_price": "0.25371",
"instrument_id": 72,
"return_on_equity": "-0.0198253519323734388696504986",
"size": "-2045.7",
"symbol": "KAITO-USD",
"unrealized_pnl": "-2.0661216683937823834196892075"
},
{
"entry_price": "2458.1",
"instrument_id": 7,
"return_on_equity": "-0.2810361286311417680662704662",
"size": "1926.1054",
"symbol": "ETH-USD",
"unrealized_pnl": "-251955.92069674230386477933872"
}
],
"timestamp": 1793282456097
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get Public Portfolio
Retrieve public portfolio for an address including equity and open positions with the Polymarket API. Supply an address. Sample fields include symbols. Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get Public Portfolio: https://openany.si/markets/apis/capabilities/polymarket-get-public-portfolio?offering=98660cb8-903d-48ec-b8a4-402c4d141560 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/98660cb8-903d-48ec-b8a4-402c4d141560
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio
Price: $0 / call
Provider: Polymarket
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get Public Portfolio",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Address",
"location": "query",
"name": "address",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"address": "0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4"
}
},
"response_body": {
"coverage": {
"collateral": "configured",
"metadata_available": true,
"missing_instrument_ids": []
},
"equity": "4009500.5457452965533623562065",
"positions": [
{
"entry_price": "216.88",
"instrument_id": 19,
"return_on_equity": "-0.0836629805545298995418470278",
"size": "660.5175",
"symbol": "NVDA-USD",
"unrealized_pnl": "-2357.5389270000000000000000028"
},
{
"entry_price": "4254.3",
"instrument_id": 2,
"return_on_equity": "-0.2786731065573547411312393487",
"size": "273.35951",
"symbol": "GOLD-USD",
"unrealized_pnl": "-61394.852073477679042304913103"
},
{
"entry_price": "55.216",
"instrument_id": 5,
"return_on_equity": "0.268898460915923500825319584",
"size": "-18221.699",
"symbol": "SILVER-USD",
"unrealized_pnl": "51347.805920864820824467932304"
},
{
"entry_price": "82167",
"instrument_id": 6,
"return_on_equity": "0.1135900075776896410365841814",
"size": "-62.73200",
"symbol": "BTC-USD",
"unrealized_pnl": "114499.05350532489704091906058"
},
{
"entry_price": "0.10038",
"instrument_id": 70,
"return_on_equity": "0.061335118796034689118216733",
"size": "28445.8",
"symbol": "CASHCAT-USD",
"unrealized_pnl": "59.599857999999999999999999629"
},
{
"entry_price": "86.025",
"instrument_id": 10,
"return_on_equity": "0.2837466652869940531530629708",
"size": "168.925",
"symbol": "HYPE-USD",
"unrealized_pnl": "874.2875414900505017168781774"
},
{
"entry_price": "336.92",
"instrument_id": 17,
"return_on_equity": "0.8955693987541121299083082523",
"size": "-284.9313",
"symbol": "GOOG-USD",
"unrealized_pnl": "14582.783934"
},
{
"entry_price": "3.1441",
"instrument_id": 34,
"return_on_equity": "0.0985592715620192464141204547",
"size": "-1492.68",
"symbol": "LIT-USD",
"unrealized_pnl": "90.72144886001368008882316468"
},
{
"entry_price": "7712.2",
"instrument_id": 1,
"return_on_equity": "-0.0011667098781436349494425719",
"size": "-2.52612",
"symbol": "SP500-USD",
"unrealized_pnl": "-4.547016"
},
{
"entry_price": "0.25371",
"instrument_id": 72,
"return_on_equity": "-0.0198253519323734388696504986",
"size": "-2045.7",
"symbol": "KAITO-USD",
"unrealized_pnl": "-2.0661216683937823834196892075"
},
{
"entry_price": "2458.1",
"instrument_id": 7,
"return_on_equity": "-0.2810361286311417680662704662",
"size": "1926.1054",
"symbol": "ETH-USD",
"unrealized_pnl": "-251955.92069674230386477933872"
}
],
"timestamp": 1793282456097
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
address- Address
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/v1/info/portfolio?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "coverage": { "collateral": "configured", "metadata_available": true, "missing_instrument_ids": [] }, "equity": "4009500.5457452965533623562065", "positions": [ { "entry_price": "216.88", "instrument_id": 19, "return_on_equity": "-0.0836629805545298995418470278", "size": "660.5175", "symbol": "NVDA-USD", "unrealized_pnl": "-2357.5389270000000000000000028" }, { "entry_price": "4254.3", "instrument_id": 2, "return_on_equity": "-0.2786731065573547411312393487", "size": "273.35951", "symbol": "GOLD-USD", "unrealized_pnl": "-61394.852073477679042304913103" }, { "entry_price": "55.216", "instrument_id": 5, "return_on_equity": "0.268898460915923500825319584", "size": "-18221.699", "symbol": "SILVER-USD", "unrealized_pnl": "51347.805920864820824467932304" }, { "entry_price": "82167", "instrument_id": 6, "return_on_equity": "0.1135900075776896410365841814", "size": "-62.73200", "symbol": "BTC-USD", "unrealized_pnl": "114499.05350532489704091906058" }, { "entry_price": "0.10038", "instrument_id": 70, "return_on_equity": "0.061335118796034689118216733", "size": "28445.8", "symbol": "CASHCAT-USD", "unrealized_pnl": "59.599857999999999999999999629" }, { "entry_price": "86.025", "instrument_id": 10, "return_on_equity": "0.2837466652869940531530629708", "size": "168.925", "symbol": "HYPE-USD", "unrealized_pnl": "874.2875414900505017168781774" }, { "entry_price": "336.92", "instrument_id": 17, "return_on_equity": "0.8955693987541121299083082523", "size": "-284.9313", "symbol": "GOOG-USD", "unrealized_pnl": "14582.783934" }, { "entry_price": "3.1441", "instrument_id": 34, "return_on_equity": "0.0985592715620192464141204547", "size": "-1492.68", "symbol": "LIT-USD", "unrealized_pnl": "90.72144886001368008882316468" }, { "entry_price": "7712.2", "instrument_id": 1, "return_on_equity": "-0.0011667098781436349494425719", "size": "-2.52612", "symbol": "SP500-USD", "unrealized_pnl": "-4.547016" }, { "entry_price": "0.25371", "instrument_id": 72, "return_on_equity": "-0.0198253519323734388696504986", "size": "-2045.7", "symbol": "KAITO-USD", "unrealized_pnl": "-2.0661216683937823834196892075" }, { "entry_price": "2458.1", "instrument_id": 7, "return_on_equity": "-0.2810361286311417680662704662", "size": "1926.1054", "symbol": "ETH-USD", "unrealized_pnl": "-251955.92069674230386477933872" } ], "timestamp": 1793282456097 }