Using the API
Gateway Endpoint
https://useflux.site/api/v2/gateway/{apiId}/{path}AI Agent Discovery
OpenAPI 3.0 Specification
GET /api/v2/apis/{apiId}/openapiAI Agent Info
Authentication
Required Headers
Payment Flow
1. Send Payment
2. Sign Message
3. Make Request
Complete Example (ETH Payment)
USDC Payments
USDC Contract Addresses
USDC Payment Example (Thirdweb)
USDC Payment Example (ethers.js)
Error Handling
Rate Limiting
Best Practices
Next Steps
Last updated