Analytics overview
curl --request GET \
--url https://api.zeroclick.io/v1/analytics/overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zeroclick.io/v1/analytics/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zeroclick.io/v1/analytics/overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"analytics": {
"days": 123,
"transactions": 123,
"previousTransactions": 123,
"revenueUsd": "<string>",
"previousRevenueUsd": "<string>",
"attempts": 123,
"successRate": 123,
"previousSuccessRate": 123,
"lifetimeRevenueUsd": "<string>",
"lifetimeTransactions": 123,
"walletSources": {
"provisioned": 123,
"existing": 123,
"external": 123,
"unknown": 123
},
"revenueByDay": [
{
"date": "<string>",
"revenueUsd": "<string>",
"transactions": 123
}
],
"attemptsByDay": [
{
"date": "<string>",
"attempts": 123
}
],
"recentTransactions": [
{
"id": "<string>",
"amountUsd": "<string>",
"network": "<string>",
"protocol": "<string>",
"createdAt": "<string>",
"verifiedAt": "<string>",
"seller": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"service": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"plan": {
"id": "<string>",
"name": "<string>"
},
"agent": {
"id": "<string>",
"walletAddress": "<string>"
}
}
],
"topSellers": [
{
"seller": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"transactions": 123,
"revenueUsd": "<string>"
}
]
}
}{}{}{}{}Analytics
Analytics overview
Aggregates agent transactions, revenue, wallet sources, and top services for the authenticated organization.
GET
/
v1
/
analytics
/
overview
Analytics overview
curl --request GET \
--url https://api.zeroclick.io/v1/analytics/overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zeroclick.io/v1/analytics/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zeroclick.io/v1/analytics/overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"analytics": {
"days": 123,
"transactions": 123,
"previousTransactions": 123,
"revenueUsd": "<string>",
"previousRevenueUsd": "<string>",
"attempts": 123,
"successRate": 123,
"previousSuccessRate": 123,
"lifetimeRevenueUsd": "<string>",
"lifetimeTransactions": 123,
"walletSources": {
"provisioned": 123,
"existing": 123,
"external": 123,
"unknown": 123
},
"revenueByDay": [
{
"date": "<string>",
"revenueUsd": "<string>",
"transactions": 123
}
],
"attemptsByDay": [
{
"date": "<string>",
"attempts": 123
}
],
"recentTransactions": [
{
"id": "<string>",
"amountUsd": "<string>",
"network": "<string>",
"protocol": "<string>",
"createdAt": "<string>",
"verifiedAt": "<string>",
"seller": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"service": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"plan": {
"id": "<string>",
"name": "<string>"
},
"agent": {
"id": "<string>",
"walletAddress": "<string>"
}
}
],
"topSellers": [
{
"seller": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"transactions": 123,
"revenueUsd": "<string>"
}
]
}
}{}{}{}{}Authorizations
API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....
Query Parameters
Required range:
1 <= x <= 365Minimum string length:
1Response
Default Response
Show child attributes
Show child attributes
⌘I