🔑 API Key Status API

The API Key Status API allows you to check the status of your API key. This API can return information such as whether the API key is active or not, the associated protocol, and more.

Note:

Ensure that you pass a valid api_key when making a request. If the API key is not found or invalid, you will receive a 404 Not Found error.

  • 🔹 The API requires an API Key for authentication.
  • 🔹 The api_key should be passed as a query parameter in the request.

💡 Example Request

GET /apiStatus?api_key=<your_api_key>

Headers:
Authorization: Bearer <your_api_key>

Query Parameters:
- api_key (required): The API key you wish to check.
          

🔍 Example Response

{
  "status": true,
  "statusCode": 200,
  "data": {
    "apiKeyStatus": "active",
    "protocol": "TRC20"
  }
}
          

⚠️ Error Handling

The API provides the following error responses:

{
  "status": false,
  "statusCode": 400,
  "message": "Invalid or missing parameters"
}
            

400 Bad Request: The api_key parameter is invalid or missing. Ensure the correct key format is used.

{
  "status": false,
  "statusCode": 404,
  "message": "API Key not found"
}
            

404 Not Found: The provided API key was not found. Double-check the API key and try again.

{
  "status": false,
  "statusCode": 500,
  "message": "Internal server error"
}
            

500 Internal Server Error: An unexpected error occurred on the server. Try again later or contact support.

📖 Further Documentation