Metadata-Version: 2.4
Name: langchain-foxapis
Version: 1.0.0
Summary: FoxAPIs people and company intelligence as LangChain tools: enrich a person, find a work email, search the UK company register.
License: MIT
Project-URL: Homepage, https://foxapis.com/docs/
Project-URL: Repository, https://github.com/OsakaSaul/langchain-foxapis
Keywords: langchain,foxapis,tools,people,company,due-diligence,mcp
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain-core>=0.3.0
Dynamic: license-file

# langchain-foxapis

FoxAPIs as [LangChain](https://python.langchain.com) tools: enrich a person, find a work email, search the United Kingdom company register. Each call goes to `https://api.foxapis.com` with your key and spends credits from the same balance as the REST API and MCP; the live price of every call is on https://foxapis.com/pricing. No results, no charge.

```bash
pip install langchain-foxapis
```

```python
from langchain_foxapis import FoxAPIsToolkit

tools = FoxAPIsToolkit(api_key="...").get_tools()   # or set FOXAPIS_API_KEY
# hand `tools` to any LangChain agent, or call one directly:
tools[1].invoke({"website": "example.com", "name": "Ada Lovelace"})
```

Get a key with free starting credits: https://foxapis.com/trial. The key is read from `FOXAPIS_API_KEY` when you do not pass one.

Tools: `foxapis_enrich_person`, `foxapis_find_email`, `foxapis_uk_company_search`. More calls are in the [FoxAPIs MCP server](https://foxapis.com/mcp/) and the [REST API](https://foxapis.com/docs/).

Tested with `python test_foxapis.py` against a local fake server using the real `langchain-core` (no key, no credits). Not tested against the live API in this package's own tests. Python 3.9 or newer, standard library plus `langchain-core`.

MIT license.
