UNRENT Portfolio API

The Portfolio API from UNRENT, for portfolio.

GitHub OpenAPI

Operations 1

POST /portfolio Fetch reclaimable rent for up to 25 wallets #

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-portfolio-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-portfolio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UNRENT Portfolio 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: Portfolio
paths:
  /portfolio:
    post:
      operationId: scanPortfolio
      summary: Fetch reclaimable rent for up to 25 wallets
      description: Reclaimable, fee and net SOL per wallet and in total, in one request.
      x-price-usd: '0.02'
      x-payment-info:
        offers:
        - amount: '20000'
          currency: USDC
          description: 0.02 USDC
          intent: charge
          method: mpp
          network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
          payTo: 9C2wveyrZgzjqPG38LpEi99KHtxBMdkpEKSpawGTPrpp
          scheme: charge
        - amount: '20000'
          currency: USDC
          description: 0.02 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:
                wallets:
                  minItems: 1
                  maxItems: 25
                  type: array
                  items:
                    type: string
                    description: Solana wallet address (base58).
                  description: Up to 25 Solana wallet addresses.
              required:
              - wallets
            example:
              wallets:
              - C569uDVow3rhCRT8GNp9xdzpU19rp6Deem4LQgCf89XZ
      responses:
        '200':
          description: Reclaimable, fee and net SOL per wallet and in total.
          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:
      - Portfolio