API Reference
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
API keys retrieved
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
API key created
Invalid request
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
API key ID to revoke
API key revoked successfully
Unauthorized
API key not found
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Wallet address
^0x[a-fA-F0-9]{40}$Current staking positions
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Filter by protocol
50Staking history
Staking history
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Staking summary
Staking summary
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Amount in token units (wei for ETH)
For broadcast mode
Transaction executed
Invalid parameters
Transaction failed
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Amount in token units (wei for ETH)
For broadcast mode
Preview result
Invalid parameters
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Margin account address
^0x[a-fA-F0-9]{40}$Margin positions
Unauthorized
Margin account not found
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Health metrics
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Optional filter for specific protocols
Sync completed
Unauthorized
Sync failed
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Market metrics
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Protocol identifier (e.g., "morpho", "hyperlend")
Protocol markets
Unauthorized
Protocol not found
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
100Market history
Unauthorized
API key authentication. Contact the Tetrics team to obtain your API key.
Format: Authorization: ApiKey <key_id>:<secret>
Example: Authorization: ApiKey 550e8400-e29b-41d4-a716-446655440000:your-secret-key
Amount in token units
Stress test percentage (default 0)
Simulation result
Invalid simulation parameters
Unauthorized
Last updated