For AI agents · MCP + REST

Company registry data API for AI agents

Give your AI agent verified company data from official business registries: 490 million companies across 307 jurisdictions, including all 50 US states, over a remote MCP server and a REST API with an OpenAPI 3.1 spec. Agents search companies, read registry records, check officers, Secretary of State registrations, UCC liens and sanctions — with one API key and a published price.

Why AI agents need registry data

Generative AI is moving from chat into operations: AI agents now open accounts, qualify leads, draft credit memos and review suppliers. Large language models are fluent about companies and often wrong about them. Ask a model whether an LLC is still active in Texas, who its registered agent is, or whether it has liens against it, and it will answer from training data that is months old — or invent an answer. An agent that onboards customers, qualifies leads, reviews vendors or prepares due diligence needs grounded answers it can cite.

A company data API for AI agents is that grounding. Instead of scraping state websites or trusting a web search snippet, the agent calls a tool and gets the record the government registry holds: the legal name, registration number, status, formation date, officers and filings. The answer is checkable, current to the registry, and the same every time the agent asks.

Two ways to connect an agent

Model Context Protocol (MCP) server — no code

The Model Context Protocol (MCP) is the open standard AI systems use to discover and call external tools. Statsnet runs a remote MCP server at https://statsnet.co/mcp (Streamable HTTP, MCP 2025-06-18). Point any MCP client at it — Claude, Claude Code, Cursor, VS Code with GitHub Copilot, or your own agent built on an MCP-capable framework — and the tools appear in the model's toolbox. Nothing to install.

claude mcp add --transport http statsnet https://statsnet.co/mcp \
  --header "Authorization: Bearer sk_live_YOUR_KEY"
{
  "mcpServers": {
    "statsnet": {
      "url": "https://statsnet.co/mcp",
      "headers": { "Authorization": "Bearer sk_live_YOUR_KEY" }
    }
  }
}

Without a key the server runs in anonymous mode with company search and the public company card. With a key it adds the paid tools. Full setup for each client is in the MCP documentation.

REST API with an OpenAPI spec — function calling

If your agent uses function calling or tool use directly, load the OpenAPI 3.1 spec and turn its operations into tools. Every operation has a stable operationId, a summary written for a model to read, typed parameters and JSON response schemas — exactly what an LLM needs to pick the right call and fill its arguments.

import requests

API = "https://statsnet.co/api/v1"
headers = {"x-api-key": "sk_live_YOUR_KEY"}

def search_companies(query: str, jurisdiction: str) -> dict:
    """Find companies by name or registration number in one jurisdiction (e.g. 'us-de', 'kz')."""
    body = {"query": query, "filters": {"jurisdiction": [jurisdiction]}}
    return requests.post(f"{API}/companies/search", json=body, headers=headers).json()

def us_registry_profile(company_id: int) -> dict:
    """Secretary of State profile of a US company: status, entity type, formation date, agent, officers."""
    return requests.get(f"{API}/companies/{company_id}/us-profile", headers=headers).json()

def us_liens(company_id: int) -> dict:
    """UCC-1 lien filings where the US company is the debtor."""
    return requests.get(f"{API}/companies/{company_id}/liens", headers=headers).json()

Register these functions as tools in the Claude API, the OpenAI API or any agent framework, and the model calls them when a question needs registry data.

Tools your agent gets

Over MCP:

ToolAccessWhat the agent gets
search_companiesno keyMatches by company name, registration number or officer name
get_companyno keyPublic company card: status, registration, management, counters
get_company_paidkeyFull card: shareholders, capital, financial history, risks
get_gov_contractskeyGovernment contracts: subject, customer, amount, dates
get_court_caseskeyCourt cases: number, court, parties, outcome
get_relationskeyRelations graph: shareholders, officers and their other companies
check_individualkeyCompanies where a person is an officer or shareholder

Over REST (US registry):

OperationWhat the agent gets
POST /companies/searchCompany search across a state or all US states
GET /companies/get_id/{jurisdiction}/{identifier}Company id from a state entity number
GET /companies/{id}/us-profileSecretary of State profile: status, type, dates, EIN, NAICS, agent, officers
GET /companies/{id}/registrationsEvery state where the same business is registered
GET /companies/{id}/liensUCC lien filings against the company
POST /liens/searchUCC lien search by debtor name
GET /companies/{id}/us-licenses, /permitsState licenses and permits
GET /companies/{id}/watchlistSanctions, debarment and PEP name matches

The US endpoints are described in detail in the Secretary of State API, UCC Liens API and business entity lookup API guides.

What agents do with company data

  • KYB and onboarding agents verify that a new business customer is registered and active, compare the legal name with what the applicant typed, and screen the name against sanctions lists before a human approves. See the KYB API.
  • Credit and underwriting copilots pull a borrower's registry profile and UCC liens into the credit memo, with the filing numbers to cite.
  • Sales and research agents enrich accounts with the legal entity, industry code and officers, and find every state where a target company is registered.
  • Procurement agents run vendor due diligence across jurisdictions — a Delaware LLC, a Kazakh LLP and a Georgian company in one workflow, one schema.
  • Coding agents answer "is this company real?" mid-task when building onboarding flows, using the same MCP server developers already have in Claude Code or Cursor.

A typical agent flow is short: search_companies → take the identifier from the result → get_company (or the US profile endpoint) → follow-up tools only when the question needs them. If the company is not found, nothing is charged.

Example: one agent request, step by step

Here is what happens when a user asks a KYB agent connected to Statsnet: "Can we onboard Acme Holdings LLC from Delaware? Check it's real and has no liens."

  1. Search. The agent turns the request into a query and calls search_companies with query: "Acme Holdings" and jurisdiction: "us-de". The result lists matching companies with their state entity numbers.
  2. Validate the match. It picks the result whose legal name and legal form match the request — the context the user gave — and resolves its company id.
  3. Read the registry record. A call to the US profile returns the key information in a fixed format: status, entity type, formation date, registered agent and officers.
  4. Check risk. Two more requests: registrations (is it qualified in other states?) and liens (does a lender already hold a UCC lien?).
  5. Answer with sources. The agent replies with the facts, the entity number and filing numbers to cite, and flags anything that needs human review.

Each call is a single HTTP request answered in real time from the Statsnet index; no documents to download, no PDFs to parse. The whole flow costs a few cents, and the tool results stay accessible in the conversation for the user to inspect.

Registry data vs market data APIs

"Company data" means two different things to AI agents. Market data APIs serve stock prices, financial statements of listed companies and analyst estimates — useful for investment research agents, but they cover only the few thousand public companies on an exchange. Company registry data covers every legally registered business, public or private, in each country: the legal entity, its status, officers, filings and liens.

Most questions an operations agent gets — is this supplier real, who signs for this LLC, is this borrower already pledged — are registry questions that market data providers cannot answer. Statsnet is a registry data provider; pair it with a market data API if your agent also needs share prices.

Data sources and data fields

Agents are only as reliable as their data sources. Every Statsnet record comes from an official register, not from web scraping or self-reported profiles:

Data sourceKey information returned
US Secretary of State registries (all 50 states, DC, Puerto Rico)Legal name, entity number, legal form, status, formation date, registered agent, officers
State UCC filing officesUCC-1 liens: debtor, secured party, filing number and date
State licensing boards and permit officesLicenses and permits with number, type and status
National company registries (Kazakhstan, Uzbekistan, Kyrgyzstan, Georgia, Armenia and others)Officers, shareholders, financial statements, tax data, government contracts, court cases
OpenSanctionsSanctions, debarment and PEP lists for screening

The data fields are stable and named the same across countries — status, entity_type, formation_date, registration_number — so a prompt or a tool schema written for one jurisdiction works for the next. That consistency matters more for an agent than for a human: a model that sees the same field names every time makes fewer mistakes when it reads the response and cites it back to the user.

Data retrieval is by tool call, not by embedding registry dumps in vector databases. The agent asks for the company it needs when it needs it, so the answer reflects the current registry record rather than a snapshot frozen at indexing time.

Security, data governance and human review

Putting company data into an AI stack raises the same security and compliance questions as any enterprise integration: who can call it, what it costs, and who is accountable for the decision. Organizations rolling out agents usually need straightforward answers to all three before go-live.

  • Secure key handling. API keys belong in the MCP client's connection headers or server-side tool code. Keys can be revoked at any time from the account page, and a revoked key fails with 401 instead of silently falling back to anonymous access.
  • Data governance. The data is public registry data — company records, not personal data scraped from the web. Contact details are returned only for companies your account has unlocked.
  • Human review where it counts. Automated decision making on registry data is a good fit for clear cases (an active company whose name matches); watchlist hits and mismatches should go to a person. Sanctions matches are name-only by design, so the agent should present them as potential matches for human review.
  • Avoiding non-compliance. For regulated workflows (KYB, AML), keep the API response as the audit record of what the registry said and when. That record is what auditors ask for, and it protects you from non-compliance findings when an agent made the first-pass call.

Works with the tools you already use

Statsnet is one more tool in an existing agent setup, not a new platform. It integrates with legacy systems through plain REST and with modern agent frameworks through MCP:

  • Claude, Claude Code and the Claude API — MCP connector or tool use with functions generated from the OpenAPI spec.
  • Cursor and VS Code — MCP configuration file, as shown above.
  • OpenAI and other function-calling models — tools generated from the OpenAPI operations.
  • Workflow tools and back offices — the same REST endpoints from any HTTP client, so the agent and your existing systems read the same records.

Coverage

RegionCompaniesRegistry data
United States117M+ records, 50 states + DC + Puerto RicoSecretary of State records, cross-state registrations, UCC liens, licenses, permits, sanctions screening
Kazakhstan, Uzbekistan, Kyrgyzstan, Georgia, Armenia, Tajikistan, AzerbaijanNational registriesOfficers, shareholders, financials, government contracts, court cases, tax data where published
Rest of the world307 jurisdictions, 490M companies in totalCompany search and registry cards

Built for agents, not just humans

  • One key for REST and MCP. The same sk_live_ key authenticates both, and inherits the account's plan.
  • Deterministic, typed responses. JSON with stable field names over REST; compact Markdown over MCP, so the model reads results without parsing.
  • Explicit errors. 401 bad key, 402 subscription expired, 403 data not in plan, 404 not found, 429 quota used — an agent can tell the user exactly what to do. An invalid key is never silently downgraded to anonymous mode.
  • Machine-readable docs. llms.txt, llms-full.txt, a .md twin of every docs page, and the OpenAPI spec.
  • Keys stay out of the prompt. Put the key in the MCP client's connection headers or your server-side tool code, never in the chat.

Pricing

WhatPrice
Anonymous MCP (search + public card)Free, rate-limited
US company lookup$0.008 cached / $0.05 live
UCC lien search$0.50 per state
Free tier1,000 lookups on sign-up, no card

Full company cards outside the US and the paid MCP tools draw on your plan's report quota; repeat views of the same company within two weeks are free. See pricing.

FAQ

What is a company data API for AI agents?

It is an API that lets an AI agent look up companies in official business registries as a tool call — search by name, read the registration record, check officers, filings and risk signals — instead of guessing from training data. Statsnet exposes this over an MCP server and a REST API with an OpenAPI spec.

Does Statsnet have an MCP server?

Yes. The remote MCP server is at https://statsnet.co/mcp. It works with Claude, Claude Code, Cursor, VS Code and any MCP-compatible client; search and the public company card work without a key.

Which AI frameworks does it work with?

Any framework that supports MCP or function calling. Connect the MCP server directly, or generate tools from the OpenAPI spec for the Claude API, the OpenAI API or other agent frameworks.

Can an agent verify a US business?

Yes. The agent searches the company (or resolves its state entity number), reads the Secretary of State profile — status, entity type, formation date, registered agent, officers — and can check cross-state registrations, UCC liens and sanctions matches.

Is there a free tier for AI agents?

Anonymous MCP access to company search and public cards is free and rate-limited. A new account also gets 1,000 free lookups with an instant API key, no card required.

How does the agent authenticate?

Pass the API key as Authorization: Bearer sk_live_... in the MCP connection settings, or as x-api-key in REST calls from your server-side tool code. Never paste the key into the chat itself.