GET /user-portfolio/{userId}/public
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pumpfun/user-portfolio/{userId}/publicCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePublic token positions and portfolio summary for a wallet or user ID.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
userId | path | str | required | Solana wallet address or user ID. example: HyYNVYmnFmi87NsQqWzLJhUTPBKQUfgfhdbBa554nMFF |
Response
type: object
data key: positions
pagination: none
sample: {
"positions": "array[200]",
"summary": "object",
"updatesApplied": "bool",
"profilePin": "object"
}
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/pumpfun/user-portfolio/HyYNVYmnFmi87NsQqWzLJhUTPBKQUfgfhdbBa554nMFF/public"