Keywords Everywhere API
CLI tool for SEO keyword research, competitor analysis, and backlink metrics.
Setup
Requires API key. Configure in clawdbot config under skills.entries.keywords-everywhere.apiKey or set environment:
export KEYWORDS_EVERYWHERE_API_KEY="your_api_key"
Usage
python3 scripts/kwe.py <command> [arguments] [options]
Or add an alias:
alias kwe="python3 /path/to/skills/keywords-everywhere/scripts/kwe.py"
Commands
Keyword Research
Get keyword data (volume, CPC, competition, trends):
kwe keywords "seo tools" "keyword research" --country us --currency usd
Related keywords (discover related terms):
kwe related "content marketing" --num 20
People Also Search For:
kwe pasf "best crm software" --num 15
Domain/URL Analysis
Keywords a domain ranks for (with traffic estimates):
kwe domain-keywords example.com --country us --num 100
Keywords a specific URL ranks for:
kwe url-keywords "https://example.com/blog/post" --num 50
Backlink Analysis
Domain backlinks:
kwe domain-backlinks example.com --num 50
Unique domain backlinks (one per referring domain):
kwe unique-domain-backlinks example.com --num 30
Page backlinks (specific URL):
kwe page-backlinks "https://example.com/page" --num 20
Unique page backlinks:
kwe unique-page-backlinks "https://example.com/page"
Account
Check credit balance:
kwe credits
List supported countries:
kwe countries
List supported currencies:
kwe currencies
Options
| Option | Description | Default |
|---|---|---|
--country |
Country code (empty for global, us, uk, in, etc.) |
global |
--currency |
Currency code (usd, gbp, inr, etc.) |
usd |
--num |
Number of results (max 2000 for Silver plan) | 10 |
--output |
Output format: table, json, csv |
table |
Output Data
Keyword Data (keywords command)
vol: Monthly search volumecpc: Cost per click (advertiser bid)competition: Competition score (0-1)trend: 12-month search trend data
Domain/URL Keywords
keyword: Ranking keywordestimated_monthly_traffic: Estimated monthly organic trafficserp_position: Current SERP position
Backlink Data
domain_source: Referring domainanchor_text: Link anchor texturl_source/url_target: Source/target URLs
Credit Usage
1 credit = 1 keyword. Silver plan: 400,000 credits/year, top 2,000 keywords/backlinks per site.
Examples
Competitor keyword research:
# What keywords does competitor rank for?
kwe domain-keywords competitor.com --num 200 --output json > keywords.json
# Get detailed metrics for specific keywords
kwe keywords "keyword1" "keyword2" "keyword3" --country us
Content gap analysis:
# Find keywords competitor ranks for
kwe domain-keywords competitor.com --num 500
# Get related keywords for your topic
kwe related "your topic" --num 100
kwe pasf "your topic" --num 100
Backlink prospecting:
# Find who links to competitor
kwe unique-domain-backlinks competitor.com --num 100 --output json