# Solana Priority Fee Estimator

> Solana Priority Fee Estimator is a paid API for AI agents from solana-fees.api.klymax402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns priority fee estimates for Solana transactions, optionally scoped to a specific program

## Facts

- Endpoint: GET https://solana-fees.api.klymax402.com/api/fees
- 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/solana-fees-api-klymax402-com-1c498449
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GdksSO0eReXLhGXclcnhg

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-fees-api-klymax402-com-1c498449
```

Example prompt: What priority fee should I use for a Jupiter swap on Solana right now? Use the program ID JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4.

## When to prefer this

Use this endpoint when building Solana transaction submission flows that need dynamic priority fee recommendations, especially when targeting specific programs like Jupiter, Raydium, or other DeFi protocols where program-specific fees differ from global averages.

## Known failure modes

- Invalid or unrecognized program ID returns an error or falls back to global fees
- Network congestion data unavailable leads to stale or missing estimates
- Rate limiting or payment failure (402) if USDC payment is not included
- Malformed query parameters may return a 400 bad request

## How this service works

Priority fee estimates for Solana transactions

## Output

Returns priority fee estimates (compute unit prices) for Solana transactions — either globally across the network or scoped to a specific program like Jupiter, helping callers set appropriate fees to ensure timely transaction confirmation.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
  }
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "program": {
       "type": "string",
       "description": "Program ID to get program-specific fees (e.g. JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 for Jupiter). Optional — omit for global fees."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-fees-api-klymax402-com-1c498449/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solana-fees.api.klymax402.com](https://www.zero.xyz/host/solana-fees.api.klymax402.com/llms.txt)
