Last updated: January 10, 2026

Authentication

All API requests require authentication via API key. Keys are scoped to specific capabilities for security.

Getting an API Key

Connect your wallet in the Yooru app, navigate to Settings → API Keys, and generate a new key. Choose the permissions you need.

Using Your Key

// Via SDK
const agent = new YooruAgent({
  apiKey: 'your-api-key'
})

// Via REST API
fetch('https://api.yooru.ai/v1/chat', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer your-api-key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ message: 'Hello' })
})
Keep Keys Secure
Never expose API keys in client-side code. Use environment variables and server-side requests.
Yooru - Autonomous DeFi AI Agent on Solana