# Solana Perps Venue Comparison with Size-Aware Entry Cost Analysis

> Solana Perps Venue Comparison with Size-Aware Entry Cost Analysis is a paid API for AI agents from api.solenrich.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Compares perpetual futures venues (Jupiter, Adrena, etc.) for a specific asset and position size, returning ranked entry costs, borrow APR, OI headroom, and a recommended venue with warnings.

## Facts

- Endpoint: POST https://api.solenrich.com/entrypoints/perps-venue-comparison/invoke
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-perps-venue-comparison-with-size-aware-entry-cost-analysis-09a2f679
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QqHNZrkFJhSnM4J_ZZM_N

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 solana-perps-venue-comparison-with-size-aware-entry-cost-analysis-09a2f679 -d '<json body>'
```

Example prompt: I want to open a $75,000 SOL long — can you compare Solana perp venues by total entry cost, including slippage, fees, OI headroom, and first-hour borrow cost, and tell me which venue you recommend?

## When to prefer this

Use this endpoint when you need to size a real position and want a full cost breakdown including slippage, fees, and borrow costs across venues — not just funding rates. Prefer this over perps-cross-venue-funding when the user has a specific dollar size in mind and needs a venue recommendation. It is particularly valuable for large trades where slippage and OI headroom become material.

## Known failure modes

- Unsupported market symbol returns validation error
- Position size below $100 or above $10M returns out-of-range error
- Venue data temporarily unavailable returns partial or degraded response
- Invalid side enum value returns schema validation error
- Network timeout if on-chain data feeds are slow

## How this service works

Builds on cross-venue funding with size-aware fields: Jupiter Quote spot slippage at requested size, per-venue fee, OI cap headroom, first-hour borrow cost, and total entry cost. Returns rankings by entry cost / borrow APR / headroom plus a recommendation venue with warnings. Use when sizing a real position; use perps-cross-venue-funding for rates-only context.

## Output

A structured breakdown per venue showing: Jupiter Quote spot slippage at the requested size, per-venue fee, open interest cap headroom, first-hour borrow cost, and total entry cost. Also includes venue rankings by entry cost, borrow APR, and OI headroom, plus a recommended venue with any relevant warnings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "side": {
   "enum": [
    "long",
    "short"
   ],
   "type": "string",
   "default": "long",
   "description": "Side being sized"
  },
  "format": {
   "enum": [
    "json",
    "llm",
    "both"
   ],
   "type": "string",
   "default": "json"
  },
  "market": {
   "enum": [
    "SOL",
    "BTC",
    "ETH",
    "BONK"
   ],
   "type": "string",
   "description": "Asset to query"
  },
  "size_usd": {
   "type": "number",
   "maximum": 10000000,
   "minimum": 100,
   "description": "Position size in USD"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "output": {
   "briefing": "string (llm format) or object (json format)"
  },
  "run_id": "uuid",
  "status": "succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-perps-venue-comparison-with-size-aware-entry-cost-analysis-09a2f679/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solenrich.com](https://www.zero.xyz/host/api.solenrich.com/llms.txt)
