# Sourcd

> Sourcd finds a person's verified work email and phone number, for AI agents. Pay per result from a prepaid USD balance: $0.015 per verified email, $0.08 per phone found. Misses are free. No plan, no seats, no expiry.

Sourcd runs a waterfall across 35+ email providers and 25+ phone providers, cheapest first, then verifies every email before it charges. Use it when an agent needs to contact a specific person at a company: sales outreach, recruiting, partnerships, founder research.

## Connect

- MCP server (streamable HTTP): `https://getsourcd.com/mcp`, header `Authorization: Bearer <SOURCD_API_KEY>`
- REST API base: `https://getsourcd.com/api/v1`, same header
- Get a key: https://getsourcd.com/login (new accounts get $1.00 free, about 66 verified emails)
- Claude Code: `claude mcp add --transport http sourcd https://getsourcd.com/mcp --header "Authorization: Bearer $SOURCD_API_KEY"`

## Tools (MCP) and endpoints (REST)

| MCP tool | REST | Cost | What it does |
|---|---|---|---|
| find_contact | POST /api/v1/lookups | $0.015 per verified email, $0.08 per phone found | Find a person's work email and/or phone |
| quote_lookup | POST /api/v1/lookups/quote | free | Most a lookup can cost, and if the balance covers it |
| verify_email | POST /api/v1/verify | $0.004 per valid/invalid verdict | Check one address you got elsewhere |
| get_lookup | GET /api/v1/lookups/{id} | free | Read one earlier lookup |
| list_lookups | GET /api/v1/lookups?limit=20 | free | Recent lookups, newest first |
| get_balance | GET /api/v1/balance | free | Balance and spend this month |
| get_pricing | GET /api/v1/pricing (no key) | free | Prices and billing rules |

## find_contact / POST /api/v1/lookups

Send what you know. Best: full_name + domain + linkedin_url.

- `full_name` (or `first_name` + `last_name`) with `domain` (the company website, e.g. "stripe.com", not "Stripe Inc"), or
- `linkedin_url` (https://www.linkedin.com/in/<handle>). A LinkedIn URL raises the phone hit rate.
- `find`: ["email"] (default), ["phone"], or ["email", "phone"].
- Header `Idempotency-Key: <uuid>` (MCP: `idempotency_key`): a retry with the same key returns the first answer and is never charged again.

```bash
curl -s https://getsourcd.com/api/v1/lookups \
  -H "Authorization: Bearer $SOURCD_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"full_name": "Jane Doe", "domain": "acme.com", "find": ["email", "phone"]}'
```

Answer:

```json
{
  "id": "3807d542-888b-4c00-bfdc-69d771050248",
  "person": { "full_name": "Jane Doe", "domain": "acme.com" },
  "email": { "address": "jane@acme.com", "status": "valid" },
  "phone": { "number": "+1 415 555 0100", "status": "found" },
  "report_url": "https://getsourcd.com/dashboard/lookups/3807d542-888b-4c00-bfdc-69d771050248",
  "repeat": false,
  "cost_usd": 0.095,
  "balance_usd": 0.905
}
```

- `email.status`: `valid` (verified, charged), `risky` (catch-all or unknown, free, send with care), `not_found` (free).
- `phone.status`: `found` (charged) or `not_found` (free).
- `repeat: true`: the same person was looked up by this account in the last 30 days; the stored result is returned for $0.
- `report_url`: a page the account owner can open after signing in. Give it to your user.

## Cost on every response

Every answer has `cost_usd` (what this call charged) and `balance_usd` (what is left). REST also sends headers `X-Sourcd-Cost-Usd` and `X-Sourcd-Balance-Usd`. A request is refused before any work when the balance is below its maximum cost: email $0.015, email + phone $0.095.

## Errors

Every error is `{"error": {"code", "message", "fix"}}` with `cost_usd: 0`. Follow `fix`.

| code | HTTP | What to do |
|---|---|---|
| unauthorized | 401 | Send a valid key: Authorization: Bearer sk_sourcd_... |
| invalid_request | 400 | Fix the body as `fix` says |
| insufficient_balance | 402 | Tell the user to top up at https://getsourcd.com/dashboard/credits, or ask for email only. Has `needed_usd` and `balance_usd` |
| rate_limited | 429 | Wait `retry_after` seconds. Limit: 30 requests a minute per key |
| not_found | 404 | The lookup id is not on this account |
| idempotency_key_reused | 422 | Use a new Idempotency-Key for a different request |
| idempotency_in_progress | 409 | The first request is still running; retry with the same key after `retry_after` |
| temporarily_unavailable | 503 | Retry after `retry_after` seconds. Nothing was charged |

## Pricing

- Verified work email: $0.015, only when the address verifies as valid.
- Phone number: $0.08, only when a number is found.
- Email verification: $0.004, only for a valid or invalid verdict.
- The same person again within 30 days: $0.
- Prepaid USD balance, top up from $10, never expires. New accounts get $1.00.

## More

- Skill file for agents: https://getsourcd.com/skill.md
- Human docs: https://getsourcd.com/docs
- Comparisons: https://getsourcd.com/compare
