UNRENT Scan API

The Scan API from UNRENT, for scan.

GitHub OpenAPI

Operations 1

POST /scan Fetch reclaimable Solana rent for a wallet #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unrent-xyz:unrent-xyz-scan-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unrent-xyz-scan-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UNRENT Scan API
  version: 1.0.0
  description: Reclaim overpaid rent from Solana token accounts. SIMD-0437 lowers lamports_per_byte from 6,960 to 696 in five steps; existing accounts keep their old deposit until it is withdrawn. UNRENT scans wallets and builds unsigned reclaim transactions (WithdrawExcessLamports, CloseAccount) for the wallet to sign. Non-custodial. Scans are paid per request; reclaims carry UNRENT's service fee inside the transactions and cost nothing extra.
  contact:
    url: https://unrent.xyz
servers:
- url: https://unrent.xyz/api/v1
tags:
- name: Scan
paths:
  /scan:
    post:
      operationId: scanWallet
      summary: Fetch reclaimable Solana rent for a wallet
      description: Excess rent, empty accounts and mint excess in SOL, the service fee, the net amount, a forecast per remaining step, dust that may be burned, and a signUrl for browser wallets.
      x-price-usd: '0.002'
      x-payment-info:
        offers:
        - amount: '2000'
          currency: USDC
          description: 0.002 USDC
          intent: charge
          method: mpp
          network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
          payTo: 9C2wveyrZgzjqPG38LpEi99KHtxBMdkpEKSpawGTPrpp
          scheme: charge
        - amount: '2000'
          currency: USDC
          description: 0.002 USDC
          feePayer: 6Sy6sdWpeR84acmYAywKSyiAGZA2TTTo1h7vaNZmPpbR
          intent: charge
          method: x402
          network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
          payTo: 9C2wveyrZgzjqPG38LpEi99KHtxBMdkpEKSpawGTPrpp
          scheme: exact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                wallet:
                  type: string
                  description: Solana wallet address (base58).
                ref:
                  description: Optional UNRENT referral code. The referrer gets a share of the service fee; the wallet pays the same.
                  type: string
                  maxLength: 32
              required:
              - wallet
            example:
              wallet: C569uDVow3rhCRT8GNp9xdzpU19rp6Deem4LQgCf89XZ
      responses:
        '200':
          description: Reclaimable SOL, fee, net, forecast per remaining step, burn candidates and signUrl.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 'Invalid input: `{ error }`.'
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment required (MPP or x402, USDC on Solana mainnet). Pay and repeat the request, e.g. with `pay curl`.
        '429':
          description: 'Rate limited: `{ error }`.'
          content:
            application/json:
              schema:
                type: object
        '503':
          description: 'Busy: the scan queue is full. Try again shortly.'
          content:
            application/json:
              schema:
                type: object
      tags:
      - Scan