Skip to main content

Public API — Quick Reference

Base URL

https://api.leadgencrypto.com/api

Authentication

Pass your API key as a query parameter:

apikey=YOUR_API_KEY

Tip: Keep keys in your CI/ENV (not in source). Rotate from the API Keys page if exposed.


Endpoints

Recent (last 24h)

Fetch the last 24 hours of leads assigned to your workspace.

cURL

curl -i "https://api.leadgencrypto.com/api?module=lead&action=viewRecentLeads&apikey=YOUR_API_KEY"

GET URL

https://api.leadgencrypto.com/api?module=lead&action=viewRecentLeads&apikey=YOUR_API_KEY

Latest (with limit)

Fetch the most recent leads up to limit. The server clamps limit to your plan maximum and returns a clear error if exceeded.

cURL

curl -i "https://api.leadgencrypto.com/api?module=lead&action=viewLatestLeads&limit=100&apikey=YOUR_API_KEY"

GET URL

https://api.leadgencrypto.com/api?module=lead&action=viewLatestLeads&limit=100&apikey=YOUR_API_KEY

Query parameters

NameTypeRequiredExampleNotes
modulestringyesleadResource group
actionstringyesviewRecentLeads | viewLatestLeadsChoose one of the actions above
limitintno100Only for viewLatestLeads (subject to clamp)
apikeystringyesYOUR_API_KEYYour workspace API key

Rate limits

Typical defaults:

PlanRequests / secondDaily capMinimum interval between callsView Most Recent Leads (max)
Free1~24/day3600 sUp to 100
Paid1~1500/day120 sUp to 1000

Note: Your workspace admin may adjust these. The API Keys page in the app shows the values that apply right now to your account.


Response shape

All endpoints return JSON with status, message, and a result array.
When nothing qualifies, result is an empty array.

Success

{
"status": "success",
"message": "OK",
"result": [
{
"createdAt": "2025-10-12T09:41:33Z",
"website": "https://project.example",
"tokenAddress": "0xabc123...",
"blockchain": "Base",
"tokenSymbol": "EXMPL",
"tokenName": "Example",
"tokenUrl": "https://etherscan.io/token/0xabc123...",
"email1": "contact@project.example",
"email2": null,
"telegram": "https://t.me/example"
}
]
}

Clamped / invalid limit

{
"status": "error",
"message": "limit exceeds plan maximum",
"result": []
}

Notes & tips

  • For reliability, back off when you hit caps and schedule pulls at the minimum interval for your plan.
  • Prefer viewRecentLeads for daily/cron checks; use viewLatestLeads with a conservative limit for incremental syncs.
  • Treat emails and URLs as identity keys in your CRM to avoid duplicates.
  • Also, see example in API Keys.