Crypto2Cash API
Complete developer guide for integrating cryptocurrency exchange functionality
Easy Integration
RESTful API with JSON responses, comprehensive documentation, and interactive examples.
Secure & Reliable
API key authentication, webhook verification, and 99.9% uptime SLA guarantee.
Real-time Data
Live exchange rates, instant notifications, and real-time order status updates.
API Features
- Real-time cryptocurrency exchange rates
- Automated order processing and tracking
- Webhook notifications for order updates
- Support for Bitcoin, Ethereum, and 15+ cryptocurrencies
- Comprehensive error handling and validation
- Rate limiting and request throttling
Authentication
The Crypto2Cash API uses API keys to authenticate requests. All API requests must include your API key in the authorization header.
🔑 Test Your API Key
Verify that your API key is working correctly
Base URL
All API requests should be made to the following base URL:
Rate Limits
To ensure fair usage and system stability, our API implements the following rate limits:
Endpoint Type | Rate Limit | Window |
---|---|---|
General API calls | 60 requests | per minute |
Exchange creation | 10 requests | per minute |
Rate requests | 100 requests | per minute |
Need Higher Rate Limits?
If you require higher rate limits for your business needs, please contact your dedicated Account Manager that every partner receives. We'll take care of adjusting your limits to match your requirements.
Get Exchange Rates
Retrieve current exchange rates for supported cryptocurrency pairs.
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
from |
string | required | Source currency (e.g., "BTC", "ETH") |
to |
string | required | Target currency (e.g., "THB", "USD") |
🧪 Try It Out
Test this endpoint with live data
Example Response
Create Exchange
Create a new cryptocurrency exchange order.
Request Body Parameters
Parameter | Type | Required | Description |
---|---|---|---|
from_currency |
string | required | Source cryptocurrency (e.g., "BTC", "ETH") |
to_currency |
string | required | Target currency (e.g., "THB", "USD") |
amount |
number | required | Amount to exchange in source currency |
recipient_wallet |
string | required | Recipient wallet address or bank account |
webhook_url |
string | optional | URL to receive status updates |
🧪 Try It Out
Test this endpoint with sample data
Example Request
Example Response
Get Exchange Status
Retrieve the current status and details of an exchange order.
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
exchange_id |
string | required | Unique identifier of the exchange order |
🧪 Try It Out
Test this endpoint with a sample exchange ID
Possible Status Values
Status | Description |
---|---|
pending |
Waiting for cryptocurrency deposit |
confirming |
Transaction received, awaiting confirmations |
processing |
Exchange in progress |
completed |
Exchange completed successfully |
failed |
Exchange failed or cancelled |
expired |
Exchange expired (no deposit received) |