Overview
The Gasyard API enables programmatic access to cross-chain bridging. Get quotes, execute bridges, and track transactions.REST API
Direct HTTP endpoints for quotes, execution, and status tracking
SDK
TypeScript/JavaScript SDK for seamless integration
Base URL
Authentication
All requests require an API key in thex-api-key header:
Quick Start
1
Get Configuration
Retrieve supported networks and tokens:
2
Request Quote
Get a quote with fees and transaction data:
3
Execute Transaction
Submit the transaction using the response data
4
Track Status
Monitor completion:
Endpoints
GET /api/sdk/v2/config
Get Configuration — Retrieve supported networks, tokens, and gateway addresses
GET /api/sdk/v2/quote
Get Quote — Generate bridge quotes with detailed fees and transaction data
GET /api/sdk/v2/status
Get Status — Track transaction status and completion
Response Format
Success
Error
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
INVALID_PARAMETER | 400 | Missing or invalid request parameter |
INSUFFICIENT_LIQUIDITY | 400 | Not enough liquidity for route |
UNAUTHORIZED | 401 | Invalid or missing API key |
NOT_FOUND | 404 | Resource not found |
RATE_LIMITED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Server error |
Rate Limits
| Tier | Limit |
|---|---|
| Standard | 100 requests/minute |
| Enterprise | Custom limits available |
SDK
For easier integration, use the TypeScript SDK:See the SDK documentation for complete usage guide.

