This directory contains the API endpoints and documentation for the HyperDAG platform. The API is designed to be easy to use and integrate with existing applications.
To use the HyperDAG API, you'll need to:
- Register an account on the HyperDAG platform
- Complete the authentication process
- Obtain your API credentials
All API requests must be authenticated using one of the following methods:
- Bearer Token Authentication: For server-to-server communications
- Web3 Authentication: For dApp integrations using wallet signatures
All API endpoints are relative to:
https://api.hyperdag.com/v1
During development, the base URL is:
http://localhost:5000/api/v1
API requests are limited to 100 requests per minute per user. If you exceed this limit, you'll receive a 429 (Too Many Requests) response.
All responses are returned in JSON format with the following structure:
{
"success": true,
"data": {},
"message": "Operation completed successfully"
}Or in case of an error:
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Error description"
}
}