LangChain is an open-source framework for building agents. The langchain-equibles package turns 14 read-only Equibles REST endpoints into LangChain tools: search SEC filings and earnings call transcripts, read financial statements, daily prices, insider trades, 13F holders, short interest, company guidance and analyst estimates. Each tool calls the REST API with your key and hands the endpoint's JSON to the agent, so its answer can cite the filing or call a figure came from.
To reach the full catalog of over 100 tools instead, connect the agent to the MCP server.
1. Install
pip install langchain-equibles
The package needs Python 3.10 or later. The agent below also needs LangChain and a model provider:
pip install langchain langchain-anthropic
2. Add your API key
Create an API key at /dashboard/apikeys (it starts with eq_ and is shown once) and export it:
export EQUIBLES_API_KEY=eq_your_api_key
The tools read EQUIBLES_API_KEY, or take the key as api_key="eq_...".
3. Give the tools to an agent
EquiblesToolkit returns every tool, sharing one API client:
from langchain.agents import create_agent
from langchain_equibles import EquiblesToolkit
tools = EquiblesToolkit().get_tools()
agent = create_agent("anthropic:claude-sonnet-5-5", tools=tools)
result = agent.invoke(
{"messages": [{"role": "user", "content": "Who are NVIDIA's largest institutional holders, and as of which 13F report date?"}]}
)
print(result["messages"][-1].content)
To give the agent only some tools, pick them by name with get_tool:
from langchain_equibles import get_tool
tools = [get_tool("search_company_filings"), get_tool("read_filing_lines")]
4. Call a tool without a model
A tool runs on its own, which shows what the agent will see. This uses one request from your daily allowance and no model tokens:
from langchain_equibles import get_tool
holders = get_tool("get_institutional_holders")
print(holders.invoke({"ticker": "NVDA", "limit": 3}))
The answer is the endpoint's JSON as one string, formatted here and trimmed to two holders. percentOfTotal is a percentage of the shares all 13F filers report:
{
"data": [
{
"name": "BlackRock, Inc.",
"cik": "2012383",
"shares": 1940885915,
"value": 443259525254,
"percentOfTotal": 10.971424013488857,
"listedTicker": null,
"positionType": "Common",
"holderType": "Holding company",
"style": "Index-like"
},
{
"name": "VANGUARD CAPITAL MANAGEMENT LLC",
"cik": "2100119",
"shares": 1540600742,
"value": 351842397457,
"percentOfTotal": 8.708695264027174,
"listedTicker": null,
"positionType": "Common",
"holderType": "Registered adviser",
"style": "Index-like"
}
],
"meta": {
"reportDate": "2026-09-30",
"isCombinedQuarter": true,
"totalInstitutions": 6145,
"totalShares": 17690373762,
"totalValue": 3920892775489,
"styleReportDate": "2026-06-30",
"limit": 3,
"offset": 0,
"count": 3,
"hasMore": true
}
}
Tools
Each tool wraps one endpoint; its parameters are the endpoint's, and the linked reference documents its response.
| Tool | Endpoint |
|---|---|
search_listings |
Listings |
get_stock_profile |
Stock profile |
get_stock_prices |
Daily prices |
get_financial_statement |
Financial statements |
search_company_filings |
Search a company's filings |
search_all_filings |
Search all filings |
read_filing_lines |
Read filing lines |
list_investor_events |
Investor events |
get_earnings_call_transcript |
Earnings call transcript |
get_insider_transactions |
Insider transactions |
get_institutional_holders |
Institutional holders |
get_short_interest |
Short interest |
get_guidance |
Guidance |
get_analyst_estimates |
Analyst estimates |
A US stock takes its bare ticker (AAPL, BRK-B); a listing on another exchange takes MIC:TICKER (XETR:SIE), which search_listings returns. All 14 tools work on the Free plan, within its daily request limit (Plans & limits).
Errors
An API error, such as an unknown ticker or a spent daily limit, comes back as the tool's answer text, so the agent can read the message and correct its call. To raise a ToolException instead, set handle_tool_error = False on the tool. The error reference lists the codes.
The package is open source under the MIT license; report problems on GitHub.