API documentation
One base URL, four endpoints, an API key in a header. No SDK to install and nothing to configure.
Base URL and authentication
Every request carries your key in an X-API-Key
header. Requests are JSON over HTTPS.
curl https://api.soslookups.com/v1/lookup \ -H "X-API-Key: $SOS_KEY" \ -H "Content-Type: application/json" \ -d '{"state": "TX", "name": "Whataburger"}'
Keep the key server-side. It isn’t safe in a browser, and a key seen in client-side code will be rotated.
POST /v1/lookup
The main endpoint. One name, one jurisdiction, one answer.
REQUEST
| FIELD | TYPE | NOTES |
|---|---|---|
| name | string | Required. 2 to 200 characters. Designators are optional; we normalize them. |
| state | string | Required. Two-letter code, including DC. |
RESPONSE
{ "available": true, "exact_match": false, "match_confidence": "fuzzy", "similar_match": "WHATABURGER UNIT 266 INC", "similar_match_count": 37, "similar_matches": null, "result_count": 0, "too_broad": false, "also_filed_as": null, "company": null, "matches": [], "state": "TX", "searched_name": "Whataburger", "confirmed": true, "billable": true }
| available |
No exact match was found on that register. Not advice that
the name may lawfully be used, and not a reservation. States
refuse names that are confusingly similar, so read it with
similar_match_count.
null when the query was too broad to answer.
|
| match_confidence |
"none" nothing found ·
"fuzzy" free, but similar names exist ·
"exact" taken.
Branch on this where a boolean is too blunt.
|
| similar_match similar_match_count similar_matches |
Registered names close to the one you asked about.
A high count on an available name is the usual reason a filing is
refused, because the state decides distinguishability when it
reviews the filing.
similar_match is the nearest one,
similar_match_count is how many there are, and
similar_matches lists up to five of them, nearest first.
The list is null where the source doesn’t
return one, which isn’t the same as there being none. Use the count
for magnitude.
|
| company |
The registration holding the name, or null when available.
Carries entity_name, entity_type,
filing_status, jurisdiction,
filing_date, file_number,
registered_agent_name, registered_agent_address
and principal_address.
States publish different amounts, so a field absent from
one jurisdiction isn’t an error.
|
| matches |
The other records on the register, same shape as
company, capped at ten. Empty when there are no others.
The headline is never repeated here.
|
| too_broad |
The query matched more than the register would return. Narrow the name
and ask again. available is null, not false.
|
| confirmed |
false when we could not verify the answer against the source at
the time of the call. The answer still stands; treat it as weaker
evidence before a filing.
|
| billable |
Whether this call counts against your usage. false on a lookup
that took over 20 seconds or did not return a usable answer.
|
also_filed_as carries a second name on the same filing where a state
records one, such as a former or trade name.
Other endpoints
Published employer identification numbers filed under a name, each with the
federal source that published it. Takes name and an optional state.
Live federal registrations exactly matching a name, with their classes. It reports what’s on file and isn’t an opinion on conflict, which is class-specific and fact-specific.
The jurisdictions currently answering. Worth calling at start-up rather than hard-coding a list.
Errors
Failures return a JSON body with a detail field.
None of these is billable.
| 400 | Jurisdiction not supported, or a malformed body. |
| 401 | Missing or invalid API key. |
| 429 |
Over your agreed rate limit. Carries a Retry-After header and a
retry_after_seconds field, and names which window you hit.
Respect it rather than retrying immediately.
|
| 502 | We could not get an answer for that jurisdiction. Safe to retry. |
| 503 | The jurisdiction is temporarily unavailable, or its first connection of the day is still opening. Retry in a few seconds. |
A sensible client retries 502 and 503 twice with a short backoff, and honors
Retry-After on 429. A lookup can legitimately take tens of seconds
in some jurisdictions, so set a generous client timeout of 120 seconds
rather than abandoning an answer you wouldn’t be billed for.
Ready to try it?
First 100 billable lookups are free. Bring names you already know the answers to and check ours against them.
Get an API key