Skip to main content
The Nimble CLI lets you run extractions, searches, crawls, and agents directly from your terminal — no code required.

Installation

The CLI requires Go 1.22+.
The binary installs to $HOME/go/bin. Add it to your PATH if needed:
Verify the installation:

Authentication

Set your API key as an environment variable:
Get your API key from Account Settings.

Command Structure

All commands follow a resource-based pattern:
Run nimble --help to list all resources, or nimble [resource] --help for resource-specific usage.

Core Commands

Extract

Extract clean content from any URL:
With JavaScript rendering and geo-targeting:
Perform a real-time web search:

Map

Discover all URLs in a domain:

Crawl

Crawl an entire website:

Agents

Run a pre-built agent:

Output Formats

Control response formatting with the --format flag:
FormatDescription
autoAutomatic (default)
prettyPretty-printed JSON
jsonCompact JSON
jsonlJSON Lines (one object per line)
yamlYAML output
rawRaw API response body
exploreInteractive explorer view

Transforming Output

Use --transform with GJSON syntax to extract specific fields:

File Arguments

Pass file contents as argument values using @filename syntax:
Use @file://filename for plain text or @data://filename for base64-encoded content.

Global Flags

FlagDescription
--helpShow help for any command
--debugEnable debug logging with full HTTP details
--version, -vDisplay the CLI version
--base-urlOverride the API base URL
--formatSet output format
--format-errorSet error output format
--transformTransform output using GJSON syntax
--transform-errorTransform error output using GJSON syntax

Debug Mode

Enable --debug to inspect the full HTTP request and response — useful for troubleshooting:

Next Steps

API Reference

Full REST API documentation for all endpoints

Extract

Extract features and parameters

Search

Real-time web search with structured results

Agents

Pre-built extraction agents for popular platforms