# Solana Priority Fee Estimator

> Solana Priority Fee Estimator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Returns recent per-slot priority fee statistics (min, median, p75, p90, max in micro-lamports per CU) and estimated total cost in SOL for a 200k-CU transaction on Solana.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/solana-priority-fees?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-priority-fee-estimator-ea36009b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZMp02AmeQNv3Qk1wirClB

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-priority-fee-estimator-ea36009b -d '<json body>'
```

Example prompt: What are the current Solana priority fees? I need the min, median, p75, p90, and max micro-lamports per CU from recent slots, and how much a 200k-CU transaction would cost in SOL at those percentiles — check contention around the Jupiter and Raydium accounts.

## When to prefer this

Use this endpoint when you need real-time, percentile-based Solana priority fee data derived from recent landed transactions — especially when optimizing fee setting for DeFi transactions on high-contention programs like Jupiter or Raydium. Prefer this over static fee lookups or generic RPC calls when you need SOL cost estimates for a 200k-CU transaction and want to avoid both underpaying (dropped tx) and overpaying.

## Known failure modes

- Invalid or malformed account address in the accounts array returns an error
- Network connectivity issues to Solana RPC may produce stale or unavailable data
- Missing required 'input' body field returns a validation error
- Very low network activity periods may yield mostly-zero fee distributions (legitimate but potentially confusing)
- Payment failure via x402 protocol blocks the request

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

A JSON object containing the network name ('solana'), the number of analyzed slots, the reference accounts used, a breakdown of micro-lamports per compute unit at min/median/p75/p90/max percentiles, and estimated total cost in SOL for a 200k-CU transaction at median/p75/p90 and without any priority fee. Also includes an explanatory note about the methodology.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "accounts": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional accounts to measure contention on (default: Jupiter and Raydium)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Values = minimum priority fee that landed in each of the last slots for those accounts…",
  "network": "solana",
  "analyzed_slots": 150,
  "reference_accounts": [
   "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
  ],
  "microlamports_per_unit": {
   "max": 19999360,
   "min": 0,
   "p75": 0,
   "p90": 476435,
   "median": 0
  },
  "estimated_cost_sol_200k_units": {
   "p75": 0.000005,
   "p90": 0.000100287,
   "median": 0.000005,
   "without_priority": 0.000005
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-priority-fee-estimator-ea36009b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
