Skip to main content
Use the Direct Tool API when your application controls the retrieval workflow and needs structured JSON rather than a synthesized AI answer. Every endpoint accepts POST JSON requests at:
Include your API key with every call:
Tool calls share authorization, role checks, rate limits, and usage accounting with their MCP equivalents. See Rate Limits for the shared per-organization limits and returned headers. The access column below shows the default role policy. Organization administrators can further restrict individual tools.

Deal Research

For a typical deal lookup, call select-deal, then pass its returned deal_id values to get-deal. Use either document-search tool when you need source evidence rather than the deal record itself.

Competitive Intelligence and Knowledge

Web Research

search-web, scrape-url, and map-site-urls access public web content. When a competitor ID is supplied, Hindsight applies that competitor’s configured allowed-domain restrictions.

Data Analysis

Call pull-schema before create-dataset when you need custom columns. create-dataset creates a dataset record; the other listed tools are read operations.

Error Handling

All tool endpoints return JSON errors in this shape:
Common status codes are 400 for invalid input, 401 for an invalid API key, 403 for a role without access to the tool, and 429 for a rate or monthly usage limit. For exact request and response examples of the deal lookup flow, see Select Deal and Get Deal.