get_credits
Get remaining Verifly credits
Check the API key’s remaining verification credits, recent usage, and plan. Free.
When an agent uses get_credits
Call get_credits before a credit-spending operation so an agent can decide whether it has enough balance to run a batch or bulk job, and whether it needs to top up first. It returns the remaining balance plus usage today and this month. It is the natural pre-flight check ahead of buy_credits.
GET /api/v1/creditsInput schema
This tool takes no arguments — call it with an empty arguments object.
Call it over MCP
An MCP client invokes the tool with a tools/call request. Hosted clients send this to https://verifly.email/mcp with your Authorization: Bearer vf_… header; the verifly-mcp-server package does the same with VERIFLY_API_KEY set.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_credits",
"arguments": {}
}
}Posting that same call straight to the hosted endpoint:
curl -s -X POST "https://verifly.email/mcp" \
-H "Authorization: Bearer vf_your_api_key" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_credits","arguments":{}}}'Equivalent raw REST call
Under the hood this tool calls GET /api/v1/credits. If you are not using MCP, hit the REST API directly:
curl -s "https://verifly.email/api/v1/credits" \ -H "Authorization: Bearer vf_your_api_key"
What you get back
A JSON object with credits (remaining), used_today, used_this_month, and plan.
Related tools
get_accountThe account profile for the current key: email, credits, total used, key count, and plan. Free.
Openget_usageUsage over a period (day / week / month): credits, emails, requests by endpoint and source, daily breakdown. Free.
Openbuy_creditsStart a credit purchase: Stripe checkout link (human needed) or crypto invoice with a raw wallet address an agent can pay autonomously.
OpenUse get_credits in your agent
Verifly is the only email verifier with a hosted MCP server plus autonomous agent self-registration. An agent can call register_account for an instant key and 100 free credits, then start calling get_credits — no human, no dashboard.