# MadeOnSol Open Positions API

> MadeOnSol Open Positions API is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns all open trading lots (positions) for a Solana wallet address, without PnL summary, curve, or closed-position data.

## Facts

- Endpoint: GET https://api.relai.fi/relay/1780517153303/wallet/{address}/positions
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/madeonsol-open-positions-api-ce2d5556
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bxbDo2yGikr5tMS-Nc3wz

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 madeonsol-open-positions-api-ce2d5556
```

Example prompt: What open positions is wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU currently holding on Solana? I just want the open lots, not the full PnL breakdown.

## When to prefer this

Choose this endpoint when you only need open/active positions for a Solana wallet and want to avoid the overhead of the full /pnl payload (which includes closed positions, summary stats, and equity curve). Ideal for lightweight portfolio monitoring, position dashboards, or when you've already retrieved PnL data recently and need a fast cache-hit refresh of open lots only.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Wallet address not found or has no open positions returns empty array
- PRO+ subscription required — unauthorized if not subscribed
- Payment of $0.01 USDC required per call; failure to pay returns 402
- Cache miss on first call may incur slightly higher latency

## How this service works

Open lots only — same data as `/pnl` `open_positions[]` but without the summary, curve, or closed-positions payload. Shares the `wallet_analyses` cache: if you've recently called `/pnl` for this wallet, this call is an immediate cache hit. PRO+.

## Output

A list of open position/lot objects for the specified Solana wallet, equivalent to the open_positions[] array from the /pnl endpoint but without the PnL summary, equity curve, or closed positions data. Benefits from shared cache if /pnl was recently called for the same wallet.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/madeonsol-open-positions-api-ce2d5556/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
