LurkAPI
Docs · Credit balance

Credit balance

Your credit balance and daily top-up. Free.

Free to callMCP tool: account_credit_balance
GEThttps://api.lurkapi.com/v1/account/credit-balance

Example response

When to use this

Use it to check your balance before a batch of calls. It's free, and every other response also carries credits_remaining.

Once a day (UTC), if your balance is below 20 credits, your first call tops it up to 20. With a playground token instead of a key, credits_remaining is the free tries left today.

Example request

Copy one and replace YOUR_API_KEY with your API key (get one free). The code versions read the key from the LURKAPI_API_KEY environment variable instead.

Language

Parameters

This endpoint takes no parameters.

Example response

A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with ….

Show the example response (1 KB)
{
  "success": true,
  "credits_remaining": 4985,
  "credits_charged": 0,
  "daily_top_up": 25,
  "next_top_up_at": "2026-10-01T00:00:00.000Z"
}

Response fields

Every field in a successful response, and what it means.

Show all 5 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
daily_top_upnumberOnce a day (UTC), a balance below this is raised to it on your first call.
next_top_up_atstringWhen the next daily top-up can apply: the coming 00:00 UTC, ISO 8601.

Cost and freshness

Free to call.

Not cached. Every call fetches fresh data.

Errors

A failed call returns success: false, an error message, a code your program can check, and a docs link. These are the errors this endpoint can return. All error codes.

StatusCodeMeaning
401missing_api_keyNo API key was sent. Put it in the x-api-key header.
401invalid_api_keyThis key doesn't exist or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack, or wait for tomorrow's free top-up.
402over_max_creditsThis call would cost more than the max_credits you set. The error says what it needs; raise max_credits to allow it. Not charged.
403account_suspendedThis account is suspended. Email support@lurkapi.com. Not charged.
405method_not_allowedEndpoints only take GET, with parameters in the URL.
429rate_limitedToo many calls in a short time. Wait as many seconds as the retry-after header says, then retry.
500internal_errorSomething broke on our side. Retry. Not charged.
502upstream_errorThe platform didn't send a usable answer. Retry. Not charged.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds. Not charged.
504upstream_timeoutThe platform took over 30 seconds to answer (90 for web pages). Retry. Not charged.

Use it in Claude

Connect LurkAPI to Claude and ask in plain English. This endpoint is the account_credit_balance tool. For example:

Ask Claude
Use LurkAPI's account_credit_balance tool, then summarize what you find.

Claude calls account_credit_balance with arguments like these:

Tool arguments
{}

To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts. Its _note gives the offset for the next part, and later parts are free for 15 minutes. Pass trim=false for the full response.

From the blog

All posts