Super api
Dhali’s Super API: One Payment, Access Everything
In the XRPL ecosystem, building an app often requires multiple APIs — for ledger data, transactions, NFT metadata, websockets, and more. Each comes with its own credentials, interface, and billing system. That fragmentation slows development and complicates scaling.
Dhali simplifies everything.
Dhali offers a super API: a single gateway where developers can access multiple XRPL APIs using one off-chain payment. Instead of managing separate integrations, you connect to Dhali once — it handles authentication, metering, and settlement.
How Dhali Works (Behind the Scenes)
-
Deposit funds off-chain via a payment channel You pre-fund a payment channel connected to Dhali. You remain in full control and can close it at any time.
-
Generate a Payment-Claim (your credential) You create a “payment claim” — a base64-encoded string representing an off-chain payment authorization.
-
Specify the API you want to use Each API available through Dhali is identified by a UUID. You choose which API to call by including its UUID in your request path (for example,
/api/<uuid>). -
Embed the Payment-Claim in your requests Every call to Dhali must include a header:
Payment-Claim: <your_claim>
Dhali verifies your claim and meters usage for that specific API.
- Daily on-chain settlement and provider payouts Every 24 hours, Dhali aggregates usage data, settles claims on-chain, and automatically distributes payments to API providers — ensuring transparent, blockchain-based accounting without delays.
Why Use Dhali?
- Unified developer experience — One integration and one credential, with metering and billing handled automatically.
- Flexible, composable API ecosystem — Choose specific APIs by UUID and combine them into your own workflows.
- Fair and transparent monetization — Providers get paid based on actual usage, directly through the XRPL.
- Scalable and open — Dhali’s model supports new services, allowing the ecosystem to grow without friction.
- Global reach — Off-chain XRPL payment channels make Dhali’s settlement system efficient, borderless, and low-cost.