DataForSEO

DataForSEO

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect DataForSEO to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your DataForSEO API credentials and the domains you want to track to pull SEO metrics like Google rankings, keywords, competitors, and backlinks into the PostHog Data warehouse.

Find your API login and password on the DataForSEO API access page.

Add keywords to sync the search volume history and SERP snapshot tables, which are keyword-scoped rather than domain-scoped.

Note: DataForSEO bills per API request, so syncing these tables consumes account credits. The location and category lookup tables are free. The backlinks tables also need an active Backlinks API subscription.

Configuration

OptionTypeRequired
API logintextYes
API passwordpasswordYes
Target domains (comma-separated)textYes
Keywords (comma-separated)textNo
LocationtextNo
LanguagetextNo

Linking DataForSEO to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select DataForSEO
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
domain_rank_overview

Current organic and paid ranking distribution, estimated traffic value, and keyword counts per target domain (one row per target). Full refresh.

Full refreshtarget
historical_rank_overview

Monthly history of organic and paid ranking metrics per target domain since October 2020 (one row per target per month). Full refresh.

Full refreshtarget, year, month
ranked_keywords

Keywords each target domain ranks for in Google, with the ranked SERP element and keyword metrics like search volume and CPC. Full refresh.

Full refreshtarget, keyword, item_type, rank_absolute
competitors_domain

Competitor domains ranking for the same keywords as each target domain, with intersection counts and ranking metrics. Full refresh.

Full refreshtarget, domain
backlinks_summary

Backlink profile summary per target domain: rank, total backlinks, referring domains, IPs, and link attributes (one row per target). Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget
relevant_pages

Landing pages of each target domain that rank in Google, with per-page estimated traffic, keyword counts, and position distribution. Full refresh.

Full refreshtarget, page_address
backlinks_referring_domains

Domains linking to each target domain, with domain rank, backlink and referring counts, spam score, and first-seen and lost dates (one row per referring domain). Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget, domain
backlinks_history

Month-by-month history of each target domain's backlink profile since January 2019: rank, backlinks, referring domains, and crawl statistics. Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget, date
backlinks_timeseries_summary

Monthly trend of each target domain's link profile since January 2019: backlinks, referring domains, pages, IPs, and subnets, with nofollow splits. Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget, date
backlinks

Individual backlinks pointing at each target domain, with the linking page, anchor, rank, spam score, and first- and last-seen dates (one row per backlink). Only the highest-ranking backlinks are synced. Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget, url_from, url_to, item_type, anchor
backlinks_anchors

Anchor text used to link to each target domain, with per-anchor backlink, referring domain, and spam score metrics (one row per anchor). Requires an active DataForSEO Backlinks API subscription. Full refresh.

Full refreshtarget, anchor
historical_search_volume

Monthly Google search volume history for each configured keyword (one row per keyword per month). Needs keywords configured on the source. Full refresh.

Full refreshkeyword, year, month
serp_organic

A snapshot of the Google results page for each configured keyword, one row per SERP element with its type, rank, and URL. Covers the first page of results. Needs keywords configured on the source. Full refresh.

Full refreshkeyword, type, rank_absolute
locations_and_languages

Reference table of every location DataForSEO Labs supports, with the languages available for each. Resolves the location_code and language_code carried on the other Labs tables. Full refresh.

Full refreshlocation_code
categories

Reference table of the DataForSEO Labs category taxonomy, with each category's parent code. Resolves the category codes carried on the other Labs tables. Full refresh.

Full refreshcategory_code