Overview
Test authentication and API key validity. Useful for verifying your API key setup and debugging authentication issues.Authentication
Include your API key in the X-API-Key header:Response Fields
Indicates if authentication was successful
The wallet address associated with the authenticated API key
Confirms an API key was provided in the request
Type of API key used: “personal” or “service”
ISO 8601 timestamp of the authentication test
Use Cases
Initial Integration Testing
Verify your API key integration is working correctly:API Key Validation
Check if an API key is valid before making trading operations:Service Key Testing
Test service key authentication with wallet address:Debugging Auth Issues
Use this endpoint to debug common authentication problems:- Missing X-API-Key header
- Invalid API key format
- Revoked API keys
- Service key missing wallet address
Error Responses
Missing API key
Invalid API key format
Invalid or revoked API key
Service key missing wallet address
Implementation Notes
- API keys are validated against the database
- Personal keys are verified by hash lookup
- Service keys require additional wallet address validation
- Rate limited to 60 requests per minute per IP
- Does not create or modify any account data
- Useful for health checks and monitoring
Security Considerations
Never share or log API keys in production. This endpoint should only be used for testing and debugging during development.
Best Practices
- Store API keys in environment variables
- Use this endpoint to validate keys after rotation
- Implement proper error handling for authentication failures
- Monitor for unusual authentication patterns
Related Endpoints
- Authentication Guide - Complete auth setup
- API Key Status - Check key metadata
- Generate API Key - Create new keys
- Dashboard - Test auth with real data