Terminal
Command
deepsearch search "Ada Lovelace"A command per lookup
Search people by name, phone, email or username, then build a report for the person you choose. Companies, images, VINs and addresses have their own commands.
The Deep Search CLI runs people, company, image, VIN and address lookups from your terminal. Install it with npm install -g deepsearch-so, then try a sandbox search with the public sandbox key, which needs no account. Searches, reports and follow-up answers print as readable text, the other commands print JSON, and --json gives your scripts the raw response.
Terminal
Command
deepsearch search "Ada Lovelace"A command per lookup
Search people by name, phone, email or username, then build a report for the person you choose. Companies, images, VINs and addresses have their own commands.
JSON output
Ada Lovelace
sandbox-ada-lovelace · Sandbox fixture
Exit 0 on success and a non-zero code on errors.
Built for your scripts
--json prints the raw response on stdout, with progress and usage on stderr. Exit code 0 means success, 1 an error and 2 a usage mistake.
Jobs
Queue a report as a job
Fetch it when it is ready
Replay its saved progress
Long lookups as jobs
Queue a lookup, come back for the result, follow its progress as it runs and cancel it if you no longer need it.
Any terminal with Node.js 20.9 or newer, and any coding agent that can run shell commands and reach the network. The CLI works the same in all of them. Choose a tool to change the follow-up suggestion under the terminal below.
Install the CLI, add a key and run a sandbox search.
Ask Codex to run deepsearch commands and read their JSON.
Let Claude Code run lookups from the directory you work in.
Run the CLI in VS Code's terminal or from Copilot's agent mode.
Run lookups in Cursor's terminal and keep the output beside your project.
The CLI is the deepsearch-so package on npm, and it installs one command, deepsearch. It has no runtime dependencies and needs Node.js 20.9 or newer. Setup takes three steps.
Run npm install -g deepsearch-so. To skip the install, put npx deepsearch-so in front of any command on this page instead.
Set DEEPSEARCH_API_KEY, or run deepsearch login to save a key. Create your own key in Settings, then Developer API. To try the CLI first, use the public sandbox key dsk_test_deepsearch.
Run deepsearch search "Ada Lovelace" --sandbox. The sandbox returns the same sample result every time and uses no credits.
Search shows the command and the sandbox output it prints. Report and Review download two files from this site, a report as JSON and the report review workflow as Markdown, that you can hand to an agent.
There is one command for each lookup, plus commands for jobs and setup. Add --json for the raw response, --sandbox for sample results, --stream for live progress and --timeout to cap a request in seconds.
Yes. The Deep Search CLI is the deepsearch-so package on npm, published by the company that runs Deep Search. It installs one command, deepsearch, needs Node.js 20.9 or newer and has no runtime dependencies. It is a thin client for the REST API, so it shares that API’s keys, scopes, usage and sandbox. Other packages with similar names on npm belong to unrelated projects; this one’s homepage is deepsearch.so.
Set a key, then run a command. Use deepsearch search "Ada Lovelace" to find people by name, or add --type phone, email or username. Pick the right candidate, run deepsearch dossier with that name to build the report and use deepsearch chat to ask a follow-up. Companies, images, VINs and addresses have their own commands, listed above. Create a live key in Settings, then Developer API, and keep it in an environment variable, not in your shell history or a script you share. The Deep Search API page covers the same operations over HTTP.
The CLI looks for a key in three places, in order: the --api-key option, the DEEPSEARCH_API_KEY variable and the file ~/.deepsearch/config.json. The deepsearch login command writes that file with 0600 permissions, so only your account can read it, and deepsearch config get shows the key masked. On shared machines and in CI, prefer the environment variable, because an --api-key option ends up in your shell history. The base URL resolves the same way, with --base-url first.
Every command answers with fixed sample results: people search, person reports, follow-up questions, company search and reports, image appearances, VIN lookups and address lookups. With dsk_test_deepsearch, the public sandbox key, no account is needed, no credits are used and every answer is about the same subject, Ada Lovelace. The CLI needs a key even with --sandbox, so set the public one to try it. With your own key, --sandbox returns the same fixtures and still uses no credits. Sandbox calls are limited per IP address to 60 searches or follow-up questions and 30 reports a minute, within 120 requests in all, so the sandbox suits building and testing a parser, not research.
Add --json. The raw response goes to stdout, and progress and usage notes go to stderr, so a pipe stays clean. The exit code is 0 for success, 1 for an API or runtime error, which prints the status, error code and request ID, and 2 for a usage mistake such as a missing argument. For a long lookup, queue it with deepsearch jobs create, fetch it with deepsearch jobs result and follow its progress with deepsearch jobs events --follow. An idempotency key stops a retried request from running twice, and --timeout caps a request in seconds.
Yes, when the agent can run shell commands and reach the network. Claude Code, Codex, Cursor and GitHub Copilot in VS Code can run deepsearch with --json and read the output. Check the agent’s sandbox first, because some block network access until you allow it. For lookups during a conversation, connect the agent to the hosted Deep Search MCP server instead, which signs in with OAuth and needs no key. Agent skills then tell the agent how to review what comes back.
The CLI is free to install, and its lookups cost the same as the REST API. Each live lookup uses one credit from Pro, Max or an extra credit pack, and the Free plan includes no lookup credits. Replaying a cached person, company or VIN report is free, and so is the sandbox. Deep Search plans and credits lists what each plan includes and what packs cost.
It does what the Developer API does, so it can’t look up a photo’s location, which isn’t an API operation, and it has no command for cited research reports yet; use the REST API or the MCP server for that. It can’t screen anyone: Deep Search isn’t a consumer reporting agency, so never use results for employment, housing, credit or insurance decisions. An address report describes the place and never names residents, and no command reaches private accounts or messages.