Converting from Kinetic to Gas Station API
This guide will help you migrate your existing Kinetic API integration to the new Gas Station API, which offers improved performance, simplified authentication, and better developer experience.Key Differences
API Endpoints
- Kinetic API: Used environment and index-based routing
- Gas Station API: Uses direct endpoint paths with cleaner structure
Authentication
- Kinetic API: Required environment and app configuration
- Gas Station API: Simplified authentication with API keys
Base URL
- Kinetic API:
https://sandbox.kinetic.host
or custom endpoints - Gas Station API:
https://api.altude.so
Migration Steps
1. Update Base URL
Replace your Kinetic API base URL with the Gas Station API URL:2. Account Operations
Get Account Balance
Kinetic API:Create Account
Kinetic API:Get Account History
Kinetic API:3. Transaction Operations
Send Transaction
Kinetic API:Batch Transactions
The Gas Station API introduces a new batch transaction feature:Code Examples
Before (Kinetic API)
After (Gas Station API)
Benefits of Gas Station API
- Simplified Architecture: No more environment/index management
- Better Performance: Optimized endpoints for faster responses
- Batch Operations: Send multiple transactions in a single request
- Consistent API Design: RESTful endpoints with clear request/response patterns
- Enhanced Security: Improved authentication and validation