Metadata-Version: 2.5
Name: langchain-equibles
Version: 0.1.1
Summary: LangChain tools for Equibles: SEC filings, earnings call transcripts, financial statements, ownership and market data.
Project-URL: Homepage, https://equibles.com
Project-URL: Documentation, https://equibles.com/docs
Project-URL: Repository, https://github.com/equibles/equibles-integrations
Project-URL: Issues, https://github.com/equibles/equibles-integrations/issues
Author-email: Equibles <social@equibles.com>
License-Expression: MIT
License-File: LICENSE
Keywords: agents,earnings-calls,equibles,finance,langchain,sec-filings,tools
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: langchain-core>=0.3.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: test
Requires-Dist: langchain-tests>=1.1.0; extra == 'test'
Requires-Dist: pytest>=8.0.0; extra == 'test'
Description-Content-Type: text/markdown

# langchain-equibles

LangChain tools for [Equibles](https://equibles.com): 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 [Equibles REST API](https://equibles.com/docs/api) and returns its JSON, so an agent can quote the filing or call a figure came from.

## Install

```bash
pip install langchain-equibles
```

Python 3.10 or later.

## API key

Create a free key at [equibles.com/dashboard/apikeys](https://equibles.com/dashboard/apikeys) (it starts with `eq_`) and export it:

```bash
export EQUIBLES_API_KEY=eq_your_api_key
```

Or pass `api_key="eq_..."` to `EquiblesToolkit` or `get_tool`.

## Use

All tools, sharing one API client:

```python
# pip install langchain langchain-anthropic
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": "What did NVIDIA say about Data Center revenue in its latest 10-Q?"}]}
)
print(result["messages"][-1].content)
```

One tool on its own:

```python
from langchain_equibles import get_tool

search = get_tool("search_company_filings")
print(search.invoke({"ticker": "NVDA", "query": "Data Center revenue", "documentType": "10-Q"}))
```

## Tools

| Tool | What it returns |
|---|---|
| `search_listings` | Listings matching a company name, ticker or ISIN, with the symbol the other tools accept |
| `get_stock_profile` | Company description, sector and industry, CIK, fiscal year end, ISIN and other listings |
| `get_stock_prices` | Daily, weekly or monthly open, high, low, close and volume |
| `get_financial_statement` | Income statement, balance sheet or cash-flow statement for one fiscal period, from SEC XBRL filings |
| `search_company_filings` | Matching excerpts from one company's SEC filings and earnings call transcripts |
| `search_all_filings` | The same search across every company, for questions like which companies mention a topic |
| `read_filing_lines` | A range of numbered lines from one filing or transcript, by the document id a search returned |
| `list_investor_events` | Earnings calls (with whether a transcript exists), conferences, investor days and shareholder meetings |
| `get_earnings_call_transcript` | A fiscal quarter's earnings call, speaker by speaker, paged |
| `get_insider_transactions` | Insider purchases, sales and awards from SEC Forms 4 and 5 |
| `get_institutional_holders` | The largest 13F holders of a stock or ETF |
| `get_short_interest` | FINRA short interest twice a month, with days to cover |
| `get_guidance` | Guided metrics from 8-K results releases and earnings calls, with the verbatim disclosure |
| `get_analyst_estimates` | Analyst consensus, including segment and operating forecasts |

US stocks use the bare ticker (`AAPL`, `BRK-B`); a listing on another exchange uses `MIC:TICKER` (`XETR:SIE`), which `search_listings` returns.

All 14 tools work on the Free plan, within its daily call limit ([rate limits](https://equibles.com/docs/rate-limits)).

## Errors

An API error, such as an unknown ticker, comes back as the tool's answer text, so the agent can correct its call. Set `handle_tool_error = False` on a tool to raise `ToolException` instead.

## More from Equibles

Equibles is a financial data platform built for AI agents and developers. This package wraps 14 of its REST endpoints; the same account reaches far more data, two ways:

- **MCP server**: over 100 tools that Claude, ChatGPT, Cursor, VS Code and other MCP clients call directly, connected with a URL and no code. [Connect a client](https://equibles.com/docs/mcp)
- **REST API**: JSON endpoints for most of the same data, with the API key this package already uses. [REST reference](https://equibles.com/docs/api/endpoints)

| Data | What it covers |
|---|---|
| [Filings and documents](https://equibles.com/docs/mcp/tools/filings) | SEC filings, plus Canadian and Brazilian filings, searched and read line by line |
| [Earnings calls](https://equibles.com/docs/mcp/tools/earnings) | Call transcripts, analyst questions, earnings briefs, call themes, slides and upcoming investor events |
| [Fundamentals and valuation](https://equibles.com/docs/mcp/tools/fundamentals) | Financial statements, reported facts, valuation multiples, guidance and company KPIs |
| [Analyst estimates](https://equibles.com/docs/mcp/tools/analyst-estimates) | Consensus forecasts, including segment and operating metrics |
| [Prices](https://equibles.com/docs/mcp/tools/prices) | Daily and intraday prices, live quotes, dividends, splits and technical indicators |
| [Options](https://equibles.com/docs/mcp/tools/options) | Chains, greeks, open interest, trades, volatility history and strategy analysis |
| [Institutional holdings (13F)](https://equibles.com/docs/mcp/tools/holdings) | Every stock's holders, manager portfolios and quarterly buying and selling |
| [Funds and advisers](https://equibles.com/docs/mcp/tools/funds), [ETFs](https://equibles.com/docs/mcp/tools/etfs) | Fund and ETF holdings in the US, Europe, Canada and Brazil, and SEC-registered investment advisers |
| [Insider trading](https://equibles.com/docs/mcp/tools/insider) | Insider transactions in the US, Canada, Europe and Brazil, and Form 144 proposed sales |
| [Congressional trading](https://equibles.com/docs/mcp/tools/congress) | Stock trades and net worth of members of Congress |
| [Short selling](https://equibles.com/docs/mcp/tools/short) | Short interest, daily short volume, fails-to-deliver, squeeze scores, and Canadian and European short positions |
| [Economic data and sentiment](https://equibles.com/docs/mcp/tools/economic) | Economic indicators and calendar, CFTC futures positioning, put/call ratios and the VIX |
| [Stock indexes](https://equibles.com/docs/mcp/tools/indexes) | Index composition, changes and inclusion forecasts |
| [Company actions](https://equibles.com/docs/mcp/tools/capital) | Buybacks, at-the-market offerings, executive pay and changes, government contracts, FDA advisory meetings and a stock screener |
| [IPOs](https://equibles.com/docs/mcp/tools/ipos), [debt](https://equibles.com/docs/mcp/tools/debt-profiles), [supply chains](https://equibles.com/docs/mcp/tools/supply-chain) | The S-1 pipeline with prospectus terms, debt instruments, and customers and suppliers |
| [Crypto](https://equibles.com/docs/mcp/tools/crypto), [forex](https://equibles.com/docs/mcp/tools/forex) | Daily and intraday prices and live quotes |

Every plan, Free included, reaches both the MCP server and the REST API; a few data sets, such as option chains and live quotes, need a paid plan. [Plans and pricing](https://equibles.com/pricing)

## Links

- [LangChain guide on equibles.com](https://equibles.com/docs/api/langchain)
- [REST API reference](https://equibles.com/docs/api)
- [Issues](https://github.com/equibles/equibles-integrations/issues)

## License

MIT
