Marketing
SpyFu logo

SpyFu API

spyfu.com

Competitor SEO intelligence - competitor keywords, domain overviews, ad keywords, and ranking history.

Actions
15
Category
Marketing
Login
Not required
Output
JSON

Call the SpyFu API

Submit a task, then poll the job until it settles. This example runs act_spyfu_competitor_keywords_history.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_spyfu_competitor_keywords_history",
    "params": {
      "domain": "nike.com",
      "country_code": "US"
    }
  }'

15 actions on spyfu.com

Read

  • Domain Keyword Movement Stats

    act_spyfu_domain_keyword_movement_statsread1 credit / call

    Returns a domain's keyword rank movement including newly ranked, gained, and lost.

    query
    string · required
    country_code
    string · required
  • Domain SEO Stats History

    act_spyfu_domain_seo_stats_historyread1 credit / call

    Returns a domain's monthly SEO and PPC stats over its full history.

    domain
    string · required
    country_code
    string · required
  • Domain Top Competitors

    act_spyfu_domain_top_competitorsread1 credit / call

    Returns a domain's top organic and paid competitors with keyword overlap.

    domain
    string · required
    country_code
    string · required
  • Keyword Overview

    act_spyfu_keyword_overview_statsread1 credit / call

    Returns core keyword metrics including search volume, CPC, clicks, and difficulty.

    query
    string · required
    country_code
    string · required
  • Keyword SERP Rankings

    act_spyfu_keyword_serp_rankingsread1 credit / call

    Returns organic SERP results for a keyword with ranks and estimated clicks.

    term_id
    string · required
    country_code
    string · required
  • Top Organic Competitors

    act_spyfu_top_organic_competitorsread1 credit / call

    Returns a domain's top organic competitors with keyword overlap.

    domain
    string · required
    country_code
    string · required

Write

Write actions change state on spyfu.com and run as the account you connect.

  • Competitor Keywords History

    act_spyfu_competitor_keywords_historywrite2 credits / call

    Returns organic competitor domains with shared keyword overlap and rank history.

    domain
    string · required
    country_code
    string · required
  • Domain Latest Stats

    act_spyfu_domain_latest_stats_bulkwrite2 credits / call

    Returns the latest SEO and PPC metrics for multiple domains at once.

    domains
    array · required
    country_code
    string · required
  • Domain Most Valuable Keywords

    act_spyfu_domain_most_valuable_keywordswrite2 credits / call

    Returns a domain's most valuable organic keywords with volume and clicks.

    query
    string · required
    country_code
    string · required
    pagination_offset
    integer · required
    page_size
    integer · required
  • Domain Ranking History

    act_spyfu_domain_ranking_historywrite2 credits / call

    Returns a domain's organic keyword rankings over a date range.

    domain
    string · required
    country_code
    string · required
    date_range_start
    string · required
    date_range_end
    string · required
    ranking_query_type
    string · required
    pagination_offset
    integer · required
    page_size
    integer · required
  • Domain Top Ad Keywords

    act_spyfu_domain_top_ad_keywordswrite2 credits / call

    Returns the top paid keywords a domain buys with spend and rank metrics.

    query
    string · required
    country_code
    string · required
    pagination_offset
    integer · required
    page_size
    integer · required
  • Keyword Also Buys Ads For

    act_spyfu_keyword_also_buys_ads_forwrite2 credits / call

    Returns related keywords advertisers also buy with PPC metrics.

    query
    string · required
    country_code
    string · required
    page_size
    integer · required
  • Keyword Also Ranks For

    act_spyfu_keyword_also_ranks_forwrite2 credits / call

    Returns related keywords that rank organically alongside the seed keyword.

    query
    string · required
    country_code
    string · required
    page_size
    integer · required
  • Keyword Domain Ranking History

    act_spyfu_keyword_domain_ranking_historywrite2 credits / call

    Returns rank history of competing domains for a keyword over time.

    keyword
    string · required
    domains
    array · required
    country_code
    string · required
  • Keyword Phrase Matches

    act_spyfu_keyword_phrase_matcheswrite2 credits / call

    Returns phrase-match related keywords for a seed term with metrics.

    query
    string · required
    country_code
    string · required
    page_size
    integer · required

SpyFu API questions

Is there an API for SpyFu?
SpyFu does not offer a public data API for this, but Anakin Wire provides 15 maintained endpoints for spyfu.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape SpyFu data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when spyfu.com changes its markup, Anakin updates the action.
Do I need a SpyFu account?
No. Every SpyFu action listed here runs anonymously — no account and no credentials required.
What does the SpyFu API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketing APIs

All Marketing sites