<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: JustTranscribe</title>
    <description>The latest articles on DEV Community by JustTranscribe (@justtranscribe).</description>
    <link>https://dev.to/justtranscribe</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4239580%2F248f39eb-3543-4c1f-a496-f32f5c932b3f.png</url>
      <title>DEV Community: JustTranscribe</title>
      <link>https://dev.to/justtranscribe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/justtranscribe"/>
    <language>en</language>
    <item>
      <title>How to check that a U.S. company is real: a Secretary of State lookup for all 50 states in one API call</title>
      <dc:creator>JustTranscribe</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:24:15 +0000</pubDate>
      <link>https://dev.to/justtranscribe/how-to-check-that-a-us-company-is-real-a-secretary-of-state-lookup-for-all-50-states-in-one-api-2o6b</link>
      <guid>https://dev.to/justtranscribe/how-to-check-that-a-us-company-is-real-a-secretary-of-state-lookup-for-all-50-states-in-one-api-2o6b</guid>
      <description>&lt;p&gt;The United States has no national company register. Each of the 50 states and D.C. keeps its own, usually at the Secretary of State, each with its own website, its own search form and its own words for "this company is in good standing". If you onboard businesses or underwrite loans, "is this company real and active?" becomes 51 different lookups.&lt;/p&gt;

&lt;p&gt;I'm Elias, and I built Clerkfield because I needed that answer as one call. This post shows the call, how to read the answer, and the three things that surprised me about state records. The API is free during its beta and needs no card, so you can run everything here.&lt;/p&gt;

&lt;p&gt;One call&lt;br&gt;
You need the business name and the two-letter code of the state where it was formed.&lt;/p&gt;

&lt;p&gt;export CLERKFIELD_API_KEY="paste-your-key-here"&lt;/p&gt;

&lt;p&gt;curl -sS -G "&lt;a href="https://clerkfield.com/v1/business-check" rel="noopener noreferrer"&gt;https://clerkfield.com/v1/business-check&lt;/a&gt;" \&lt;br&gt;
  -H "Authorization: Bearer $CLERKFIELD_API_KEY" \&lt;br&gt;
  --data-urlencode "name=Pizza and Company" \&lt;br&gt;
  --data-urlencode "state=KY" \&lt;br&gt;
  --max-time 300&lt;br&gt;
The answer, trimmed:&lt;/p&gt;

&lt;p&gt;{&lt;br&gt;
  "verdict": "pass",&lt;br&gt;
  "matchQuality": "exact",&lt;br&gt;
  "match": {&lt;br&gt;
    "legalName": "PIZZA AND COMPANY",&lt;br&gt;
    "entityId": "0148596",&lt;br&gt;
    "status": "active",&lt;br&gt;
    "statusDetail": "A - Active, standing G - Good",&lt;br&gt;
    "entityType": "KCO - Kentucky Corporation",&lt;br&gt;
    "formedOn": "1980-07-30",&lt;br&gt;
    "monthsInBusiness": 556,&lt;br&gt;
    "source": {&lt;br&gt;
      "name": "Kentucky Secretary of State business search",&lt;br&gt;
      "url": "&lt;a href="https://sosbes.sos.ky.gov/BusSearchNProfile/Profile.aspx/?ctr=147328" rel="noopener noreferrer"&gt;https://sosbes.sos.ky.gov/BusSearchNProfile/Profile.aspx/?ctr=147328&lt;/a&gt;"&lt;br&gt;
    }&lt;br&gt;
  },&lt;br&gt;
  "flags": []&lt;br&gt;
}&lt;br&gt;
verdict is pass, review or fail, and flags holds the reasons.&lt;br&gt;
match.status is active, inactive or unknown in every state. statusDetail keeps the state's own words, which differ a lot from state to state.&lt;br&gt;
match.source is the state office the record came from, with a link you can open.&lt;br&gt;
If you already have the state's own entity number, send id in place of name. That works in 35 states and D.C. and removes any doubt about which company you mean.&lt;/p&gt;

&lt;p&gt;The same call in Node.js&lt;br&gt;
const API = "&lt;a href="https://clerkfield.com/v1" rel="noopener noreferrer"&gt;https://clerkfield.com/v1&lt;/a&gt;";&lt;br&gt;
const headers = { Authorization: &lt;code&gt;Bearer ${process.env.CLERKFIELD_API_KEY}&lt;/code&gt; };&lt;br&gt;
const params = new URLSearchParams({ name: "Pizza and Company", state: "KY" });&lt;/p&gt;

&lt;p&gt;const res = await fetch(&lt;code&gt;${API}/business-check?${params}&lt;/code&gt;, {&lt;br&gt;
  headers,&lt;br&gt;
  signal: AbortSignal.timeout(300_000),&lt;br&gt;
});&lt;br&gt;
const check = await res.json();&lt;br&gt;
console.log(res.status, check.verdict, check.matchQuality, check.match?.status);&lt;br&gt;
// 200 pass exact active&lt;br&gt;
Three things I learned about state records&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;"Not found" is an answer. "The state didn't answer" is not. A search that finds no company comes back as a normal 200 with matchQuality: "none" and a NOT_FOUND flag. A state whose site is down comes back as 502 or 503 with retry_after_seconds. Mixing the two is how a real company gets rejected because a website was slow. Keep them apart in your code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Some states are slow, and that's normal. Many states answer in seconds. Where the check runs the state's own search at that moment, a few take one to two minutes. Send wait=20 and the API answers 202 still_searching when the state needs longer; ask again after retry_after_seconds. GET /v1/timings gives each state's usual time.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;States publish different things, and an empty field doesn't mean "none". Some states list officers, some don't. New York's free records show active companies only. The API says so in words (stateLimits) so you don't read a gap as a fact. GET /v1/coverage returns what each state offers as JSON, with no key:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;const coverage = await (await fetch("&lt;a href="https://clerkfield.com/v1/coverage%22)).json(" rel="noopener noreferrer"&gt;https://clerkfield.com/v1/coverage")).json(&lt;/a&gt;);&lt;br&gt;
const ky = coverage.find((s) =&amp;gt; s.state === "KY");&lt;br&gt;
console.log(ky.business_check_available, ky.ucc_search_available);&lt;br&gt;
Today the business check covers 50 states and D.C.&lt;/p&gt;

&lt;p&gt;Bonus: who already has a lien on the business&lt;br&gt;
Lenders also want to know who has filed a UCC lien against the business. That is a second call, covering 35 states and D.C.:&lt;/p&gt;

&lt;p&gt;curl -sS -G "&lt;a href="https://clerkfield.com/v1/liens" rel="noopener noreferrer"&gt;https://clerkfield.com/v1/liens&lt;/a&gt;" \&lt;br&gt;
  -H "Authorization: Bearer $CLERKFIELD_API_KEY" \&lt;br&gt;
  --data-urlencode "state=CT" \&lt;br&gt;
  --data-urlencode "debtor=Bob's Discount Furniture" \&lt;br&gt;
  --max-time 300&lt;br&gt;
It returns each filing with its status (active, lapsed or terminated), file number, dates and secured parties, plus a summary that names the lenders with active filings.&lt;/p&gt;

&lt;p&gt;No code?&lt;br&gt;
There is an n8n community node, n8n-nodes-clerkfield, and the same request works from n8n's HTTP Request node or a Zapier webhook step: send the name and state, then branch on pass, review or fail. There is also an MCP server if you would rather ask from Claude.&lt;/p&gt;

&lt;p&gt;What a registry record doesn't tell you&lt;br&gt;
It tells you a company exists, its status and, in some states, its officers. It doesn't tell you who really controls the company or whether the person applying is who they say. Treat it as one part of a business check.&lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://clerkfield.com/docs" rel="noopener noreferrer"&gt;https://clerkfield.com/docs&lt;/a&gt; · Coverage by state: &lt;a href="https://clerkfield.com/coverage" rel="noopener noreferrer"&gt;https://clerkfield.com/coverage&lt;/a&gt; · The longer guide with a full error-handling function: &lt;a href="https://clerkfield.com/learn/verify-a-business-with-an-api" rel="noopener noreferrer"&gt;https://clerkfield.com/learn/verify-a-business-with-an-api&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it and a state gives you something odd, tell me. Those reports are how the coverage notes got written.&lt;/p&gt;

</description>
      <category>api</category>
      <category>backend</category>
      <category>software</category>
      <category>startup</category>
    </item>
  </channel>
</rss>
