/v1/keys/packages
Credit top-up packages with pricing
Request
https://api.xrpl.to/v1/keys/packagescurl 'https://api.xrpl.to/v1/keys/packages'
Response
https://api.xrpl.to/v1/keys/packages{ "success": true, "packages": [ { "id": "starter", "name": "Starter Pack", "credits": 1000000, "creditsFormatted": "1.0M", "price": { "usd": 5, "xrp": 4 }, "costPer1000": "0.0050" }, { "id": "standard", "name": "Standard Pack", "credits": 5000000, "creditsFormatted": "5.0M", "price": { "usd": 20, "xrp": 14 }, "costPer1000": "0.0040" }, { "id": "bulk", "name": "Bulk Pack", "credits": 25000000, "creditsFormatted": "25.0M", "price": { "usd": 75, "xrp": 53 }, "costPer1000": "0.0030" }, { "id": "mega", "name": "Mega Pack", "credits": 100000000, "creditsFormatted": "100.0M", "price": { "usd": 250, "xrp": 174 }, "costPer1000": "0.0025" } ], "paymentAddress": "rBMrq2GN521SbDyRbnwJc3nVBwxnXRpLTo", "xrpRate": 1.440255, "endpointCosts": { "/health": 0, "/diagnostics": 0, "/keys": 0, "/user": 0, "/oauth": 0, "/referral": 0, "/dapp-session": 0, "/verify": 0, "/docs": 0, "/tokens": 1, "/pairs": 1, "/tags": 1, "/news": 1, "/trustlines": 1, "/stats": 1, "/platform-stats": 1, "/platform-report": 1, "/watchlist": 1, "/embed": 1, "/scams": 1, "/mentions": 1, "/tx": 1, "/thumb": 1, "/nft/pin": 1, "/token": 2, "/account": 2, "/history": 2, "/holders": 2, "/traders": 2, "/amm": 2, "/orderbook": 2, "/rsi": 2, "/nft": 2, "/nft/holders": 2, "/creator-activity": 2, "/dex": 2, "/bridge": 2, "/submit": 2, "/ledger": 2, "/lp-positions": 2 } }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Credit top-up packages with pricing