API Documentation
LOL API provides fast, reliable access to XRPL data through our dedicated CLIO infrastructure.
Quick Start
Base URL
https://api.getlol.xyz/api/v1Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYOr use the X-API-Key header: X-API-Key: YOUR_API_KEY
Example Request
cURL
curl -X POST https://api.getlol.xyz/api/v1 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"method": "nft_info",
"params": [{
"nft_id": "000800006203F49C21D5D6E022CB16DE3538F248662FC73C29252F2B00000001"
}]
}'Response
{
"result": {
"nft_id": "000800006203F49C21D5D6E022CB16DE3538F248662FC73C29252F2B00000001",
"owner": "rN5mG...",
"is_burned": false,
"flags": 8,
"transfer_fee": 0,
"issuer": "r...",
"nft_taxon": 0,
"nft_serial": 1,
"uri": "..."
},
"status": "success"
}Available Endpoints
Free Tier
0.1 XRP / 1000 requestsserver_infoGet CLIO server informationledgerGet ledger data by index or hashledger_closedGet the most recently closed ledgerledger_currentGet the current in-progress ledgerBasic Tier
0.2 XRP / 1000 requestsaccount_infoGet account informationaccount_linesGet trust lines for an accountaccount_txGet transactions for an accounttxGet transaction by hashbook_offersGet offers between two currenciesPremium Tier
0.5 XRP / 1000 requestsCLIO-EXCLUSIVEnft_infoGet NFT metadata and propertiesnft_historyGet full NFT transaction historyaccount_nftsGet all NFTs for an accountnft_sell_offersGet active sell offers for an NFTnft_buy_offersGet active buy offers for an NFTRate Limits
| Plan | Rate Limit | Burst |
|---|---|---|
| Pay As You Go | 100 req/sec | 200 |
| Starter | 50 req/sec | 100 |
| Pro | 200 req/sec | 500 |
| Enterprise | 1000 req/sec | 2000 |
Error Codes
401Invalid or missing API key400Invalid request body or unsupported method429Rate limit exceeded502CLIO server unavailable