{"uid":"cap_2r3k0DdoisAcNiRWDP4eH","slug":"solana-rent-exempt-minimum-balance-lookup-c8b2478d","name":"Solana Rent-Exempt Minimum Balance Lookup","description":"Minimum lamports / SOL for a Solana account with N data bytes to be rent-exempt (getMinimumBalanceForRentExemption, cached 1 h). 165 = token account, 82 = mint, 0 = plain wallet.","url":"https://mintintel.35-171-220-195.sslip.io/v1/sol/rent-exempt/:bytes?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"},"pathParams":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":"string","description":"integer data size 0..10485760"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["bytes","lamports","sol"],"properties":{"sol":{"type":"string"},"bytes":{"type":"integer"},"lamports":{"type":"integer"}}}}}}},"responseSchema":null,"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_pkx68IfTAIngP1D3M1f_A","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 the minimum lamports (and SOL) required for a Solana account of N data bytes to be rent-exempt, cached for 1 hour.","exampleAgentPrompt":"How many lamports do I need to deposit to make a 165-byte Solana token account rent-exempt?","exampleUseCases":[{"title":"Token account creation funding","prompt":"I'm about to create a new SPL token account on Solana — how many lamports do I need to send to make it rent-exempt? It's a standard token account so 165 bytes."},{"title":"Mint account initialization cost","prompt":"Before I initialize a new SPL mint on Solana, tell me the minimum SOL balance needed to keep it rent-exempt — it's an 82-byte mint account."},{"title":"Custom program account budgeting","prompt":"I'm deploying a custom Solana program account that stores 1024 bytes of data. What's the minimum lamport balance I need to fund it with so it never gets garbage collected?"}],"resultDescription":"Returns a JSON object containing the number of bytes queried, the minimum balance in lamports as an integer, and the equivalent SOL amount as a string. The value is sourced from Solana's getMinimumBalanceForRentExemption RPC call and cached for up to 1 hour.","failureModes":["Invalid or non-integer bytes value returns an error response","Bytes value exceeding 10485760 (10 MB) is out of range and rejected","Stale cached data if Solana rent economics change within the 1-hour cache window","Upstream RPC node unavailability causing 502/503 errors","Payment failure via x402 protocol returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap, cached lookup of Solana rent-exempt minimums for common account sizes (165 for token accounts, 82 for mints, 0 for wallets) or any arbitrary byte size up to 10 MB. Prefer this over calling a Solana RPC node directly when you want to avoid RPC infrastructure costs or rate limits, and when 1-hour cache freshness is acceptable (rent economics rarely change).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:17.148Z","isFirstParty":false,"canonicalSlug":"solana-rent-exempt-minimum-balance-lookup-c8b2478d"}