Documentation
Everything you need to know about using RelayAI for API monetization
Quick Start Guide
Get started with RelayAI in under 5 minutes
For API Providers
1. Upload Your API
Upload your OpenAPI specification to get started
2. Set Pricing
Configure lamports per API call
3. Publish
Make your API available on the marketplace
For API Consumers
1. Browse APIs
Find APIs in our marketplace
2. Connect Wallet
Link your Solana wallet
3. Start Using
Make API calls with automatic payments
Uploading Your API
Learn how to add your API to the RelayAI marketplace
Supported Formats
- OpenAPI 3.0+ specifications (JSON/YAML)
- REST APIs with proper endpoint definitions
- Authentication and authorization schemes
Steps to Upload
- Navigate to the Dashboard
- Click "Add New API"
- Upload your OpenAPI specification file
- Configure endpoint pricing (lamports per call)
- Set API metadata (name, description, category)
- Review and publish your API
Pricing Strategy
Set competitive prices based on API complexity and market demand. Remember: 1 SOL = 1,000,000,000 lamports.
Revenue Management
How to track and manage your API earnings
Automatic Payments
Payments are processed instantly through Solana smart contracts. Funds are transferred directly to your connected wallet.
Analytics Dashboard
- Real-time usage statistics
- Revenue tracking per endpoint
- Top consumers and usage patterns
- API performance metrics
Frequently Asked Questions
Common questions about RelayAI
How much does it cost to use RelayAI?
For API consumers: You only pay for the API calls you make, plus a small Solana network fee (~$0.0001 per transaction). For API providers: Free to list your APIs, you keep 100% of the revenue.
What blockchains does RelayAI support?
Currently focused on Solana for its speed and low costs. Cross-chain support is planned for future releases.
How do I get started as an API provider?
Create an account, upload your OpenAPI specification, set pricing, and publish. Our dashboard guides you through the entire process.
Is RelayAI secure?
Yes! All payments use blockchain technology with smart contracts. Your funds go directly to API providers without intermediaries.
What if an API call fails?
Failed API calls don't cost anything. You only pay for successful responses. The payment is processed after the API confirms success.
Ready to Get Started?
Join the revolution in API monetization
Have questions? Need help? Our community and documentation are here to support you.