DataForSEO Labs API icon

DataForSEO Labs API

DataForSEO

Google → Get Keywords For Categories

AI-generated

Summary

Retrieves keyword ideas for the specified product and service categories using the DataForSEO Labs API.

Inputs

  • category_codes (required) — Product and Service Categories (fixed collection of strings). Maximum 20 entries.
  • location_name_required (required) — Location name (string).
  • language_name_required (required) — Language name (string).
  • category_intersection — Category Intersections (boolean). When true, returns keywords present in all specified categories. Default true.
  • include_serp_info — Include SERP Info? (boolean). Default false.
  • include_clickstream_data — Include Clickstream-Based Metrics? (boolean). Default false.
  • ignore_synonyms — Ignore Synonyms (boolean). When true, excludes highly similar keywords. Default false.
  • filters — Filters (string) to apply to results.
  • order_by — Sort (fixed collection) – up to three sorting rules.
  • limit — Limit (number) – max results to return (1‑1000). Default 50.
  • offset — Offset (number) for pagination. Default 0.

Output shape

Array of keyword objects returned by the DataForSEO Labs API Get Keywords For Categories endpoint (includes keyword, search volume, CPC, competition, and optional SERP/clickstream metrics).

Exact field set matches the API response; optional sections appear when include_serp_info or include_clickstream_data are true.

Links

Discussion