DataForSEO is a comprehensive SEO data provider offering keyword research, SERP analysis, backlinks, domain analytics, and ranking data. Deepline exposes DataForSEO operations through its CLI and MCP server, making SEO data accessible to Claude Code, Cursor, Codex, and other coding agents.
Who this is for
SEO teams, content marketers, and GTM engineers who want programmatic access to keyword data, competitive analysis, and SERP insights from coding agents or terminal workflows.
Why use DataForSEO via Deepline
| Capability | DataForSEO via Deepline | Direct DataForSEO API |
|---|---|---|
| Agent access | Claude Code, Cursor, Codex read Deepline skill and run queries | Custom API client implementation |
| Credential management | BYOK or managed credentials | Self-managed API keys |
| Usage tracking | Automatic writes to workspace PostgreSQL database | Self-implemented logging |
| Cross-provider workflows | Combine DataForSEO with 89+ other integrations in one Play | Manual orchestration |
| Retry logic | Built-in provider retry and error handling | Self-implemented |
| CLI syntax | Unified deepline tools execute dataforseo_* interface | Provider-specific HTTP requests |
| Cost transparency | Per-operation pricing displayed before execution | Invoice-based billing |
Common DataForSEO workflows via Deepline
Keyword research for content planning
Find keyword volume, competition, and related queries:
# Discover DataForSEO keyword research operations
deepline tools search "dataforseo keyword" --json
# Get keyword metrics for a seed term
deepline tools execute dataforseo_keywords_data \
--input '{"keywords":["gtm enrichment","ai agents for sales"],"language":"en","location":"United States"}' \
--json
# Export results to CSV for content planning
deepline runs export run_abc123 --out keyword-research.csvSERP analysis for competitive intelligence
Analyze search results and ranking factors:
# Search for SERP analysis operations
deepline tools search "dataforseo serp" --json
# Get current SERP for a target query
deepline tools execute dataforseo_serp_google \
--input '{"keyword":"clay alternative","location":"United States","language":"en"}' \
--json
# Analyze ranking patterns across multiple queries
# Your agent builds a batch Play for SERP data collectionBacklink analysis for domain authority
Check backlink profiles and referring domains:
# Find backlink operations
deepline tools search "dataforseo backlink" --json
# Get backlink summary for a domain
deepline tools execute dataforseo_backlinks_summary \
--input '{"target":"deepline.com"}' \
--json
# Compare backlink profiles across competitors
# Agent builds a comparative analysis workflowDomain analytics for market research
Retrieve domain metrics and organic traffic estimates:
# Search domain analytics operations
deepline tools search "dataforseo domain" --json
# Get domain overview
deepline tools execute dataforseo_domain_overview \
--input '{"target":"apollo.io"}' \
--jsonUsing DataForSEO from Claude Code
Install Deepline and tell Claude Code what SEO data you need. It discovers the operation, inspects the contract, and runs the query:
# In Claude Code, Cursor, or Codex: "Get keyword volume and difficulty for 'waterfall enrichment' and related terms" # The agent: # 1. Searches: deepline tools search "dataforseo keyword" --json # 2. Describes: deepline tools describe dataforseo_keywords_data --json # 3. Executes with your input # 4. Returns structured results
Works identically for SERP analysis, backlinks, and domain data. The agent reads the Deepline skill and builds the correct commands automatically.
Bring your own DataForSEO key (BYOK)
Connect your existing DataForSEO account:
# Add your DataForSEO credentials
deepline providers connect dataforseo
# Verify connection
deepline providers list --json
# Run operations with your key (no platform fee)
deepline tools execute dataforseo_keywords_data \
--input '{"keywords":["ai sales tools"],"language":"en","location":"United States"}' \
--jsonBYOK mode charges zero platform fee. You pay DataForSEO directly at their list rate. Deepline handles retries, usage tracking, and database writes.
MCP server access
Deepline's MCP server exposes DataForSEO operations to any MCP client:
# In your MCP client configuration:
{
"mcpServers": {
"deepline": {
"command": "npx",
"args": ["-y", "@deepline/mcp-server"]
}
}
}
# DataForSEO tools appear in the MCP tool list
# Your MCP client calls them like any other toolMCP setup guide: deepline.com/docs/mcp/setup
Cost and billing
- BYOK mode: Free. Connect your DataForSEO account and pay their API rates directly. Deepline charges no platform fee.
- Managed mode: Transparent per-operation pricing. Check the tool contract before running:
deepline tools describe dataforseo_keywords_data --json - Usage tracking: Every operation writes to your workspace database. Query
dl_resolved.eventsfor cost analysis.
# Check DataForSEO pricing before execution deepline tools describe dataforseo_keywords_data --json # View usage after a run deepline runs get run_abc123 --json
Database writes
Every DataForSEO operation writes results to your workspace PostgreSQL database. Query the data directly:
# Connect to your workspace database # (Connection string in workspace settings) # Query keyword research results SELECT * FROM dl_resolved.events WHERE tool_id LIKE 'dataforseo_%' AND created_at > NOW() - INTERVAL '7 days'; # Build custom dashboards or export for BI tools
Your enrichment data lives in SQL, not a vendor cache. Export anytime, query with standard tools, join with other tables.
DataForSEO operations catalog
Search the current catalog to see all available operations:
# List all DataForSEO operations deepline tools search "dataforseo" --json # Common operation categories: # - dataforseo_keywords_* (keyword research, volume, difficulty) # - dataforseo_serp_* (SERP analysis, ranking data) # - dataforseo_backlinks_* (backlink profiles, referring domains) # - dataforseo_domain_* (domain metrics, organic traffic) # - dataforseo_rank_* (ranking tracker) # Describe any operation for schema and pricing deepline tools describe dataforseo_keywords_data --json
Related integrations
Combine DataForSEO with other providers in one Play:
- Firecrawl: Scrape competitor pages identified in SERP results
- Apify: Extract structured data from ranking sites
- Exa: Find similar content across the web
- Apollo / PDL: Enrich contacts from companies ranking for target keywords
# Agent-built Play combining DataForSEO + enrichment: # 1. Get top-ranking domains for target keywords (DataForSEO) # 2. Scrape contact pages (Firecrawl) # 3. Extract decision-maker names (Apify) # 4. Enrich emails (Apollo waterfall) # 5. Validate (Leadmagic) # 6. Push to sequencer (Instantly)
Questions teams ask
Do I need a DataForSEO API key?
For BYOK mode, yes—connect your own DataForSEO account. Deepline charges no platform fee. For managed mode, Deepline handles credentials and billing. Check the tool contract for current pricing before running operations.
What DataForSEO endpoints does Deepline support?
Deepline exposes DataForSEO operations for keyword research, SERP analysis, domain analytics, backlinks, and rankings. Search the tool catalog with deepline tools search "dataforseo" --json to see the current operation list.
Can I use DataForSEO from Claude Code?
Yes. Install the Deepline CLI and skill bundle. Tell Claude Code what SEO data you need, and it discovers the matching DataForSEO operation, inspects the contract, and runs the query. Works identically in Cursor and Codex.
How is this different from calling DataForSEO directly?
Deepline provides typed contracts, automatic retries, usage tracking, and a shared interface across 89+ providers. Your agent uses one CLI syntax for all tools. Direct API calls give tighter control when you only use DataForSEO.
Does Deepline cache DataForSEO results?
Results write to your workspace PostgreSQL database. Query the event log and resolved tables to avoid redundant lookups. Deepline does not auto-cache on your behalf—control when to reuse data.
Related guides and documentation
- Deepline MCP setup
- Waterfall enrichment with Claude Code
- GTM Stack provider directory
- Deepline CLI quickstart
Get started
Install Deepline and start accessing DataForSEO from your terminal or coding agent:
npm install -g deepline@latest deepline setup --json deepline tools search "dataforseo" --json
For Claude Code and Cursor: code.deepline.com/INSTALL.md