# Solana Rent Exemption Calculator

> Solana Rent Exemption Calculator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-18).

Returns the minimum SOL (and lamports) required for a Solana account of a given byte size to be rent-exempt, with reference values for common account types.

## Facts

- Endpoint: POST https://api.vextorium.com/sol-alquiler-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-rent-exemption-calculator-4bd8ee64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CZzcfJx099aMvsQTpx0n2

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-rent-exemption-calculator-4bd8ee64 -d '<json body>'
```

Example prompt: How much SOL do I need to deposit to make a 165-byte Solana token account rent-exempt? Also show me the reference minimums for a wallet and an SPL mint.

## When to prefer this

Use this endpoint when you need to programmatically determine the exact SOL rent-exempt minimum for any Solana account size, especially when deploying smart contracts, creating token accounts, or building wallet UIs that need to guide users on minimum SOL deposits. Prefer this over manual calculation to avoid errors from Solana epoch-based rent changes.

## Known failure modes

- Missing or invalid bytes_cuenta field returns an error
- Non-integer byte value causes a validation error
- Negative byte count may return an unexpected result or error
- Service downtime returns a non-200 HTTP response

## How this service works

Minimum SOL for a Solana account of a given size to be rent-exempt (165 bytes = token account, 82 = mint, 0 = wallet), with common reference sizes.

## Output

Returns the input byte size, the minimum SOL required for rent exemption at that size, the equivalent in lamports, and reference rent-exempt minimums for a wallet (0 bytes), an SPL mint (82 bytes), and an SPL token account (165 bytes).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bytes_cuenta": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 165,
  "minimo_sol": 0.00148844,
  "minimo_lamports": 1488440,
  "referencias_sol": {
   "wallet": 0.00065024,
   "mint_spl": 0.0010668,
   "cuenta_token_spl": 0.00148844
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-rent-exemption-calculator-4bd8ee64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
