API Reference
Note: Code examples using
api.noderr.xyzreference the planned public API, which is not yet live. For the currently live API, usehttps://agent.noderr.xyzwith the Agent Protocol API Reference.
Complete reference for all Noderr Protocol APIs.
Available APIs
| API | Purpose | Documentation |
|---|---|---|
| REST API | Standard HTTP endpoints | REST API Reference |
| WebSocket API | Real-time streaming | WebSocket API Reference |
| GraphQL API | Flexible queries | GraphQL API Reference |
Quick Start
REST API
# Get all vaults
curl https://api.noderr.xyz/v1/vaults
# Get specific vault
curl https://api.noderr.xyz/v1/vaults/0xd62f6c4Fe1444Dafbe3dBd0163C4B77A3C41Af84
WebSocket
const ws = new WebSocket('wss://ws.noderr.xyz/v1');
ws.onopen = () => {
ws.send(JSON.stringify({
type: 'subscribe',
channel: 'vault.updates',
params: { address: '0xd62f6c4Fe1444Dafbe3dBd0163C4B77A3C41Af84' }
}));
};
GraphQL
query {
vaults {
address
name
tvlUsd
apy { current }
}
}
Authentication
Public Endpoints
Most read endpoints are public and require no authentication.
Authenticated Endpoints
Write operations require wallet signature:
const message = `Noderr API Access\nTimestamp: ${Date.now()}`;
const signature = await wallet.signMessage(message);
fetch('https://api.noderr.xyz/v1/user/settings', {
method: 'POST',
headers: {
'X-Wallet-Address': walletAddress,
'X-Signature': signature,
'X-Timestamp': timestamp
},
body: JSON.stringify(settings)
});
Rate Limits
| Tier | Requests/Minute | Requests/Day |
|---|---|---|
| Public | 60 | 10,000 |
| Authenticated | 300 | 100,000 |
| Node Operator | 1,000 | Unlimited |
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
INVALID_ADDRESS | 400 | Invalid Ethereum address |
VAULT_NOT_FOUND | 404 | Vault does not exist |
STRATEGY_NOT_FOUND | 404 | Strategy does not exist |
UNAUTHORIZED | 401 | Invalid or missing authentication |
RATE_LIMITED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Server error |
SDK
For easier integration, use our official SDK:
npm install @noderr/sdk
See SDK Reference for full documentation.
Testnet vs Mainnet
| Environment | Base URL |
|---|---|
| Testnet | https://api-testnet.noderr.xyz/v1 |
| Mainnet | https://api.noderr.xyz/v1 |
Last Updated: December 2025