API v1 For your own tools
Ask one platform. Or all of them.
Check whether an email, username or phone number has an account on a platform, or search every source at once. Every call on this page runs: change it, and the answer changes with it.
SandboxEvery call on this page uses the sandbox key: made-up answers, nothing looked up, no credits.
Introduction
The API does what the app does, from your own code. Everything is JSON over HTTPS, at one address:
https://smudges.ai/api/v1
Run a call with the sandbox key. It works right now, with no account: check one platform below.
Make your own key when you want real answers. Keys come with the Pro and Team plans.
Swap the key. The address and the answer’s shape are the same; only the data is real.
Keys
Send your key with every call, in the Authorization header:
Authorization: Bearer smg_live_…
A key is shown once, when you make it: we keep only its fingerprint, so copy it then. Treat it like a password. Anyone with it can spend your credits. If one leaks, revoke it here and make another.
Loading your keys…
The sandbox key
One key works for everyone, without an account:
smg_test_sandbox
With it, every call below answers in the real shape from made-up data. Nothing is looked up, no platform is asked and no credits are used. The same question always gets the same answer, and every answer says "sandbox": true.
Three fragments always answer the same way, for trying things out:
dan.lee92@example.com: has accounts on Discord, Instagram, TikTok, Spotify, DoorDash and Adobedanlee92: taken on GitHub, Reddit, Twitch, Steam, Roblox and Discord+1 512 555 0126: on Telegram, Snapchat and DoorDash
GET/platforms/{platform}/check
Check one platform
Ask one platform whether it has an account for an email, a username or a phone number. Pick the platform and type who to look for: the call, the code and the answer follow.
What you send
| In the address | What it is |
|---|---|
platformin the path · required | The platform’s id, from the list. |
emailquery | An email address. |
usernamequery | A username, with or without the @. |
phonequery | A phone number with its country code: +1 512 555 0126. |
Send exactly one of email, username or phone. A platform can only be asked by the kinds its entry in the list names.
What comes back
| Field | What it tells you |
|---|---|
foundtrue, false or null | true: the platform has an account. false: it doesn’t. null: it couldn’t be reached or gave no clear answer; reason says which, and the credit is given back. |
account.fieldsobject | What the platform showed of the account, when it showed anything: a masked phone, a name, a username. Empty when it only confirmed the account exists. |
captureobject | When the platform answered, and the SHA-256 fingerprint of what it said. |
creditsobject | What this call spent, and what you have left. |
GET/platforms
List platforms
Every platform you can check, and what each can be asked by. The list changes as platforms are added: ask for it rather than keeping a copy.
What you send
| In the address | What it is |
|---|---|
byquery | Only platforms that can be checked by this: email, username or phone. |
What comes back
| Field | What it tells you |
|---|---|
platforms[].idstring | What goes in the address of a check. |
platforms[].namestring | The platform’s name, for people. |
platforms[].sitestring | Its site. |
platforms[].byarray | What it can be checked by. |
Listing platforms is free.
POST/searches
Search everything
Run a quick search: every source is asked about one fragment at once, the same search the app runs. It answers straight away with an id; the results arrive as the sources do.
What you send
| In the body | What it is |
|---|---|
fragmentstring · required | What to search for: an email, username, phone number, domain or IP address. |
kindstring | What kind of thing it is, if you’d rather say than have it worked out: email, username, phone, domain, ip. |
What comes back
| Field | What it tells you |
|---|---|
idstring | The search. Use it to get the results. |
statusstring | running at first. |
costnumber | Credits this search used: 1. |
A search that fails gives its credit back.
GET/searches/{id}
Get a search
Read a search you started. Ask again every second or two while its status is running; what has been found so far is already in it.
What comes back
| Field | What it tells you |
|---|---|
statusstring | running, done or failed. |
accountsarray | Profiles tied to the fragment: the platform, the username, how strong the link is (definitive, strong, possible), why, and what the platform showed. |
leadsarray | Other fragments found on the way that you could search next. |
factsarray | Things learned about the fragment itself. |
breachesarray | Breach records it appears in. |
Reading a search is free.
GET/credits
Credits
What the key’s account has left this month, and in top-ups.
What comes back
| Field | What it tells you |
|---|---|
monthlynumber | Credits the plan gives each month. |
leftnumber | How many of those are left. |
topupnumber | Top-up credits, which never expire. |
balancenumber | Everything you can spend now. |
Errors
A call that can’t be answered says why, in the same shape every time, with a status that fits:
{ "error": { "code": "not_checked_by", "message": "Adobe can’t be checked by username. It can be checked by: email." } }
| Code | What happened, and what to do |
|---|---|
no_key401 | No key was sent. Add the Authorization header. |
bad_key401 | The key isn’t valid, or was revoked. Make a new one. |
api_not_in_plan403 | The key’s account is no longer on Pro or Team. |
bad_request400 | Something the call needs is missing, or there is too much of it. The message says what. |
bad_fragment400 | That isn’t an email, a username or a phone number we can read. |
not_checked_by400 | The platform can’t be asked by that kind. The message lists the kinds it can. |
no_such_platform404 | There is no platform with that id. Get the list. |
no_such_search404 | There is no search with that id, or it isn’t yours. |
out_of_credits402 | Nothing left to spend. Top up, or wait for next month’s credits. |
rate_limited429 | Too many calls in a minute. Wait and try again. |
Limits and costs
| Call | Costs, and how often |
|---|---|
Check one platform1 credit | Given back when the platform couldn’t be reached. 30 a minute for each key. |
Search everything1 credit | A quick search. Given back if it fails. 30 a minute for each key. |
Everything elsefree | Listing platforms, reading a search, reading credits. 120 a minute for each key. |
The sandbox keyfree | Shared by everyone: 30 checks and 120 other calls a minute from one address. |
Credits are the same credits the app uses: the month’s first, then top-ups. What a search costs has the detail.
What it never does
- It never contacts the person. No email, no text, no password reset, no login attempt. A platform is only on the list once checking it has been shown to send nothing to the account’s owner.
- It never says how a platform was asked. An answer tells you whether an account exists, what the platform showed and the fingerprint of its reply. The request behind it stays with us.
- It isn’t for bulk surveillance. The rules of use apply to every call: stalking and harassment are banned, and we act on misuse reports within one business day.
Stuck on a call?
Ask Smudge, who answers from the help files, or try the call in the sandbox first.