apiUsage
Get your Hydromancer API usage statistics broken down by day and request type.
POST Request
Field
Type
Description
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "apiUsage",
"days": 7
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'apiUsage',
'days': 7
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Response Fields
Field
Type
Description
Last updated