Enrichment
How to get your LeadMagic API usage, balance and spend programmatically
Yes. GET https://api.leadmagic.io/v1/credits with your key in X-API-Key returns { credits }, free of charge. Every API response also carries X-Credits-Remaining and X-Credits-Cost headers.
What the LeadMagic API exposes
| Signal | LeadMagic |
|---|---|
| Balance | Yes. GET /v1/credits |
| Spend history | No |
| Cost breakdown | No |
| Plan and quota | No |
| Cost on each response | Credit headers |
| Rate-limit headers | RateLimit-Remaining |
| Credential | API key |
Call it yourself
Credential. A normal LeadMagic API key.
Credits
curl https://api.leadmagic.io/v1/credits \ -H "X-API-Key: $LEADMAGIC_API_KEY"
{ "credits": 4825.5 }Trimmed to the fields Argus reads. Values are examples.
Gotchas
- The balance can be fractional.
- Failed matches are never charged, so call volume overstates spend.
- Unused credits roll over for up to two months on Essential and above.
How LeadMagic charges
Monthly credit pool across 15+ endpoints; failed matches never charged. Rollover up to 2 months on Essential+.
| Plan | Monthly price |
|---|---|
| Basic | $49 |
| Essential | $99 |
| Growth | $249 |
| Professional | $499 |
| Ultimate | $849 |
Free allowance. 100 on signup. 100 credits on signup.
At zero. 429. Failed matches never charged; presumed block on exhaustion.
- 300 requests per minute, per key. 100/min for Profile/Company/Jobs.
Or let Argus track it
Paste the key once. Argus keeps the ledger, and your coding agent reads it through the MCP server.
- Reads the LeadMagic balance every hour and keeps the series, so you get burn per day (top-ups never count as negative spend) and days until it hits zero.
- With the SDK, reads the credit headers on every response, so the balance moves per call instead of per poll.
- Emails you on low balance, days to zero, a spend spike, or projected overage.
- Hands all of it to your coding agent over MCP, so it can ask what a run cost or how much runway is left without leaving the editor.
> what has leadmagic cost today, and how long until it runs out?
get_overview → leadmagic: mtd spend, burn per day, days to zero
get_request_costs { "provider": "leadmagic", "limit": 25 }
get_advisories → credits_low, spend_spike, rate_limit_low …Questions
- Does LeadMagic have an API for its balance?
- Yes. GET https://api.leadmagic.io/v1/credits with your key in X-API-Key returns { credits }, free of charge. Every API response also carries X-Credits-Remaining and X-Credits-Cost headers.
- Can I get LeadMagic spend per day from the API?
- Not as a series. Derive it from how much the balance drops each day, ignoring top-ups.
- What happens when LeadMagic credits run out?
- Requests fail with HTTP 429. Failed matches never charged; presumed block on exhaustion.
- What key does Argus need for LeadMagic?
- A normal LeadMagic API key.
Related
Pricing and limits verified 2026-07-21 against leadmagic.io/pricing, leadmagic.io/docs/v1/reference/check-credits. Endpoints are the ones the Argus LeadMagic connector calls.
Let your coding agent watch the meter.
Connect a provider key, point Claude Code or Cursor at the Argus MCP server, and ask what the last run cost.