curl "https://developer.encrata.com/api/account/credit-analytics?days=7" \
-H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
{
"total": 705,
"categories": [
{
"key": "lookups",
"label": "Lookups",
"value": 570
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "file_storage",
"label": "File storage",
"value": 0
}
],
"sources": [
{
"key": "dashboard",
"label": "Dashboard lookups",
"value": 4
},
{
"key": "bulk",
"label": "Bulk lookups",
"value": 0
},
{
"key": "api",
"label": "API",
"value": 566
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "automations",
"label": "Automations",
"value": 0
}
],
"lookups": [
{
"key": "email_validity",
"label": "Email validity",
"value": 1
},
{
"key": "email_identity",
"label": "Email identity",
"value": 0
},
{
"key": "email_breaches",
"label": "Email breaches",
"value": 0
},
{
"key": "email_gender",
"label": "Email gender",
"value": 3
},
{
"key": "password_breaches",
"label": "Password breaches",
"value": 0
},
{
"key": "phone",
"label": "Phone",
"value": 0
},
{
"key": "other",
"label": "Other lookups",
"value": 566
}
],
"daily": [
{
"date": "2026-11-14",
"used": 0
},
{
"date": "2026-11-15",
"used": 0
},
{
"date": "2026-11-16",
"used": 135
},
{
"date": "2026-11-17",
"used": 1
},
{
"date": "2026-11-18",
"used": 333
},
{
"date": "2026-11-19",
"used": 3
},
{
"date": "2026-11-20",
"used": 233
}
]
}
Account
Credit Analytics
See how your workspace spent credits: by product, by origin, and per day.
GET
/
api
/
account
/
credit-analytics
curl "https://developer.encrata.com/api/account/credit-analytics?days=7" \
-H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
{
"total": 705,
"categories": [
{
"key": "lookups",
"label": "Lookups",
"value": 570
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "file_storage",
"label": "File storage",
"value": 0
}
],
"sources": [
{
"key": "dashboard",
"label": "Dashboard lookups",
"value": 4
},
{
"key": "bulk",
"label": "Bulk lookups",
"value": 0
},
{
"key": "api",
"label": "API",
"value": 566
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "automations",
"label": "Automations",
"value": 0
}
],
"lookups": [
{
"key": "email_validity",
"label": "Email validity",
"value": 1
},
{
"key": "email_identity",
"label": "Email identity",
"value": 0
},
{
"key": "email_breaches",
"label": "Email breaches",
"value": 0
},
{
"key": "email_gender",
"label": "Email gender",
"value": 3
},
{
"key": "password_breaches",
"label": "Password breaches",
"value": 0
},
{
"key": "phone",
"label": "Phone",
"value": 0
},
{
"key": "other",
"label": "Other lookups",
"value": 566
}
],
"daily": [
{
"date": "2026-11-14",
"used": 0
},
{
"date": "2026-11-15",
"used": 0
},
{
"date": "2026-11-16",
"used": 135
},
{
"date": "2026-11-17",
"used": 1
},
{
"date": "2026-11-18",
"used": 333
},
{
"date": "2026-11-19",
"used": 3
},
{
"date": "2026-11-20",
"used": 233
}
]
}
Credit Analytics summarises your workspace’s credit spend over the last
days: by product area, by origin, by lookup, and per day. Top-ups, refunds, and bonuses aren’t counted.
Authentication
Send your API key asAuthorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Request
Example request
curl "https://developer.encrata.com/api/account/credit-analytics?days=7" \
-H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Example response
This route returns the analytics object directly, without the{success, result, message} envelope. This
example is shortened: lookups and daily list every lookup and every day.
{
"total": 705,
"categories": [
{
"key": "lookups",
"label": "Lookups",
"value": 570
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "file_storage",
"label": "File storage",
"value": 0
}
],
"sources": [
{
"key": "dashboard",
"label": "Dashboard lookups",
"value": 4
},
{
"key": "bulk",
"label": "Bulk lookups",
"value": 0
},
{
"key": "api",
"label": "API",
"value": 566
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "automations",
"label": "Automations",
"value": 0
}
],
"lookups": [
{
"key": "email_validity",
"label": "Email validity",
"value": 1
},
{
"key": "email_identity",
"label": "Email identity",
"value": 0
},
{
"key": "email_breaches",
"label": "Email breaches",
"value": 0
},
{
"key": "email_gender",
"label": "Email gender",
"value": 3
}
],
"daily": [
{
"date": "2026-11-14",
"used": 0
},
{
"date": "2026-11-15",
"used": 0
}
]
}
Response
Spend by lookup, each with
key, label, and value: email_validity,
email_identity, email_breaches, email_gender, password_breaches,
phone, and other. Malware scans are counted in other.One entry per day, oldest to newest, each with
date and used. Days with no
spend are included with used: 0.curl "https://developer.encrata.com/api/account/credit-analytics?days=7" \
-H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
{
"total": 705,
"categories": [
{
"key": "lookups",
"label": "Lookups",
"value": 570
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "file_storage",
"label": "File storage",
"value": 0
}
],
"sources": [
{
"key": "dashboard",
"label": "Dashboard lookups",
"value": 4
},
{
"key": "bulk",
"label": "Bulk lookups",
"value": 0
},
{
"key": "api",
"label": "API",
"value": 566
},
{
"key": "ai_chat",
"label": "AI chat",
"value": 135
},
{
"key": "automations",
"label": "Automations",
"value": 0
}
],
"lookups": [
{
"key": "email_validity",
"label": "Email validity",
"value": 1
},
{
"key": "email_identity",
"label": "Email identity",
"value": 0
},
{
"key": "email_breaches",
"label": "Email breaches",
"value": 0
},
{
"key": "email_gender",
"label": "Email gender",
"value": 3
},
{
"key": "password_breaches",
"label": "Password breaches",
"value": 0
},
{
"key": "phone",
"label": "Phone",
"value": 0
},
{
"key": "other",
"label": "Other lookups",
"value": 566
}
],
"daily": [
{
"date": "2026-11-14",
"used": 0
},
{
"date": "2026-11-15",
"used": 0
},
{
"date": "2026-11-16",
"used": 135
},
{
"date": "2026-11-17",
"used": 1
},
{
"date": "2026-11-18",
"used": 333
},
{
"date": "2026-11-19",
"used": 3
},
{
"date": "2026-11-20",
"used": 233
}
]
}
Was this page helpful?