Xgram Crypto Exchange API — Non-Custodial Swap API for Developers & Business

Published
Read 5 Min
Fact-checked by Christine Litvinova
How We Research for Our Content
blog post cover
Subscribe to receive weekly crypto news and up to a 50% fee discount
You are subscribed to updates!

Crypto Exchange API for Developers and Businesses

TL;DR: Xgram API gives developers and businesses instant access to a non-custodial crypto swap engine supporting 590+ cryptocurrencies across 100+ blockchain networks. User funds are never stored — assets move directly to the recipient's wallet. Integration takes under 30 minutes. Partners earn revenue on every swap.

 

Building a crypto wallet, fintech app, or payment gateway? Xgram API lets you add instant cryptocurrency exchange to any product — without building liquidity infrastructure from scratch, without storing user funds, and without mandatory KYC for standard transaction volumes.

Whether you need a full API integration or a ready-made embeddable widget, Xgram provides the infrastructure so you can focus on your product.

What Is the Xgram Crypto Exchange API?

The Xgram API is a RESTful interface that connects your application directly to Xgram's swap engine. When a user initiates an exchange through your platform, the API handles rate fetching, order creation, transaction monitoring, and status updates — your product simply surfaces the result.

      Non-custodial by design: user funds pass through the exchange without being stored

      Fixed and floating rate modes available

      Transparent fees displayed before order confirmation

      No mandatory registration for users

      Average swap completion time: under 10 minutes

Supported Assets and Networks

Xgram API provides access to one of the broadest swap coverage sets in the non-custodial segment:

      590+ 590+ cryptocurrencies including BTC, ETH, USDT (ERC-20/TRC-20), USDC, XMR, BNB, SOL, XRP, and more

      100+ 100+ blockchain networks including Ethereum, Bitcoin, Solana, Tron, BNB Chain, Arbitrum, Optimism, Polygon, and Base

      Cross-chain swaps without bridging or asset wrapping

      Privacy coin support including Monero (XMR)

This coverage means your users can swap virtually any major asset pair without leaving your platform.

How Xgram API Works

Step 1 — Get a Rate

Call the /rate endpoint with the input currency, output currency, and amount. The API returns the estimated output amount, applicable fee, and rate validity window.

Step 2 — Create an Order

Submit the recipient wallet address and selected rate type. The API returns a deposit address and order ID for tracking.

Step 3 — Monitor and Confirm

Poll the /status endpoint or use webhooks to receive real-time updates on order progress from "awaiting deposit" through "completed." No complex smart contract deployment, no liquidity pool management.

Revenue Model — Earn on Every Swap

Xgram operates a revenue share model for API partners. Every swap completed through your integration generates income shared with your business — making Xgram API viable not just as a feature addition but as a standalone monetization channel.

      Revenue accrues automatically on each completed transaction

      No minimum volume thresholds to qualify

      Partner earnings tracked in a dedicated dashboard

      Individual terms available for high-volume partners (10,000+ monthly swaps)

Who Uses Xgram API

      Wallets: Crypto wallet developers — add in-wallet swap without directing users to external platforms

      Fintech: Fintech startups — offer crypto exchange as a value-added feature alongside fiat services

      DeFi: DeFi applications — integrate non-custodial swaps for assets not covered by on-chain DEXes

      Payments: Payment gateways — enable automatic currency conversion at point of transfer

      Web3: Web3 platforms and dApps — embed swap directly into user flows

Xgram API vs. Custodial Exchange APIs

 

Feature

Xgram API (Non-Custodial)

Custodial Exchange APIs

User fund storage

Never stored — direct transfer

Stored in exchange wallets

KYC requirement

Not mandatory for standard volumes

Usually required

Privacy coin support

Yes (including XMR/Monero)

Often restricted

Integration complexity

Low — REST API, ~30 min setup

High — compliance setup required

Revenue model

Revenue share per swap

Usually no revenue share

Regulatory exposure

Lower — no asset custody

Higher — custody obligations

 

Technical Integration

      API type: REST (JSON)

      Authentication: API key (provided on registration)

      Rate modes: Fixed rate (locked window) / Floating rate (market rate at execution)

      Webhook support: Yes — real-time status notifications pushed to your endpoint

      Documentation: Full endpoint reference with request/response examples

      SDK examples: JavaScript, Python, PHP

 

Minimum requirements: any server-side language capable of HTTP requests, a way to display deposit addresses and status to users, and a webhook endpoint or polling loop for status monitoring.

 

Frequently Asked Questions

What is the Xgram crypto exchange API?

The Xgram API is a REST interface that lets developers integrate non-custodial crypto swaps into any application. It supports 590+ coins across 100+ networks with no mandatory KYC for users and no custody of user funds.

How long does integration take?

A basic integration — rate fetching, order creation, and status monitoring — can be completed in under 30 minutes using the documented endpoints and example code.

Does Xgram API support privacy coins like Monero?

Yes. XMR is a supported asset on Xgram, including pairs with BTC, ETH, USDT, and others. This is a notable advantage over custodial APIs that typically restrict privacy coin support.

What is the revenue share model?

Partners earn a percentage of the fee on each swap completed through their integration. The exact rate depends on volume and is agreed during onboarding. No minimum swap count is required to begin earning.

Is there a KYC requirement for API users?

No mandatory registration or KYC is required for users completing standard transaction volumes. This makes Xgram API particularly suited for privacy-focused applications and global audiences.

What cryptocurrencies does Xgram API support?

Xgram supports 590+ cryptocurrencies including BTC, ETH, USDT (ERC-20 and TRC-20), USDC, XMR, BNB, SOL, XRP, and hundreds of altcoins. The supported pairs list is updated continuously.

How does non-custodial swap work?

When a user creates a swap, they send crypto to a generated deposit address. Xgram's engine executes the exchange and sends the output directly to the user's recipient wallet. No funds are held by Xgram at any point. 

Private crypto swaps

Best rates. Secure. Wallet to wallet

Swap now
You send
1
~
Updating rate ...
You get
All commissions included
Updating rate ...
This pair is not available right now. Please try again soon.
Multi-swap
Multi-swap
Multi-swap lets you perform several exchanges in a single operation.
Send funds once and receive up to five different coins or transfers to multiple addresses — fast, convenient, and with no extra fees.
Add more swaps to get all coins in one transaction.
Added swaps
Total amount: 0
Select a currency