GET /polymarket/pnl/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/arkham/polymarket/pnl/chartCache cached 1s, never served stale past that windowCost per_call · weight 3 · standard rate classSource billing creditspolymarket pnl chart
Parameters
| name | in | type | description | |
|---|---|---|---|---|
userAddress | query | str | optional | example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
timeframe | query | str | optional | example: 24h |
Response
type: object
data key: points
pagination: none
sample: {
"userAddress": "str",
"interval": "str",
"startTime": "str",
"endTime": "str",
"points": "array[0]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/arkham/polymarket/pnl/chart?userAddress=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&timeframe=24h"