Crypto Trading API
Build trading bots, automate market making, and integrate P2P crypto trading into your applications. Full REST API with escrow integration and multi-chain support. Authenticate with your wallet to access all endpoints.
API capabilities
Everything you need to build automated trading systems on top of the P2P exchange.
RESTful API
Full REST API for creating offers, initiating trades, managing escrow, and querying market data. JSON responses with comprehensive documentation.
Real-Time WebSockets
WebSocket feeds for live trade chat, order status updates, and notification events. Real-time communication between trading parties.
Automated Market Making
Programmatically create and manage offers with margin-based pricing. Build bots that auto-adjust spreads based on market conditions.
Escrow Integration
Full API access to the escrow system. Lock, release, and dispute trades programmatically with multisig security.
Multi-Chain Support
Trade across Ethereum, Bitcoin, Solana, Base, Polygon, Tron, and more. Single API for all supported chains and tokens.
Developer-Friendly
Swagger/OpenAPI documentation, TypeScript types, rate limiting with generous quotas, and webhook support for event-driven architectures.
Key endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/offers | List all active P2P offers with filters |
| POST | /api/v1/offers | Create a new buy/sell offer |
| POST | /api/v1/trades | Initiate a trade on an existing offer |
| GET | /api/v1/trades/:id | Get trade status and escrow details |
| POST | /api/v1/trades/:id/release | Release escrow funds |
| GET | /api/v1/prices | Real-time market prices for all tokens |
Ready to build?
Start building your trading bot or integration today. Authenticate with your wallet and use the same API endpoints that power the CoinExchange.Cash platform.
Get API Access