Documentation Index
Fetch the complete documentation index at: https://yieldxyz.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Projects
A project represents your integration with Yield.xyz. Projects provide logical separation for different products, environments, or business units — each with its own API keys, fee configurations, and usage analytics.Single product
One project for your entire application — simplest setup for most integrations.
Multi-tenant
Separate projects per product line or white-label client — useful for platforms serving multiple brands.
API Keys
API keys authenticate your requests to the Yield.xyz API. Each key is scoped to a project and environment.Creating API Keys
API keys are created in the Yield.xyz Dashboard. Navigate to Settings → API Keys to generate new keys.Authentication
Include your API key in thex-api-key header on every request:
Key Permissions
- Read-Only
- Read-Write (Default)
For discovery and portfolio tracking
- Query yields (
GET /yields) - Fetch balances and positions
- List networks and providers
Security Best Practices
Server-side only
Never expose API keys in client-side code. Make all API calls from your backend.
Environment variables
Store keys in environment variables, not source code. Never commit keys to version control.
Rotate regularly
Generate new keys periodically. Revoke immediately if a key is compromised.
Separate by environment
Use different keys for production, staging, and development. Never share keys across environments.
Error Responses
| Status | Meaning |
|---|---|
401 Unauthorized | Missing or invalid API key |
403 Forbidden | Valid key but access denied (e.g., geoblocking) |
429 Too Many Requests | Rate limit exceeded — retry after backoff |
Next Steps
Quickstart
Run your first API request
Rate Limits
Understand rate limiting by plan

