REST API

The D50 REST API

One HTTPS + JSON API over the whole platform — find customers, run the CRM, place AI calls, generate content, screen candidates. The same 246 capabilities as the MCP server, addressable from any language or backend.

HTTPS + JSONBearer authapp.d50.ai/api300–1,000 req/min

Authentication

Create an API key at app.d50.ai → Settings → API keys and send it as a bearer token on every request:

Authorization: Bearer d50_live_…

Keys can be scoped to a named set of tools and given an expiry. They're stored only as a hash — copy the key when it's created. Every call is billed to the account's unified credit wallet (1 credit = $1), the same rate whether a human or an agent makes it.

Quickstart

Search the 4.6M-lead database and reveal the top result's contact:

# 1) search
curl https://app.d50.ai/api/v1/leads/search \
  -H "Authorization: Bearer d50_live_…" \
  -H "Content-Type: application/json" \
  -d '{"industry":"saas","country":"AE","limit":25}'

# 2) reveal a contact (bills 0.30 credits)
curl https://app.d50.ai/api/v1/leads/reveal \
  -H "Authorization: Bearer d50_live_…" \
  -d '{"leadId":"lead_…"}'

Endpoint surface

Endpoints are grouped by mission. Each maps 1:1 to the equivalent MCP tool.

AreaWhat you can do
LeadsSearch the 4.6M database, filter, reveal contacts, enrich (basic/standard/premium)
CRMContacts, companies, deals, pipelines, notes, activities, stats
OutreachEmail, SMS, WhatsApp, AI phone calls, web calls, call status
ContentScripts, captions, images, AI video, logos, static ads, ad copy, render
FunnelsBuild/edit/publish funnels & pages, clone a landing page, analytics
RecruitingCandidates, AI screening calls, AI interviews, pipeline stages
SEO & IntelKeyword volume, backlinks, LLM-mention sweeps, competitor & ad intel
AgentsCreate, deploy, list, monitor, and stop AI agents
AccountCredit balance & history, analytics, invoices
Prefer auto-discovery? The MCP server exposes the identical surface to agents via tools/list — no per-endpoint wiring.

Rate limits

PlanRate limitIncluded
FreeAPI access on paid plans
Pro · $99/mo300 req/minAll tools, $30 credits/mo
Agency · $299/mo1,000 req/minAll tools, white-label, $100 credits/mo

Errors

Standard HTTP status codes with a JSON body: 400 bad request, 401 invalid/expired key, 402 insufficient credits, 403 tool not in key scope, 429 rate limited, 5xx server error. Each error returns { "error": { "code", "message" } }.

Ready to build? Create an API key — or wire an agent up through the MCP server.