> ## Documentation Index
> Fetch the complete documentation index at: https://www.forager.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Forager is a REST API for B2B people, company and job post data: contact lookups (phone numbers, personal emails, work emails), person, company and job post search, and bulk data feeds.
> Server: https://api-v2.forager.ai. Send the API key in the X-API-KEY header. Most paths include {account_id}. Read FORAGER_API_KEY and FORAGER_ACCOUNT_ID from the environment; never put the key in client-side code, logs or prompts.
> To add Forager to a project, follow https://www.forager.ai/docs/guides/agent-quickstart.md. To pick an endpoint, read https://www.forager.ai/docs/guides/choose-an-endpoint.md. For end-to-end builds, see https://www.forager.ai/docs/recipes/overview.md.
> Most requests spend credits. Do not guess costs; use https://www.forager.ai/docs/api-overview/credit-pricing.md and ask the user before spending credits.
> Use only endpoints and fields defined in https://www.forager.ai/docs/openapi.yaml. Forager has no MCP server for the API yet; the /mcp endpoint on this site searches the documentation only.

# Forager integration for Deepline

> Use the Forager module in Deepline: typed tools for people, company and job post search plus contact lookups, run with your own API key.

![Forager module for Deepline: typed tools for people, company and job post search plus contact lookups](https://mintcdn.com/forager/kIi3fFzl8yFOomGX/images/illustrations/deepline-integration-forager-tools.svg?fit=max\&auto=format\&n=kIi3fFzl8yFOomGX\&q=85\&s=13272842ee4fda3a6b81822cb52dd8c9)

[Deepline](https://deepline.com/integrations/forager) has a Forager module built by Deepline. It wraps the Forager API as typed tools, with an input and output schema for each one, and calls them with your own Forager API key.

## Available tools

Each tool calls one Forager endpoint. The endpoint page has the full request and response.

| Deepline tool | Forager endpoint |
| - | - |
| `forager_person_role_search` | [Person role search](https://www.forager.ai/docs/openapi/people/datastorage_person_role_search_create.md) |
| `forager_person_role_search_totals` | [Person role search totals](https://www.forager.ai/docs/openapi/people/datastorage_person_role_search_totals_create.md) |
| `forager_person_detail_lookup` | [Person detail lookup](https://www.forager.ai/docs/openapi/people/datastorage_person_detail_lookup_create.md) |
| `forager_person_detail_reverse_lookup_by_email` | [Reverse email lookup](https://www.forager.ai/docs/openapi/people/datastorage_person_detail_reverse_lookup_by_email_create.md) |
| `forager_person_detail_reverse_lookup_by_phone_number` | [Reverse phone lookup](https://www.forager.ai/docs/openapi/people/datastorage_person_detail_reverse_lookup_by_phone_number_create.md) |
| `forager_person_contacts_lookup_personal_emails` | [Personal email lookup](https://www.forager.ai/docs/openapi/personal-emails/datastorage_person_contacts_lookup_personal_emails_create.md) |
| `forager_person_contacts_lookup_work_emails` | [Work email lookup](https://www.forager.ai/docs/openapi/work-emails/v2_datastorage_person_contacts_lookup_work_emails_create.md) |
| `forager_person_contacts_lookup_phone_numbers` | [Phone number lookup](https://www.forager.ai/docs/openapi/phones/datastorage_person_contacts_lookup_phone_numbers_create.md) |
| `forager_organization_search` | [Organization search](https://www.forager.ai/docs/openapi/organizations/datastorage_organization_search_create.md) |
| `forager_organization_search_totals` | [Organization search totals](https://www.forager.ai/docs/openapi/organizations/datastorage_organization_search_totals_create.md) |
| `forager_job_search` | [Job post search](https://www.forager.ai/docs/openapi/job-posts/datastorage_job_search_create.md) |
| `forager_job_search_totals` | [Job post search totals](https://www.forager.ai/docs/openapi/job-posts/datastorage_job_search_totals_create.md) |
| `forager_website_detail_lookup` | [Website lookup](https://www.forager.ai/docs/openapi/websites/datastorage_website_detail_lookup_create.md) |
| `forager_industry_autocomplete` | [Industries lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_industry_lookup.md) |
| `forager_location_autocomplete` | [Locations lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_location_lookup.md) |
| `forager_organization_autocomplete` | [Organizations lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_organization_lookup.md) |
| `forager_organization_keyword_autocomplete` | [Organization keywords lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_organization_keyword_lookup.md) |
| `forager_person_skill_autocomplete` | [Person skills lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_person_skill_lookup.md) |
| `forager_web_technology_autocomplete` | [Web technologies lookup](https://www.forager.ai/docs/openapi/autocomplete/v1_web_technology_lookup.md) |

The autocomplete tools return the exact filter values the search tools accept. See [Find filter values](https://www.forager.ai/docs/guides/find-filter-values.md).

## Before you start

You need a Forager account with credits and an API key. [Create an account](https://www.forager.ai/docs/api-overview/create-an-account.md) shows where to create the key and where to find your Account ID. See [API key authentication](https://www.forager.ai/docs/api-overview/authentication.md) for how the key is used.

## Set up

**1. Install Deepline**

Install the Deepline CLI (npm package `deepline`) by following [Deepline's install guide](https://code.deepline.com/INSTALL.md).

**2. Connect your Forager key**

Add your Forager API key to your Deepline workspace. The key stays on your Forager account, so lookups bill to it.

**3. Call a tool**

Call any tool in the table above from Deepline. Start with an autocomplete tool, which is free, to find valid filter values before you run a search.

## Credits

Every tool call uses your Forager credits at the rates in [API credits and pricing](https://www.forager.ai/docs/api-overview/credit-pricing.md). Autocomplete lookups are free. Check Deepline for anything it charges on its side.

For the same calls from your own code, see [Choose an endpoint](https://www.forager.ai/docs/guides/choose-an-endpoint.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.