API Reference
This page provides a comprehensive reference for all Geomi APIs. Choose an API below to view endpoints, authentication, and examples.
Overview
Geomi provides access to multiple Aptos blockchain APIs:
- Node API - Direct blockchain access (REST)
- Indexer API - Advanced queries (GraphQL)
- Transaction Stream - Real-time data (GRPC)
- NFT Aggregator API - Marketplace data (GraphQL)
- NFT Analytics API - Market intelligence (REST)
Authentication
While anonymous API access is available with rate limits, we strongly recommend using a Geomi API key for significantly higher limits and usage tracking. Learn how to create one or get started now by creating a new API key in Geomi.
curl "https://api.mainnet.aptoslabs.com/v1" \
-H "Authorization: Bearer YOUR_API_KEY_HERE"Rate Limits & Billing
All APIs use a Compute Unit (CU) based billing system. For detailed pricing and limits, see the Billing Documentation.
Anonymous requests are limited to 50,000 CUs per 5 minutes per IP. API key usage provides significantly higher limits.
About Compute Units (CUs)
- CUs measure the relative infrastructure cost of a request.
- More complex or longer‑running requests consume more CUs.
- For current formulas, limits, and prices, see Billing.
Node API (Fullnode REST API)
Direct access to the Aptos blockchain for reading state and submitting transactions.
Base URLs
- Mainnet:
https://api.mainnet.aptoslabs.com/v1 - Testnet:
https://api.testnet.aptoslabs.com/v1 - Devnet:
https://api.devnet.aptoslabs.com/v1
Key Features
- Read blockchain state
- Submit transactions
- Transaction simulation
- Low latency access
Example: Get Account
curl "https://api.mainnet.aptoslabs.com/v1/accounts/0x1" \
-H "Authorization: Bearer YOUR_API_KEY"Example: Get Account Resources
curl "https://api.mainnet.aptoslabs.com/v1/accounts/0x1/resources" \
-H "Authorization: Bearer YOUR_API_KEY"Documentation
SDKs
Aptos provides official SDKs for multiple languages. For full documentation, installation guides, and examples, see the SDK documentation on aptos.dev.
Quick Start:
- TypeScript:
npm install @aptos-labs/ts-sdk- Docs - Python:
pip install aptos-sdk- Docs - Rust: Installation Guide
- Go: Installation Guide