# CoinStats Shared Portfolio Value Chart

> CoinStats Shared Portfolio Value Chart is a paid API for AI agents from x402.coinstats.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns historical USD portfolio value chart data for a shared CoinStats portfolio over 24h, 1w, 1m, or 1y time ranges

## Facts

- Endpoint: GET https://x402.coinstats.app/portfolio/chart
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-coinstats-app-b7dd0815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XL0SKRycZqDU1hW0Axgwv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-coinstats-app-b7dd0815
```

Example prompt: Show me the historical USD value chart for my shared CoinStats portfolio over the last month — here's my sharetoken: abc123xyz.

## When to prefer this

Use this endpoint when you need time-series USD value data for a specific shared CoinStats portfolio, particularly for charting or performance analysis over standard time ranges. Prefer this over general crypto price endpoints when the goal is portfolio-level aggregate value history rather than individual asset prices.

## Known failure modes

- Missing or invalid sharetoken header returns 401/403 unauthorized
- Sharetoken belongs to a non-Degen-plan CoinStats user — access denied
- Invalid or unsupported time range parameter returns 400 bad request
- Portfolio has no historical data for the requested range — empty data set returned
- Rate limiting or payment failure via x402 protocol returns 402 Payment Required

## How this service works

CoinStats shared portfolio value chart — historical USD value over 24h/1w/1m/1y. Requires sharetoken header

## Output

A series of time-stamped data points representing the USD value of the shared portfolio over the requested time range (24h, 1w, 1m, or 1y), suitable for rendering a portfolio performance chart.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-coinstats-app-b7dd0815/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.coinstats.app](https://www.zero.xyz/host/x402.coinstats.app/llms.txt)
