# 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-01).

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

## Facts

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

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-f8b7367f -d '<json body>'
```

Example prompt: What are the current Solana priority fees right now — give me the min, median, p75, p90, and max in micro-lamports per CU, and also the estimated SOL cost for a 200k-CU transaction at those percentiles, checking contention on Jupiter and Raydium accounts.

## When to prefer this

Choose this endpoint when you need real-time, percentile-based Solana priority fee estimates — especially when targeting specific high-contention accounts like Jupiter or Raydium. It is ideal for DeFi bots, wallet UIs, or any agent that needs to dynamically set priority fees to ensure timely transaction inclusion without overpaying.

## Known failure modes

- Invalid account address format in cuentas array returns an error
- Solana RPC unavailability may cause data fetch failures
- Empty or malformed request body returns a validation error
- Rate limiting or payment failure (x402) if USDC payment is not attached

## How this service works

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

## Output

Returns a JSON object with: the Solana network name, a note, the number of slots analyzed, the reference accounts used, a breakdown of micro-lamports per compute unit at min/median/p75/p90/max percentiles, and estimated total SOL cost for a 200k-CU transaction at median/p75/p90 and without any priority fee.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {
      "cuentas": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional accounts to measure contention on (default: Jupiter and Raydium)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "red": {
       "type": [
        "string",
        "null"
       ]
      },
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "slots_analizados": {
       "type": [
        "number",
        "null"
       ]
      },
      "cuentas_de_referencia": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "string",
         "null"
        ]
       }
      },
      "microlamports_por_unidad": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "p75": {
         "type": [
          "number",
          "null"
         ]
        },
        "p90": {
         "type": [
          "number",
          "null"
         ]
        },
        "maximo": {
         "type": [
          "number",
          "null"
         ]
        },
        "minimo": {
         "type": [
          "number",
          "null"
         ]
        },
        "mediana": {
         "type": [
          "number",
          "null"
         ]
        }
       }
      },
      "coste_estimado_sol_200k_unidades": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "p75": {
         "type": [
          "number",
          "null"
         ]
        },
        "p90": {
         "type": [
          "number",
          "null"
         ]
        },
        "mediana": {
         "type": [
          "number",
          "null"
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "red": "solana",
  "nota": "Valores = comision minima de prioridad que entro en cada uno de los ultimos slots para ...",
  "slots_analizados": 150,
  "cuentas_de_referencia": [
   "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
  ],
  "microlamports_por_unidad": {
   "p75": 0,
   "p90": 476435,
   "maximo": 19999360,
   "minimo": 0,
   "mediana": 0
  },
  "coste_estimado_sol_200k_unidades": {
   "p75": 0.000005,
   "p90": 0.000100287,
   "mediana": 0.000005,
   "sin_prioridad": 0.000005
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-priority-fee-estimator-f8b7367f/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)
