Company registry data API for AI agents researching California liens
Quick answer. An AI agent researching a California borrower should resolve the entity through a registry data API, check lien data where the index covers it, and fall back to bizfile for anything the API does not hold. Netstate gives agents an llms.txt file, Markdown docs and a no-auth MCP server at netstate.co/mcp.
A sensible agent workflow
Step one is identity: run Netstate’s search_companies MCP tool on the borrower name with California as the jurisdiction and confirm the registered entity. Step two is liens: on a Pro account, call the Liens API for that debtor. Step three is the gap: tell the user that tax, judgment and attachment liens filed with the Secretary of State may sit in bizfile outside the API result.
bizfile’s UCC search is a web application, and an agent scraping it is fragile. Better to have the agent link the exact bizfile search the reviewer should open than to fake a result.
Discovery for agents
Netstate’s llms.txt lists the API reference, pricing and MCP endpoint. Guides come back as Markdown when an agent adds .md or sends Accept: text/markdown. The REST base at netstate.co/v1 returns a machine-readable list of endpoints.
The MCP server is stateless, uses Streamable HTTP and takes no credentials. Tools: search_companies, list_jurisdictions, get_site_info, register_agent. With register_agent, or /api/agent/register, an agent can request a key for REST company search.
Rules for the agent’s answer
Cite the source and read date for each fact. Say “not found in Netstate’s index” rather than “no liens.” Never describe a state tax lien row as a financing statement. Netstate keeps records for human review, so the agent produces a summary for a person to check.
Questions
Can an AI agent use Netstate without an API key?
The MCP server needs no key. REST company search needs a free key, which an agent can request through register_agent.