Skip to main content

Verify a US Business EIN and Legal Name With the Didit API

Didit matches a US company's legal name and tax number in one KYB registry check, from $2.00 per company. You get company_name, tax_number where published, and warnings[] for mismatches.

Verify a US Business EIN and Legal Name With the Didit API

Contents

In this guide

Jump to the part you need.

If you need to confirm that a US company's legal name and its tax identifier belong together before you onboard it, this integration creates a Didit business session, runs a registry lookup, and returns company_name, tax_number and a warnings list. It fits teams onboarding US LLCs and corporations through an API. Registry checks start at $2.00 per company. The caveat: the EIN comes back only when the registry publishes it, so read the decision, not an assumption.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

EIN and legal name verification at a glance
ItemDetail
What it doesRuns a KYB registry lookup and returns the legal name as registered, the registration number, the tax number where the registry publishes it, and a warnings list
Ways to installHosted KYB session over the API, standalone search and select endpoints, or the MCP connector for a supported AI assistant
Decision fields to readcompany_name, registration_number, tax_number, registry_status, searched_by, warnings[]
PriceRegistry retrieval from $2.00 per company, priced by country and tier. Company AML $0.20, person AML $0.20 per person, linked KYC $0.33 per person, document step $0.20
Test environmentSandbox is free on every plan. The Free plan includes $10 of monthly credit
Main caveatThe EIN is not an asserted search field. You assert company_name, registry_country and registration_number; tax_number arrives only where the registry holds it

Start free in the sandbox at business.didit.me, no sales call. If you want an assistant to drive the console while you build, connect Didit through the MCP server. The docs for this flow are Business Verification (KYB): Registry and UBO, and every unit price sits on didit.me/pricing.

What the registry check returns for a US company

When a business session starts, Didit queries the official registry for the company and fills a record you can act on. For a US company, the applicable state registry is selected with the extended code format (US-CA, US-NY, US-DE). The lookup runs at one of three data tiers, Lite, Shareholders or UBOs, and tier availability differs by jurisdiction. The current list is on KYB supported countries.

The Lite record, an available retrieval tier for a name and number check, returns:

  • company_name, the legal name as registered with the authority
  • registration_number, the number the registry files the company under; for a US LLC or corporation that is issued by the state, not by the federal tax authority
  • tax_number, the tax identification number where the registry publishes one
  • company_type, registry_status, incorporation_date, registered_address and legal_entity_identifier where the registry exposes them
  • alternative_names, the trade names, dbas and former legal names held as text
  • is_from_registry, which is false when the company was entered manually
  • confirmed_by_user_at and last_console_edit_at, the timestamps of user and analyst corrections

Be precise about what you are matching. The fields you can assert at session creation are company_name, registry_country and registration_number. The EIN is not one of them. It appears as tax_number when the registry serving that company publishes a tax identifier, and it is absent when the registry does not. If your policy requires an EIN before you approve, the documented place to collect it is the Documents step, using the tax certificate document type. The full field list is in Company Registry API.

Registry data is cross-referenced with the information provided to detect inconsistencies, and the decision carries warnings[] tags on each feature array. Those tags are your mismatch signal. Read them before you approve anything.

Didit Business Console: kyb key people linked kyc
Didit Business Console: kyb key people linked kyc

Prerequisites

What you need before the first call
RequirementDetail
PlanFree at $0.00 with $10.00 of monthly credit, Growth at $99.00 a month with $115.00 of credit and 4% off Didit prices, Scale at $299.00 a month with $350.00 of credit and 10% off, or Enterprise from $15,000 a year on an annual contract
ApplicationA Didit app with KYB enabled, created at business.didit.me
WorkflowA workflow whose type is Business Verification, with the workflow_id copied from the console
CredentialAn API key from Developer Settings, API Keys. It authorizes every server-to-server call in this guide
Webhook endpointAn HTTPS endpoint reachable from the internet. Store the destination's secret_shared_key as DIDIT_WEBHOOK_SECRET
MCP client (optional)A supported MCP client pointed at https://mcp.didit.me/mcp, which signs in with OAuth. The MCP server is free on every plan
A session overview with its warnings in the Didit Business Console.
A session overview with its warnings in the Didit Business Console.

Three install routes

MCP connector, for an assistant-driven setup

We host the Didit MCP server at https://mcp.didit.me/mcp and it authorizes with OAuth, so you can add it to a supported client without hosting anything. Setup for every client is at MCP setup for every client. We list the MCP server as free. For the decision you store against a customer, use the session and webhook calls below, because that is the documented KYB path.

Console workflow, for configuration and review

Teams that only need to configure checks can create the workflow in the console. Analysts review the registry record, key people and documents in the Business Console, add comments, request documents and make the final decision. You still get status.updated events if you register a webhook destination.

API recipe, for production

The rest of this guide is the API route. It is the one to use when the result has to land in your own onboarding system with an audit trail.

Step by step

  1. Create a KYB workflow in the console. Go to Workflows, then Create workflow, and choose Business Verification as the type. Enable Company registry lookup (required), Company AML (recommended), Key People (required for most regulated industries) and Documents with the document types you will require. Save, then copy the workflow_id.

  2. Create the session and assert what you already know. Pass expected_details so the hosted flow pre-selects and locks the country, pre-fills the search fields and runs the asserted search. Both fields stay editable so the applicant can correct a wrong assertion.

    curl -X POST https://verification.didit.me/v3/session/ -H 'x-api-key: $DIDIT_API_KEY' -H 'Content-Type: application/json' -d '{
        "workflow_id": "$KYB_WORKFLOW_ID",
        "vendor_data": "biz-acme-us-001",
        "callback": "https://myapp.com/kyb/return",
        "expected_details": {
          "company_name": "Acme Robotics LLC",
          "registry_country": "US-CA",
          "registration_number": "202412345678"
        }
      }'

    The response returns session_id, session_number and url. The workflow type sets session_kind to business; no extra field is needed.

  3. Deliver the hosted link. Send url to the business contact through your own email or chat. They confirm the company from the registry results, add key people and UBOs, and upload documents. If you did not assert the country or company, they select them in the hosted flow. Search runs in Exact or Contains mode, so a contact who does not know the exact legal name can still find the entity.

  4. Receive the webhook. When the session reaches a terminal status, Didit posts a status.updated event. Business events carry session_kind: "business" inside data, so filter on that to route to your KYB handler, verify the X-Signature-V2 HMAC signature, de-dupe on event_id and respond within 5 seconds.

    {
      "webhook_type": "status.updated",
      "session_id": "a1b2c3d4-5678-4abc-9def-1234567890ab",
      "session_kind": "business",
      "vendor_data": "biz-acme-us-001",
      "status": "Approved",
      "decision": { "...": "full KYB decision" }
    }
  5. Read the decision. The webhook already carries the full decision. Call the endpoint only if you did not subscribe, or you want it on demand later.

    curl https://verification.didit.me/v3/session/$SESSION_ID/decision/ -H 'x-api-key: $DIDIT_API_KEY'

    Iterate key_people_checks[], document_verifications[] and aml_screenings[], and read the registry block for company_name, registration_number, tax_number and registry_status. The schema is in response schema.

  6. Branch on the status. Approved means onboard. Declined means reject and log the warnings[] tags. In Review means wait for the analyst decision and the next webhook. Resubmitted means re-deliver the same url, which resumes the flow at the resubmission step. Awaiting User means a child Key People KYC is still open.

Field and event mapping

How your inputs map to Didit fields and events
Your sideDidit fieldWhere it appearsNote
Legal name you were givenexpected_details.company_nameSession requestPre-fills and runs the asserted search; stays editable
State of incorporationexpected_details.registry_countrySession requestUse US-<state> to select the applicable state registry
State filing numberexpected_details.registration_numberSession requestNormalized where the registry requires it; combined with the name when both are sent
Your business idvendor_dataRequest and every webhookBinds the session to the business profile
Legal name as registeredcompany_nameDecision registry blockWhat you compare against your own record
Tax identifiertax_numberDecision registry blockReturned where the registry publishes it
How the search matchedsearched_bySearch responsename, registration_number or registration_number_and_name
Mismatch and risk tagswarnings[]Each feature array in the decisionLog these on every decline
Data tier you asked for and gotregistry_tier_requested, registry_tier_deliveredRegistry responseYou pay for the tier delivered
Ownership outcomeregistry_ownership_statusRegistry responsedelivered, not_held, unavailable, pending or not_requested
Manual fallbackis_from_registryDecision registry blockfalse for manual entry
Routing keysession_kindWebhook payloadbusiness for KYB events

Four events matter for this flow: status.updated with session_kind === "business" for progress, data.updated when a reviewer edits registry data or key people in the console, business.status.updated when the linked business entity changes, and business.data.updated when its profile or counters change. Subscribe with POST /v3/webhook/destinations/ and webhook_version: "v3"; the event catalog is in KYB webhooks.

Test with sandbox data

The sandbox is free on every plan, so you can run the full sequence before you spend credit. Create the app, create the KYB workflow, then call the session endpoint with a company you can verify against the state registry you are targeting.

Run one real US company through the sandbox first: the registry record and warnings[] tags come back from the same session; tax_number appears when that registry publishes it.

Expected success

  • The session call returns session_id, session_number and url
  • The hosted flow opens on the asserted company rather than an empty search, because expected_details pre-filled it
  • The registry block returns company_name matching the asserted legal name, registration_number matching the state number, and registry_status of Active
  • tax_number is present when that registry publishes a tax identifier, and absent when it does not
  • The final status is Approved with an empty warnings[] on the registry feature

Error cases and fixes

What breaks and how to fix it
SymptomCauseFix
400 Bad RequestInvalid workflow_idCopy the id again from Workflows in the console
Session created but runs KYC stepsThe workflow's workflow_type is not kybCreate a Business Verification workflow and use that id
Warning KYB_COUNTRY_RESTRICTEDThe company's country sits outside the workflow's allowed countriesAdd the country to the workflow configuration
502 with kyb_registry_provider_unavailableRegistry provider outage during company searchNot billed. The hosted flow offers manual entry instead; retry later
429 Too Many RequestsRate limitRead the Retry-After header and back off
tax_number missingThe registry does not publish a tax number for that companyTreat it as missing data, not a mismatch, and collect a tax certificate in the Documents step
is_from_registry is falseThe company was not found and was entered manuallyCheck the state code and filing number, then re-run if the registry should hold it
registry_tier_delivered is Lite although you asked for UBOsThe registry holds no ownership record for the companyBilling uses the tier delivered; read registry_ownership_status to see why

Sandbox notes

Each company gets a business profile keyed by vendor_data, and the profile aggregates results across sessions, so re-running the same vendor_data is linked to the same business profile. A duplicate vendor_data creates a new session by design, which is what you want for re-verification. If a key person's link expired before they started, reissue it with POST /v3/session/{session_id}/kyb/parties/{party_uuid}/regenerate/.

Standalone route: name and number without the hosted flow

If all you need is a server-to-server lookup and you already hold the legal name and registration number, skip the session. The standalone endpoints run the same registry work:

Standalone KYB endpoints and prices
EndpointWhat you getPrice
POST /v3/kyb/search/Candidate companies: name, registration number, status, type$0.50 per request when paid-source results are returned
POST /v3/kyb/select/Lite: company profile and officers$2.00 to $3.00 by country
POST /v3/kyb/shareholders/Lite plus direct shareholders with ownership bands$5.00 to $22.00 by country
POST /v3/kyb/ubo/Shareholders plus UBOs resolved through the ownership chain$9.00 to $96.00 by country

Empty results, failed searches and results served only by other sources are not charged. Request and response schemas are in KYB Registry API, and per-country prices are in KYB registry pricing.

Disconnect and rotate

  • MCP connector. Remove the connector in your assistant's connector settings and revoke its OAuth grant. Setup and client-specific connection details are at MCP setup for every client.
  • API key. Delete or rotate the key in Developer Settings, API Keys, then redeploy with the new value.
  • Webhook destination. Remove the destination you registered and retire the stored DIDIT_WEBHOOK_SECRET. The destination management calls are in the KYB webhooks docs.
  • Business profile. A business profile aggregates results across sessions and is keyed by vendor_data. Review the profile in the Business Console when you change credentials or retire a vendor id.

Cost of both routes, with the arithmetic

Both routes use published unit prices. Take one US company at the Lite tier, with a registry price of $2.00 to $3.00 depending on the jurisdiction, company AML on, two key people who each need a full ID check and person AML, and one document-collection step:

  • Registry Lite: $2.00 to $3.00 by jurisdiction
  • Company AML: $0.20
  • Person AML, 2 x $0.20: $0.40
  • Linked KYC, 2 x $0.33: $0.66
  • Document step: $0.20
  • Total at list price: ($2.00 to $3.00) + $0.20 + $0.40 + $0.66 + $0.20 = $3.46 to $4.46 per company
  • On Growth: $3.46 x 0.96 to $4.46 x 0.96 = $3.32 to $4.28
  • On Scale: $3.46 x 0.90 to $4.46 x 0.90 = $3.11 to $4.01

The standalone route is cheaper when you only need the name and number: search at $0.50 plus Lite select at $2.00 to $3.00 is $2.50 to $3.50, with no company AML, no person AML, no linked KYC and no document step. Ownership costs more because it buys more: a Shareholders retrieval runs $5.00 to $22.00 and a UBOs retrieval $9.00 to $96.00 by country.

We list the Workflow Orchestrator, SDKs and MCP server as free, and the sandbox is where you settle your own volume estimate before you commit to a plan.

Limits to write into your runbook

  • tax_number depends on the registry. Absence is missing data, not a failed match.
  • expected_details is pre-fill only. Selecting a different company than the one you asserted does not by itself produce a warning, so keep your own comparison of company_name against what you collected.
  • A registry_status other than Active, meaning dissolved, struck off, in liquidation or dormant, may be flagged or declined depending on your workflow configuration.
  • Tier availability varies by jurisdiction. A country with no tier at all is handled as manual entry at the flat manual-entry price.
  • Registry searches are asynchronous. Large registries can take a few seconds to resolve, so follow the webhook rather than looping on the search.

Sources

Next step: open business.didit.me, create a KYB workflow and run one US company through the sandbox. No sales call, no contract, and the registry record comes back with the names you have to compare.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I verify a US business EIN and legal name with an API?

Create a KYB workflow in the Didit console, then POST to https://verification.didit.me/v3/session/ with that workflow_id and a vendor_data value. The response returns a hosted url to send to the business contact. When the session reaches a terminal status, the status.updated webhook carries the full decision, including the registry record and its warnings.

Does the API return the company's EIN?

tax_number is part of the registry record and is returned where the registry publishes it. Didit does not fill the field when the registry holds no value, so treat an empty tax_number as missing data rather than a mismatch. If you must hold an EIN before approval, request a tax certificate in the Documents step.

What is the difference between the registration number and the EIN?

The registration number is what the company registry files the entity under, and for a US LLC or corporation that number is issued by the state. The EIN is a federal tax identifier. You assert the registration number in expected_details; the EIN, where available, comes back as tax_number.

How does legal name matching work when the submitted name is slightly wrong?

Registry search supports Exact and Contains modes, and the response's searched_by field reports whether the match came from the name, the registration number, or both. The record also carries alternative_names for trade names, dbas and former legal names. In the hosted flow the applicant confirms or corrects the record, and analysts can edit from the console, with last_console_edit_at recording the change.

Which US states can I check?

US registries are selected with the extended US-<state> code, for example US-CA, US-NY or US-DE. Tier availability differs by jurisdiction and the full list sits on the supported countries page. A jurisdiction with no registry tier is offered as manual entry instead.

How much does one US business verification cost?

Registry retrieval starts at $2.00 per company and is priced by country and tier, so the exact figure for a US state comes from the per-country list. Add-ons are separate: company AML $0.20, person AML $0.20 per person, linked KYC $0.33 per person and $0.20 per document-collection step. Growth takes 4% off Didit prices and Scale takes 10% off.

Can I check a name and number without the hosted flow?

Yes. The standalone KYB endpoints run the same registry work server to server. POST /v3/kyb/search/ costs $0.50 when paid-source results are returned, and POST /v3/kyb/select/ returns the Lite profile and officers at the Lite price for that country. Empty results and failed searches are not charged.

What happens when the company is not in the registry?

The hosted flow falls back to manual company entry, the session continues with the data the applicant provides, and is_from_registry is set to false. Manual entry is billed at the flat manual-entry price rather than a registry tier. A registry provider outage returns 502 with kyb_registry_provider_unavailable and is not billed.

What do the warnings in the decision mean?

warnings[] carries tags on each feature array, such as KYB_COUNTRY_RESTRICTED when the company's country falls outside the workflow's allowed countries. They flag inconsistencies between registry data and the information provided, and they are what you log when you decline a company. A session sitting in In Review has at least one check waiting for an analyst.

Do I need a sales call to test this?

No. You can create an app at business.didit.me and run the flow in the sandbox, which is free on every plan. The Free plan includes $10 of monthly credit toward live checks, Growth is $99 a month with $115 of credit and Scale is $299 a month with $350 of credit.

How long does a check take?

The published quickstart runs end to end in under 10 minutes, and registry searches are asynchronous, so a large registry can take a few seconds to return results. Follow the status.updated webhook rather than polling in a loop. Sessions that land in In Review take longer because an analyst decides them.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.