DataForSEO Keywords Data API icon

DataForSEO Keywords Data API

DataForSEO Keywords Data API

Google Ads → Get Google Keywords for Site

AI-generated

Summary

Retrieves Google Ads keywords relevant to a specified domain or page using DataForSEO's live API.

Inputs

  • target (required) — The domain name of the target website or the URL of the target page.
  • target_type — Specifies whether to target a site (domain) or a specific page (options: 'site', 'page', default: 'page').
  • location_name — Full name of the search engine location (e.g., London,England,United Kingdom).
  • language_name — Full name of the search engine language (e.g., English).
  • location_coordinate — GPS coordinates of a location (e.g., 53.476225,-2.243572).
  • search_partners — If true, includes results from Google Search Partners (default: false).
  • include_adult_keywords — If true, includes keywords associated with adult content (default: false).
  • date_from — Starting date of the time range (default: 12 months ago).
  • date_to — Ending date of the time range (default: yesterday; cannot be current month).
  • sort_by — Sort results by competition_index, high_top_of_page_bid, low_top_of_page_bid, relevance, or search_volume (default: empty).

Output shape

A list of items, each containing keyword data including search volume, CPC, and competition details.

Returns keyword data for the specified domain or page. Data is fetched live via the DataForSEO API.

Examples

Example 1: Discover keywords for a competitor's site in London, England.

Target: 'example.com', Location: 'London,England,United Kingdom', Language: 'English', Sort By: 'Relevance'

Example 2: Get keywords for a specific page on a website, including adult content.

Target: 'https://example.com/page', Target Type: 'page', Include Adult Keywords: true

Links

Discussion