{
  "url": "https://telipot.com/catalog/tasks/semrush.seo.keywords.related",
  "id": "semrush.seo.keywords.related",
  "name": "Related keywords with volume and CPC by phrase and country",
  "provider": {
    "slug": "semrush",
    "name": "Semrush"
  },
  "capability": "seo.keywords.related",
  "platform": "seo",
  "kind": "data",
  "tier": "core",
  "identity": "key",
  "identityLabel": "Your plan",
  "price": {
    "native": {
      "text": "40 API units per result",
      "figure": "40 API units",
      "per": "result",
      "currency": "API units"
    },
    "confidence": "documented",
    "source": "docs",
    "sourceUrl": "https://developer.semrush.com/api/v3/seo/keyword-reports/#related-keywords",
    "checked": "2026-10-05",
    "note": "40 API units per line returned. Semrush does not charge a request that returns no data. Semrush publishes no USD price per API unit.",
    "type": "per_result",
    "state": "native",
    "label": "Semrush API units",
    "detail": "40 API units / result · docs"
  },
  "providers": 1,
  "retention": "standard",
  "runsOn": "byoc",
  "live": true,
  "summary": "This report provides an extended list of related keywords, synonyms, and variations relevant to a queried term in a chosen database.",
  "method": "GET",
  "path": "/",
  "host": "https://api.semrush.com",
  "docsUrl": "https://developer.semrush.com/api/v3/seo/keyword-reports/#related-keywords",
  "auth": {
    "scheme": "api_key",
    "label": "api_key · in query as key",
    "short": "api_key · ?key"
  },
  "scope": "any_account",
  "principal": "organization",
  "requiredScopes": [],
  "verification": {
    "state": "none",
    "label": "Not verified yet",
    "detail": "Not checked yet. We test with a real request before we mark it."
  },
  "input": [
    {
      "name": "type",
      "location": "queryParams",
      "type": "string",
      "required": true,
      "constraints": [
        "const \"phrase_related\""
      ],
      "note": "Fixed. Selects the Related Keywords report."
    },
    {
      "name": "phrase",
      "location": "queryParams",
      "type": "string",
      "required": true,
      "constraints": [],
      "note": "Keyword or keyword expression to investigate."
    },
    {
      "name": "database",
      "location": "queryParams",
      "type": "string",
      "required": true,
      "constraints": [],
      "note": "Two-letter regional database code, such as us, uk, ca, de or fr. Keyword reports accept the plain two-letter codes only, not the mobile- and -ext variants. The full list is under Databases in the SEO API overview."
    },
    {
      "name": "display_limit",
      "location": "queryParams",
      "type": "integer",
      "required": true,
      "constraints": [
        "1 to 100000"
      ],
      "note": "Lines returned, which is what Semrush bills. Semrush returns up to 10,000 lines when the parameter is omitted or 0, so this task requires it. Semrush returns at most 100,000 lines per call."
    },
    {
      "name": "display_offset",
      "location": "queryParams",
      "type": "integer",
      "required": false,
      "constraints": [
        "at least 0"
      ],
      "note": "Lines to skip before the report starts. Semrush counts display_limit from the first line, so set display_limit to display_offset plus the lines wanted."
    },
    {
      "name": "display_sort",
      "location": "queryParams",
      "type": "string",
      "required": false,
      "constraints": [
        "one of \"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"rr_asc\", \"rr_desc\", \"kd_asc\", \"kd_desc\""
      ],
      "note": "Sort rule, one per call, such as nq_desc for the highest volume first."
    },
    {
      "name": "display_filter",
      "location": "queryParams",
      "type": "string",
      "required": false,
      "constraints": [],
      "note": "Filters written as sign|column|operation|value, joined with |. Sign + includes and - excludes. Columns: Ph, Nq, Cp, Co, Nr, Wc, Fk, Kd. Operations: Eq, Gt, Lt for numbers; Bw, Ew, Eq, Co, Wm for text. At most 25 filters. Write it in plain text; the + must reach Semrush as %2B."
    },
    {
      "name": "export_columns",
      "location": "queryParams",
      "type": "string",
      "required": false,
      "constraints": [
        "default \"Ph,Nr,Cp,Co,Nq,Td,Rr\""
      ],
      "note": "Comma-separated column codes, in the order wanted. Ph Keyword, Nq Search Volume (monthly average over the last 12 months), Cp CPC in USD, Co Competition (0 to 1, 1 is highest), Nr Number of Results, Td Trends (12 monthly values), Rr Related Relevance, Fk SERP Features, In Intents (0 Commercial, 1 Informational, 2 Navigational, 3 Transactional), Kd Keyword Difficulty Index (0 to 100, higher is harder)."
    }
  ],
  "sampleInput": {
    "type": "phrase_related",
    "phrase": "seo",
    "database": "us",
    "display_limit": 1,
    "export_columns": "Ph,Nq,Cp,Co"
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "type": {
        "type": "string",
        "description": "Fixed. Selects the Related Keywords report.",
        "const": "phrase_related"
      },
      "phrase": {
        "type": "string",
        "description": "Keyword or keyword expression to investigate.",
        "examples": [
          "seo"
        ]
      },
      "database": {
        "type": "string",
        "description": "Two-letter regional database code, such as us, uk, ca, de or fr. Keyword reports accept the plain two-letter codes only, not the mobile- and -ext variants. The full list is under Databases in the SEO API overview.",
        "examples": [
          "us"
        ]
      },
      "display_limit": {
        "type": "integer",
        "description": "Lines returned, which is what Semrush bills. Semrush returns up to 10,000 lines when the parameter is omitted or 0, so this task requires it. Semrush returns at most 100,000 lines per call.",
        "examples": [
          10
        ],
        "minimum": 1,
        "maximum": 100000
      },
      "display_offset": {
        "type": "integer",
        "description": "Lines to skip before the report starts. Semrush counts display_limit from the first line, so set display_limit to display_offset plus the lines wanted.",
        "minimum": 0
      },
      "display_sort": {
        "type": "string",
        "description": "Sort rule, one per call, such as nq_desc for the highest volume first.",
        "enum": [
          "nq_asc",
          "nq_desc",
          "cp_asc",
          "cp_desc",
          "co_asc",
          "co_desc",
          "nr_asc",
          "nr_desc",
          "rr_asc",
          "rr_desc",
          "kd_asc",
          "kd_desc"
        ]
      },
      "display_filter": {
        "type": "string",
        "description": "Filters written as sign|column|operation|value, joined with |. Sign + includes and - excludes. Columns: Ph, Nq, Cp, Co, Nr, Wc, Fk, Kd. Operations: Eq, Gt, Lt for numbers; Bw, Ew, Eq, Co, Wm for text. At most 25 filters. Write it in plain text; the + must reach Semrush as %2B.",
        "examples": [
          "+|Nq|Lt|1000"
        ]
      },
      "export_columns": {
        "type": "string",
        "description": "Comma-separated column codes, in the order wanted. Ph Keyword, Nq Search Volume (monthly average over the last 12 months), Cp CPC in USD, Co Competition (0 to 1, 1 is highest), Nr Number of Results, Td Trends (12 monthly values), Rr Related Relevance, Fk SERP Features, In Intents (0 Commercial, 1 Informational, 2 Navigational, 3 Transactional), Kd Keyword Difficulty Index (0 to 100, higher is harder).",
        "default": "Ph,Nr,Cp,Co,Nq,Td,Rr"
      }
    },
    "required": [
      "type",
      "phrase",
      "database",
      "display_limit"
    ],
    "additionalProperties": false
  },
  "output": [
    {
      "name": "output",
      "type": "string",
      "description": "CSV text: a header line of column names, then one line per related keyword, columns separated by semicolons, in the order of export_columns. A body that starts with ERROR is a failure, for example ERROR 50 :: NOTHING FOUND."
    }
  ],
  "outputSchema": {
    "type": "string",
    "pattern": "^(?!\\s*ERROR)",
    "description": "CSV text: a header line of column names, then one line per related keyword, columns separated by semicolons, in the order of export_columns. A body that starts with ERROR is a failure, for example ERROR 50 :: NOTHING FOUND."
  },
  "commands": {
    "mode": "run",
    "cli": "telipot run semrush.seo.keywords.related \\\n  --input-json '{\"type\":\"phrase_related\",\"phrase\":\"seo\",\"database\":\"us\",\"display_limit\":1,\"export_columns\":\"Ph,Nq,Cp,Co\"}'",
    "http": "curl https://api.telipot.com/v1/tasks/semrush.seo.keywords.related/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"type\":\"phrase_related\",\"phrase\":\"seo\",\"database\":\"us\",\"display_limit\":1,\"export_columns\":\"Ph,Nq,Cp,Co\"}'",
    "quote": "telipot run semrush.seo.keywords.related \\\n  --input-json '{\"type\":\"phrase_related\",\"phrase\":\"seo\",\"database\":\"us\",\"display_limit\":1,\"export_columns\":\"Ph,Nq,Cp,Co\"}' \\\n  --quote"
  },
  "siblings": []
}
