Vybe Network Utilities API
The Utilities API from Vybe Network, for utilities.
The Utilities API from Vybe Network, for utilities.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/vybenetwork-com:vybenetwork-com-utilities-api"
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.
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: 3.2.0
info:
contact:
email: info@vybenetwork.com
name: Vybe Dev Team
description: 'This API provides read access to data from the Solana blockchain.
The API is organized according to related data of interest.
Please consult individual endpoints'' documentation for more.
The API is for authenticated users only.
To gain access, please contact us at support@vybenetwork.com to obtain an API key.'
license:
name: Terms of Service
url: https://alpha.vybenetwork.com/terms
title: Solana API & WebSocket Utilities API
version: 4.0.11
servers:
- description: Vybe Solana API
url: https://api.vybenetwork.xyz/
security:
- apiKey: []
tags:
- name: Utilities
paths:
/v4/wallets/util/close-token-accounts:
post:
description: Solana API endpoint for closing empty Solana token accounts. Build a transaction to close Token-2022 and SPL token accounts to recover locked SOL.
operationId: close_token_accounts
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CloseTokenAccountsParam'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CloseTokenAccountsReturn'
description: Close accounts result
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify request inputs.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: No data matches provided query
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: 'Token account has non-zero balance '
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Close Token Accounts
tags:
- Utilities
/v4/wallets/util/withdraw-mev:
post:
description: Solana API endpoint for withdrawing MEV rewards on Solana. Build a transaction to claim accumulated MEV rewards from staking positions like Jito.
operationId: withdraw_mev
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WithdrawMevParam'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WithdrawMevReturn'
description: Withdraw MEV result
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify request inputs.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: No data matches provided query
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: 'Staking account has non-zero balance '
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Withdraw MEV
tags:
- Utilities
components:
schemas:
WithdrawMevChunk:
description: Schema model for withdraw mev chunk fields used in this Solana API.
properties:
accounts:
description: Details for each stake account
items:
$ref: '#/components/schemas/WithdrawMevAccountDetail'
type: array
transaction:
description: Base64-encoded unsigned transaction
type: string
required:
- transaction
- accounts
type: object
WithdrawMevParam:
description: Request payload model for withdraw mev param parameters used by this API endpoint.
properties:
gasless:
description: Use Vybe fee payer for gas
type:
- boolean
- 'null'
mevFee:
description: Fee percentage on withdrawn MEV (0-1, e.g., 0.05 for 5%)
format: double
type:
- number
- 'null'
ownerAddress:
$ref: '#/components/schemas/SolanaId'
partner:
description: Partner identifier
type:
- string
- 'null'
router:
description: Router for vybesol conversion (if vybesol is true)
type:
- string
- 'null'
simulate:
description: Simulate transaction without building
type:
- boolean
- 'null'
stakeAccountAddresses:
description: Specific stake account addresses to close (auto-fetches if not provided)
items:
$ref: '#/components/schemas/SolanaId'
type:
- array
- 'null'
vybeSOL:
description: Convert withdrawn SOL to VybeSOL
type:
- boolean
- 'null'
required:
- ownerAddress
type: object
CloseTokenAccountsParam:
description: Request payload model for close token accounts param parameters used by this API endpoint.
properties:
accountAddresses:
description: Specific token account addresses to close (auto-fetches if not provided)
items:
$ref: '#/components/schemas/SolanaId'
type:
- array
- 'null'
gasless:
description: Use Vybe fee payer for gas
type:
- boolean
- 'null'
ownerAddress:
$ref: '#/components/schemas/SolanaId'
partner:
description: Partner identifier
type:
- string
- 'null'
rentFee:
description: Fee percentage on recovered rent (0-1, e.g., 0.20 for 20%)
format: double
type:
- number
- 'null'
required:
- ownerAddress
type: object
CloseTokenAccountsTx:
description: Schema model for close token accounts tx fields used in this Solana API.
properties:
accountsClosed:
description: Number of accounts closed in this transaction
format: int32
minimum: 0
type: integer
feeCharged:
description: Fee deducted (in SOL units)
format: double
type: number
rentRecovered:
description: SOL recovered from rent (in SOL units)
format: double
type: number
transaction:
description: Base64-encoded unsigned transaction
type: string
required:
- transaction
- accountsClosed
- rentRecovered
- feeCharged
type: object
CloseTokenAccountsSummary:
description: Summary model for close token accounts summary metrics and aggregate values returned by the API.
properties:
netRecovered:
description: Net recovered
format: double
type: number
totalAccountsClosed:
description: Total number of token accounts closed
type: string
totalFeeCharged:
description: Total fee deducted (in SOL units)
format: double
type: number
totalRentRecovered:
description: Total SOL recovered from rent (in SOL units)
format: double
type: number
required:
- totalAccountsClosed
- totalRentRecovered
- totalFeeCharged
- netRecovered
type: object
SolanaId:
description: Typed Solana public key identifier used across request parameters and response fields.
format: pubkey
type: string
WithdrawMevSimulation:
description: Schema model for withdraw mev simulation fields used in this Solana API.
properties:
logs:
description: Program execution logs returned by the transaction simulation response.
items:
type: string
type: array
success:
description: Indicates whether the simulation completed successfully without runtime failure.
type: boolean
unitConsumed:
description: The compute units consumed by the simulated transaction execution.
format: int64
minimum: 0
type: integer
required:
- success
- unitConsumed
- logs
type: object
ConstraintViolation:
description: Main structure to represent any kind of validation violation.
properties:
invalidValue:
description: Provided value which leaded to the violation.
type:
- string
- 'null'
message:
description: Message to the end user.
type: string
propertyPath:
description: Property path to the field where violation occurred.
type:
- string
- 'null'
required:
- message
type: object
WithdrawMevAccountDetail:
description: Schema model for withdraw mev account detail fields used in this Solana API.
properties:
address:
description: Stake account address
type: string
mev:
description: MEV portion (in SOL)
format: double
type: number
status:
description: Status
type: string
withdrawable:
description: Withdrawable amount (in SOL)
format: double
type: number
required:
- address
- withdrawable
- mev
- status
type: object
CloseTokenAccountsReturn:
description: 'Wallet performance attribution response for API endpoints.
All fields default to 0.0 when no historical data is available.'
properties:
errors:
description: Array of error objects for failed accounts
items: {}
type: array
summary:
$ref: '#/components/schemas/CloseTokenAccountsSummary'
transactions:
description: Array of transaction objects
items:
$ref: '#/components/schemas/CloseTokenAccountsTx'
type: array
required:
- transactions
- errors
- summary
type: object
WithdrawMevReturn:
description: 'Wallet performance attribution response for API endpoints.
All fields default to 0.0 when no historical data is available.'
oneOf:
- properties:
accounts:
description: Details for each stake account
items:
$ref: '#/components/schemas/WithdrawMevAccountDetail'
type: array
chunked:
description: Whether response contains multiple transactions (false)
type: boolean
mev:
description: MEV portion of withdrawable (in SOL)
format: double
type: number
net:
description: Net amount after fee (in SOL)
format: double
type: number
protocol_fee:
description: Fee charged (in SOL)
format: double
type: number
simulation:
allOf:
- $ref: '#/components/schemas/WithdrawMevSimulation'
total_withdrawable:
description: Total withdrawable amount (in SOL)
format: double
type: number
transaction:
description: Base64-encoded unsigned transaction
type: string
required:
- transaction
- chunked
- total_withdrawable
- mev
- protocol_fee
- net
- accounts
type: object
- properties:
chunked:
description: Whether response contains multiple transactions (true)
type: boolean
simulation:
allOf:
- $ref: '#/components/schemas/WithdrawMevSimulation'
total_mev:
description: MEV portion of withdrawable (in SOL)
format: double
type: number
total_withdrawable:
description: Total withdrawable amount (in SOL)
format: double
type: number
transactions:
description: Array of chunks
items:
$ref: '#/components/schemas/WithdrawMevChunk'
type: array
required:
- chunked
- transactions
- total_withdrawable
- total_mev
type: object
ApiError:
description: Standard API error payload describing failed requests, including code, message, and traceable error metadata.
properties:
code:
description: Code ID of the error, uniquely identifying the error type
format: int32
type: integer
id:
description: 'A unique identifier for the error, representing the error ID in Sentry.
This should be submitted as a reference when contacting support.'
type: string
message:
description: A human readable message describing the error that occurred.
type: string
violations:
description: Optional collection of validation violations representations.
items:
$ref: '#/components/schemas/ConstraintViolation'
type:
- array
- 'null'
required:
- code
- message
- id
type: object
securitySchemes:
apiKey:
description: Authorization header with X-API-KEY formatting. The API key value is 48 characters.
in: header
name: X-API-KEY
type: apiKey
x-provenance:
method: searched
source: https://docs.vybenetwork.com/reference
harvested: '2026-11-28'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.vybenetwork.com/reference/close_token_accounts.md
- https://docs.vybenetwork.com/reference/do_swap_proxy.md
- https://docs.vybenetwork.com/reference/get_defi_accounts_v4_proxy.md
- https://docs.vybenetwork.com/reference/get_dust_accounts_many_v4.md
- https://docs.vybenetwork.com/reference/get_empty_accounts_many_v4.md
- https://docs.vybenetwork.com/reference/get_empty_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_known_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_known_program_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_market_filtered_ohlcv_v4.md
- https://docs.vybenetwork.com/reference/get_market_v4.md
- https://docs.vybenetwork.com/reference/get_markets_v4.md
- https://docs.vybenetwork.com/reference/get_pnl_timeseries_v4.md
- https://docs.vybenetwork.com/reference/get_programs_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_ohlc_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_product_pairs_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_ts_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_product_v4.md
- https://docs.vybenetwork.com/reference/get_swap_quote_proxy.md
- https://docs.vybenetwork.com/reference/get_token_details_v4.md
- https://docs.vybenetwork.com/reference/get_token_holders_time_series_v4.md
- https://docs.vybenetwork.com/reference/get_token_instruction_names_v4.md
- https://docs.vybenetwork.com/reference/get_token_liquidity.md
- https://docs.vybenetwork.com/reference/get_token_trade_ohlc_v4.md
- https://docs.vybenetwork.com/reference/get_token_transfers_v4.md
- https://docs.vybenetwork.com/reference/get_tokens_summary_v4.md
- https://docs.vybenetwork.com/reference/get_top_holders_v4.md
- https://docs.vybenetwork.com/reference/get_top_pnl_traders_by_token_v4.md
- https://docs.vybenetwork.com/reference/get_top_traders_v4.md
- https://docs.vybenetwork.com/reference/get_trade_aggregated_timeseries_v4.md
- https://docs.vybenetwork.com/reference/get_trade_data_program_v4.md
- https://docs.vybenetwork.com/reference/get_trades_tokens_activity_summary_v4.md
- https://docs.vybenetwork.com/reference/get_transfer_volume_usd_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_counterparties_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_dust_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_pnl_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_ts_raw_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_ts_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_many_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_ts_many_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_ts_raw_many_v4.md
- https://docs.vybenetwork.com/reference/withdraw_mev.md
merge:
pages: 43
deduped: 183
conflicts_kept_first: 0