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.

Get a key See a call run

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
  1. Run a call with the sandbox key. It works right now, with no account: check one platform below.

  2. Make your own key when you want real answers. Keys come with the Pro and Team plans.

  3. 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 Adobe
  • danlee92: 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 addressWhat it is
platformin the path · requiredThe platform’s id, from the list.
emailqueryAn email address.
usernamequeryA username, with or without the @.
phonequeryA 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

FieldWhat it tells you
foundtrue, false or nulltrue: 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.fieldsobjectWhat 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.
captureobjectWhen the platform answered, and the SHA-256 fingerprint of what it said.
creditsobjectWhat 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 addressWhat it is
byqueryOnly platforms that can be checked by this: email, username or phone.

What comes back

FieldWhat it tells you
platforms[].idstringWhat goes in the address of a check.
platforms[].namestringThe platform’s name, for people.
platforms[].sitestringIts site.
platforms[].byarrayWhat 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 bodyWhat it is
fragmentstring · requiredWhat to search for: an email, username, phone number, domain or IP address.
kindstringWhat kind of thing it is, if you’d rather say than have it worked out: email, username, phone, domain, ip.

What comes back

FieldWhat it tells you
idstringThe search. Use it to get the results.
statusstringrunning at first.
costnumberCredits this search used: 1.

A search that fails gives its credit back.

GET/credits

Credits

What the key’s account has left this month, and in top-ups.

What comes back

FieldWhat it tells you
monthlynumberCredits the plan gives each month.
leftnumberHow many of those are left.
topupnumberTop-up credits, which never expire.
balancenumberEverything 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." } }
CodeWhat happened, and what to do
no_key401No key was sent. Add the Authorization header.
bad_key401The key isn’t valid, or was revoked. Make a new one.
api_not_in_plan403The key’s account is no longer on Pro or Team.
bad_request400Something the call needs is missing, or there is too much of it. The message says what.
bad_fragment400That isn’t an email, a username or a phone number we can read.
not_checked_by400The platform can’t be asked by that kind. The message lists the kinds it can.
no_such_platform404There is no platform with that id. Get the list.
no_such_search404There is no search with that id, or it isn’t yours.
out_of_credits402Nothing left to spend. Top up, or wait for next month’s credits.
rate_limited429Too many calls in a minute. Wait and try again.

Limits and costs

CallCosts, and how often
Check one platform1 creditGiven back when the platform couldn’t be reached. 30 a minute for each key.
Search everything1 creditA quick search. Given back if it fails. 30 a minute for each key.
Everything elsefreeListing platforms, reading a search, reading credits. 120 a minute for each key.
The sandbox keyfreeShared 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.