Get portfolio value
Endpoint
Section titled “Endpoint”GET /value
Server: https://data.openfish.fun (port 3003)
Tags: Core
Computes the aggregate portfolio value for a wallet, optionally scoped to particular markets.
Parameters
Section titled “Parameters”| Name | In | Type | Description |
|---|---|---|---|
user | query | string | Required. User wallet address |
market | query | string | Comma-separated condition IDs (optional; omit for total portfolio) |
Response
Section titled “Response”200 — A Value object.
{ "user": "0xabc...", "value": "1250.75"}Example
Section titled “Example”curl "https://data.openfish.fun/value?user=0xabc123..."