Getting Started with Gas Station API
The Altude Gas Station API provides a simple, powerful way to interact with the Solana blockchain. Whether you’re building a mobile app, web application, or backend service, our API handles the complexity of blockchain interactions so you can focus on building great user experiences.What is the Gas Station API?
The Gas Station API is a RESTful web service that abstracts away the complexities of direct Solana blockchain interaction. It provides:- Account Management: Create, query, and manage Solana accounts
- Transaction Processing: Send individual or batch transactions
- Balance Queries: Check token balances across different mints
- Transaction History: Retrieve detailed account transaction history
- Simplified Authentication: Easy API key-based authentication
Quick Setup
Step 1: Create Your Account
Before you can use the API, you’ll need to register for an account and get your API credentials:- Visit the Dashboard: Go to https://dashboard.altude.so
- Register Your Account: Fill out the registration form with your details
- Verify Your Email: Check your email and verify your account
- Access the Dashboard: Log in to your new dashboard
- Create an App: Register your application to get API credentials
- Get Your API Key: Copy your unique API key for authentication
Important: Keep your API key secure and never expose it in client-side code. Always use it from your backend services.
Step 2: Make Your First API Call
Once you have your API key, you can start making requests to the Gas Station API:Step 3: Explore the Endpoints
The Gas Station API is organized into two main categories:- Account Operations: Manage accounts, check balances, and view history
- Transaction Operations: Send transactions and batch operations
Authentication
All API requests require authentication using your API key in the X-API-Key header:Base URL
All API requests should be made to:Common Use Cases
Check Account Balance
Perfect for wallet applications and balance displays:Send a Transaction
For payment processing and token transfers:Batch Transactions
For efficient bulk operations:Error Handling
The API uses standard HTTP status codes and returns JSON error responses:200
: Success400
: Bad Request (invalid parameters)401
: Unauthorized (invalid API key)404
: Not Found (resource doesn’t exist)500
: Internal Server Error
Rate Limits
The API includes rate limiting to ensure fair usage:- Default: 1000 requests per minute
- Burst: Up to 100 requests per second
X-RateLimit-Limit
: Requests allowed per windowX-RateLimit-Remaining
: Requests remaining in current windowX-RateLimit-Reset
: Time when the rate limit resets
SDKs Available
While you can use the API directly with HTTP requests, we also provide SDKs for easier integration:- Android/Kotlin SDK: Native Android development
- TypeScript/JavaScript: Coming soon
- Python: Coming soon
- Unity: Coming soon
Next Steps
- Explore Account Endpoints: Learn about account management operations
- Explore Transaction Endpoints: Discover transaction processing capabilities
- Converting from Kinetic: If you’re migrating from Kinetic API
Need Help?
- Documentation: Explore the detailed API reference for each endpoint
- Support: Contact us at andrew@altude.so
- Community: Join our Discord for developer support