# Myworker Agent API – Solana Network Fee Estimator

> Myworker Agent API – Solana Network Fee Estimator is a paid API for AI agents from crypto-micro-agent.mykira.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns current Solana network fee statistics including TPS, priority micro-lamport fee percentiles, and estimated transaction costs for a given account or default SOL/USDC reference accounts.

## Facts

- Endpoint: GET https://crypto-micro-agent.mykira.workers.dev/api/agent/yuran-rangkaian?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/myworker-agent-api-solana-network-fee-estimator-4c7b01cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C9HqbwrPzQ4bRjGj_VaUn

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 myworker-agent-api-solana-network-fee-estimator-4c7b01cd
```

Example prompt: What are the current Solana network fees right now, including priority fee percentiles and estimated cost for an account like So11111111111111111111111111111111111111112?

## When to prefer this

Choose this endpoint when you need real-time Solana fee data — priority fee percentiles, TPS, and cost estimates — especially within an automated agent or trading bot that must decide fee levels before submitting transactions. It is particularly useful when you want account-specific fee sampling rather than generic network averages, and when you are comfortable paying $0.005 USDC per call via x402 micropayment on Solana or Base.

## Known failure modes

- Invalid account address format returns error
- More than 5 comma-separated accounts causes rejection
- Payment not sent or insufficient USDC/SOL triggers 402 response
- RPC node unavailability may cause timeout or error
- Empty or malformed query parameters may fall back to default SOL/USDC reference accounts

## How this service works

Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.

## Output

A JSON object containing: estimated network TPS, priority fee percentiles (minimum, median, p75, p90, maximum) in micro-lamports per compute unit with sample count, base fee in lamports per signature, and a detailed cost breakdown (SOL, USD, lamports, base lamports, and tip lamports) for a sample 200k compute unit transaction. Also returns whether default accounts were used and which accounts were sampled.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "example": {
      "akaun": "So11111111111111111111111111111111111111112"
     },
     "properties": {
      "akaun": {
       "type": "string",
       "description": "Alamat akaun boleh-tulis dalam urus niaga anda, dipisah koma (maks 5). Kosong = guna SOL & USDC sebagai rujukan."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "hasil": {
   "akaun_lalai": false,
   "akaun_disampel": [
    "So11111111111111111111111111111111111111112"
   ],
   "tps_rangkaian_anggaran": 4873,
   "contoh_anggaran_200k_unit_pengiraan": {
    "jumlah_sol": 0.0000052,
    "jumlah_usd": 0.0009,
    "jumlah_lamports": 5200,
    "lamports_yuran_asas": 5000,
    "lamports_tip_pada_median": 200
   },
   "keutamaan_mikro_lamport_setiap_unit": {
    "p75": 7000,
    "p90": 79790,
    "median": 1000,
    "minimum": 0,
    "maksimum": 2760538,
    "bilangan_sampel": 150
   },
   "yuran_asas_lamports_setiap_tandatangan": 5000
  },
  "servis": "yuran-rangkaian"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myworker-agent-api-solana-network-fee-estimator-4c7b01cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto-micro-agent.mykira.workers.dev](https://www.zero.xyz/host/crypto-micro-agent.mykira.workers.dev/llms.txt)
