UNRENT Reclaim API

The Reclaim API from UNRENT, for reclaim.

GitHub OpenAPI

Operations 2

POST /reclaim/build Create unsigned reclaim transactions #
POST /reclaim/submit Submit the signed reclaim transactions #

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-reclaim-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-reclaim-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UNRENT Reclaim 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: Reclaim
paths:
  /reclaim/build:
    post:
      operationId: buildReclaim
      summary: Create unsigned reclaim transactions
      description: 'Unsigned, simulated transactions (base64) for the wallet to sign. Free: the service fee is the last instruction of each transaction. Sign every transaction unchanged and submit within about 30 seconds.'
      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).
                accounts:
                  description: 'Only these account addresses (from a scan). Default: everything reclaimable.'
                  maxItems: 2000
                  type: array
                  items:
                    type: string
                burn:
                  description: Token accounts to burn and close (from the scan's burn.candidates). Only when the wallet owner explicitly asked for it.
                  maxItems: 2000
                  type: array
                  items:
                    type: string
                burnMaxUsd:
                  description: Highest USD value per account that may be burned (capped by burn.cleanupMaxUsd). Dust is burned regardless.
                  type: number
                  minimum: 0
                  maximum: 1000
                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: claimId, base64 transactions and a summary in SOL.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 'Invalid input: `{ error }`.'
          content:
            application/json:
              schema:
                type: object
        '404':
          description: Nothing to reclaim.
          content:
            application/json:
              schema:
                type: object
        '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:
      - Reclaim
  /reclaim/submit:
    post:
      operationId: submitReclaim
      summary: Submit the signed reclaim transactions
      description: Checks the signed transactions against the build and sends them to Solana. Free.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                claimId:
                  type: string
                  minLength: 10
                  maxLength: 32
                  description: claimId from the build.
                signed:
                  minItems: 1
                  maxItems: 100
                  type: array
                  items:
                    type: string
                    maxLength: 4000
                  description: The signed transactions, base64, in the order the build returned them.
              required:
              - claimId
              - signed
      responses:
        '200':
          description: Status and signature of every transaction.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 'Invalid input: `{ error }`.'
          content:
            application/json:
              schema:
                type: object
        '409':
          description: Already submitted, or another claim is in flight.
          content:
            application/json:
              schema:
                type: object
        '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:
      - Reclaim