dataforseo-cli for Openclaw

A professional-grade CLI for keyword research and competitive analysis optimized for AI agents and LLM context windows.

alexgusevski
v1.0.7
Feb 19, 2026
2
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dataforseo-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dataforseo-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is dataforseo-cli?

dataforseo-cli is a powerful command-line interface that bridges the gap between high-quality SEO data and automated workflows. By wrapping the DataForSEO API, this tool allows users and AI agents to programmatically access search volume, keyword difficulty, CPC, and competitive rankings. It is specifically designed as one of the essential Openclaw Skills for developers who need to integrate real-time marketing intelligence into their applications without the overhead of complex API implementations.

The tool prioritizes efficiency by defaulting to TSV (Tab-Separated Values) output, which is the most token-efficient structured format for LLMs. This makes it an ideal choice for building autonomous agents that need to perform SEO research, plan content, or analyze market trends within a limited context window.

dataforseo-cli Use Cases

  • Automating keyword research and search volume discovery for content planning.
  • Performing competitive domain analysis to identify ranking gaps and opportunities.
  • Building custom SEO auditing tools and dashboards using Openclaw Skills.
  • Tracking CPC and keyword difficulty trends for PPC campaign optimization.
  • Generating structured SEO reports directly from the terminal or via agentic scripts.

How dataforseo-cli Works

  1. The user installs the CLI and authenticates using their DataForSEO API credentials.
  2. Commands are issued to fetch specific metrics such as keyword volume, related terms, or competitor rankings.
  3. The tool queries the DataForSEO API, handling parameters like location codes and language settings.
  4. Results are processed and cached locally to prevent redundant API calls and reduce costs.
  5. The data is returned in a structured format (TSV, JSON, or Table) optimized for either human reading or machine processing.

dataforseo-cli Setup

1. Installation

Install the package globally via npm:

npm install -g dataforseo-cli

2. Authentication

Configure your DataForSEO API credentials. You can use your login and password or a base64 token:

# Using login and password
dataforseo-cli --set-credentials login=YOUR_LOGIN password=YOUR_PASSWORD

# Using base64 token
dataforseo-cli --set-credentials base64=YOUR_BASE64_TOKEN

3. Verification

Check your setup status to ensure the API is reachable:

dataforseo-cli status

dataforseo-cli Data Schema & Taxonomy

The skill organizes data into structured fields optimized for analysis. Most commands support the following data points:

Attribute Description
keyword The target search query
volume Monthly average search volume
cpc Average cost per click in USD
difficulty Competition score on a scale of 0-100
competition Qualitative level (LOW, MEDIUM, HIGH)
trend A comma-separated list of the last 12 months of search volume
position The ranking position of a domain for a specific keyword

dataforseo-cli Advanced Features

  • Intelligent Caching: Results are stored locally in ~/.config/dataforseo-cli/cache/ to save on API credits.
  • LLM-Optimized Output: Defaults to TSV to minimize token usage, a critical feature for Openclaw Skills users.
  • Batch Processing: Supports querying multiple keywords in a single API call for maximum efficiency.
  • Global Reach: Built-in support for thousands of location codes and language variations.
  • Offline Lookups: Access location and language code databases without consuming API credits.

SKILL.md


Loading

Related Openclaw Skills

Featured*