{"uid":"cap_JgX5h-yDDxphJAuxqYDC7","slug":"nanoapi-solana-fee-recommender-ce80d38d","name":"NanoAPI Solana Fee Recommender","description":"Pay-per-use APIs for AI agents: image processing and Solana data endpoints. $0.001-$0.01 USDC per call on Base or Solana via x402 protocol. No signup or API keys required.","url":"https://nanoapi.org/sol/fees/recommend?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Solana public key (base58)"},"maxItems":64,"description":"Writable accounts for the transaction (optional; empty = global estimate)"},"priority":{"enum":["low","medium","high","veryHigh"],"type":"string","description":"Priority level; omit to receive all levels in `levels` object"},"computeUnits":{"type":"integer","maximum":1400000,"minimum":1000,"description":"Compute unit limit for the intended tx (default 200000). Used to compute lamport totals."}}},"responseSchema":{"type":"json","example":"{\"microLamportsPerCU\":50000,\"computeUnitLimit\":200000,\"priorityFeeLamports\":10000,\"priorityFeeSOL\":0.00001,\"baseFeeLamports\":5000,\"estimatedTotalFeeLamports\":15000,\"estimatedTotalFeeSOL\":0.000015,\"priorityLevel\":\"medium\"}"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5H9XsCYGJinwX_o1P5Yvv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recommended Solana transaction priority fees (in microlamports, lamports, and SOL) for a given set of writable accounts and compute unit budget","exampleAgentPrompt":"What's the recommended medium priority fee for a Solana transaction involving accounts 7Np41oeYqPefeafQeh6AjKZ4aKxjCNJRFNfXBtb7nFCP and 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin with a compute unit limit of 200000?","exampleUseCases":null,"resultDescription":"A JSON object containing the recommended priority fee in microlamports per compute unit, the compute unit limit, priority fee in lamports and SOL, base fee in lamports, estimated total fee in both lamports and SOL, and the priority level used for the estimate. If no priority level is specified, all four levels (low, medium, high, veryHigh) are returned.","failureModes":["Invalid Solana public key format returns validation error","computeUnits out of range (below 1000 or above 1400000) returns 400","Payment not included or insufficient causes 402 response requiring x402 payment","Unknown priority enum value causes 400 bad request","Network congestion data unavailable may cause 503 or degraded estimates"],"whenToPreferThis":"Use this endpoint when building Solana transaction submission logic and you need a real-time, data-driven priority fee recommendation rather than a static guess. Especially useful when targeting specific writable accounts that may have elevated congestion. Prefer this over hardcoded fee values or generic estimates when transaction landing rate matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:43:34.087Z","isFirstParty":false,"canonicalSlug":"nanoapi-solana-fee-recommender-ce80d38d"}