Solana REST API (Beta)
Use the Solana route (Beta) when the runtime needs direct Solana JSON-RPC reads, simulation, or transaction submission under the same hosted access boundary as the rest of AgentQL.
Solana raw access is still Beta. Keep that label visible in rollout notes and user expectations.
Current route
- Recommended route:
POST /rpc/solana - Compatibility route:
POST /v1/solana/<api_key> - Stage:
Beta
Try the default method
Try send
Try getHealth
Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.
Method groups
Cluster and health
Read cluster state, health, slot, and fee-related metadata.
getHealthReturn the current Solana cluster health response.getVersionReturn Solana node version details.getSlotReturn the current processed slot.getBlockHeightReturn the current processed block height.getLatestBlockhashReturn the latest blockhash and last valid block height.getFeeForMessageReturn fee information for one compiled transaction message.
Account and market state
Read account data, balances, token accounts, and program-owned accounts.
getAccountInfoReturn account state for one public key.getBalanceReturn lamport balance for one public key.getMultipleAccountsReturn state for multiple public keys in one request.getProgramAccountsReturn accounts owned by one program with the current request shape.getTokenAccountsByOwnerReturn SPL token accounts for one owner and mint or program filter.getTokenAccountBalanceReturn token balance information for one token account.
History and confirmation
Read blocks, transactions, signature history, and signature status.
getBlockReturn one block by slot with the current supported request shape.getTransactionReturn one transaction by signature.getSignaturesForAddressReturn recent transaction signatures for one address.getSignatureStatusesReturn confirmation status for one or more signatures.
Transaction path
Simulate or send transactions through the hosted route.
simulateTransactionSimulate one encoded transaction without broadcasting it.sendTransactionSubmit one encoded transaction.
Related pages
Last updated on