Using the UI
The Flux dashboard provides a user-friendly interface for creating APIs, managing settings, and tracking usage. This guide walks you through the main features.
Getting Started
Connecting Your Wallet
Visit useflux.site
Click Connect Wallet in the top right
Select your wallet provider (MetaMask, Coinbase Wallet, or WalletConnect)
Approve the connection in your wallet
You're now logged in and can access the dashboard
Dashboard Overview
Once connected, you'll see the main dashboard with:
APIs — List of your created APIs
Create API — Button to add a new API
Usage Stats — Overview of calls and earnings
Settings — Account and payment preferences
Creating an API
Step 1: Basic Information
Click Create API button
Enter the API name (e.g., "Weather API")
Add a description of what your API does
Click Next
Step 2: Endpoint Configuration
Enter your API endpoint URL (e.g.,
https://api.example.com/weather)Select the HTTP method (GET, POST, PUT, DELETE)
Optionally add query parameters or request body examples
Click Next
Step 3: Pricing and OpenAPI
Set the price per request (in ETH or USDC)
Select the currency (ETH or USDC)
Choose the blockchain (Base, Polygon, or Ethereum)
Upload or paste your OpenAPI specification
Click Create API
Your API is now live and discoverable by consumers.
Managing Your APIs
View API Details
Click on an API in your list
See the API ID, endpoint, pricing, and usage statistics
View the OpenAPI specification
Check recent calls and earnings
Edit API Settings
Click on an API
Click Edit button
Modify pricing, description, or endpoint
Click Save Changes
Disable an API
Click on an API
Click Disable button
The API will no longer accept requests
Click Enable to reactivate
Delete an API
Click on an API
Click Delete button
Confirm deletion
The API is permanently removed
Tracking Usage and Earnings
Usage Dashboard
The main dashboard shows:
Total Calls — Number of API calls made
Total Earnings — Revenue from API calls
Active APIs — Number of enabled APIs
This Month — Current month's statistics
Detailed Call History
Click on an API
Scroll to Call History section
See each call with:
Timestamp
Caller address
Payment amount
Response status
Request details
Export Data
Click Export button on the dashboard
Choose date range
Select format (CSV or JSON)
Download your data
Payment Settings
Configure Payment Address
Click Settings in the top right
Go to Payment Settings
Your connected wallet address is your payment address
All earnings are sent to this address
Supported Chains
Flux supports payments on:
Base — Fast, low-cost transactions
Polygon — Scalable, eco-friendly
Ethereum — Mainnet, highest security
You can receive payments on any chain. Consumers choose which chain to pay on.
Withdraw Earnings
Earnings are automatically sent to your wallet when consumers pay. No manual withdrawal needed.
API Discovery
How Consumers Find Your API
Consumers visit the Flux dashboard
They browse or search available APIs
They see your API name, description, and pricing
They can view your OpenAPI specification
They can integrate with your API
Improving Discoverability
Use clear, descriptive API names
Write detailed descriptions
Provide a complete OpenAPI specification
Set competitive pricing
Maintain high uptime and reliability
Troubleshooting
API Not Appearing in Discovery
Problem: Your API isn't showing up in the public list
Solutions:
Verify the API is enabled (not disabled)
Check that the endpoint is reachable
Ensure the OpenAPI spec is valid
Wait a few minutes for indexing
Calls Not Being Recorded
Problem: You're not seeing calls in your history
Solutions:
Verify consumers are using the correct API ID
Check that payment signatures are valid
Ensure the target endpoint is responding
Check browser console for errors
Payment Not Received
Problem: You made a call but didn't receive payment
Solutions:
Verify the transaction was confirmed on-chain
Check the payment amount matches your pricing
Ensure your wallet address is correct
Check blockchain explorer for transaction status
Best Practices
API Design
Keep endpoints simple and focused
Use clear, RESTful URL patterns
Return consistent response formats
Document all parameters and responses
Pricing Strategy
Start with competitive pricing
Consider your infrastructure costs
Monitor competitor pricing
Adjust based on demand
Reliability
Monitor API uptime
Set up alerts for failures
Test endpoints regularly
Maintain good response times
Security
Validate all inputs
Rate limit if needed
Use HTTPS for all endpoints
Keep API keys secure
Support
For issues or questions:
Check the API Reference
Review Authentication guide
See Error Codes for troubleshooting
Email: chirag@useflux.site
Check GitHub issues
Last updated