# Solana Network Fees API

> Solana Network Fees API is a paid API for AI agents from klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns current Solana network base fees and priority fees, optionally filtered by a specific on-chain program ID.

## Facts

- Endpoint: GET https://klymax402.com/api/solana-fees/api/fees
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-network-fees-api-c05e8b1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7dDZlZVCKZIrAP_dnldWo

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-network-fees-api-c05e8b1a
```

Example prompt: What are the current Solana network fees right now, and can you also get the priority fees specifically for the Jupiter aggregator program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4?

## When to prefer this

Use this endpoint when you need real-time Solana fee data for transaction cost estimation, especially when you need program-specific priority fee recommendations for DeFi protocols like Jupiter. Prefer this over building your own RPC calls when you want a simple pay-per-call model with no API key management.

## Known failure modes

- Invalid or non-existent program ID returns empty or error response
- Network unavailability from Solana RPC nodes may cause timeouts
- Payment failure (insufficient USDC balance on Base) blocks the call
- Rate limiting or quota exhaustion on the upstream provider

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

A JSON object containing the chain name, current base fee in lamports, a recent slot number, a timestamp, and a priority fees breakdown object — optionally scoped to a specific program ID if one was provided.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "example",
  "baseFee": 1,
  "timestamp": "example",
  "recentSlot": 1,
  "priorityFees": {}
 }
}
```

## More

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