---
agentTools:
  projectIndex: https://awr.readme.io/llms.txt
---

# Get Keyword Difficulty Data

Retrieves Keyword Difficulty data.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Live API endpoint",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.awrcloud.com/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "token",
        "in": "query"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/get.php?action=export_keyword_difficulty": {
      "get": {
        "summary": "Get Keyword Difficulty Data",
        "description": "Retrieves Keyword Difficulty data.",
        "operationId": "get-keyword-difficulty-data",
        "parameters": [
          {
            "name": "projectId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchEngineId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": -1
            }
          },
          {
            "name": "keywordGroupId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": -1
            }
          },
          {
            "name": "mode",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "plain",
                "download"
              ],
              "default": "plain"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "project,main website,keyword,keyword groups,search engine,position,global difficulty,domain difficulty,URL difficulty,content score,search intent,secondary search intent,previous search intent,previous secondary search intent,serp features,searches,difficulty update\nAllrecipes,allrecipes.com,pancakes,All keywords,,1,42,42,15,50,Navigational,Informational,Commercial,,\"organic,faq,reviews,knowledge panel,twitter,site link\",1000,2023-08-01\nAllrecipes,allrecipes.com,schnitzel,All keywords,,1,32,40,16,31,Informational,Commercial,Informational,Commercial,\"organic,reviews,related questions,twitter,site link,video\",210,2023-08-01\nAllrecipes,allrecipes.com,steak,All keywords,,1,36,50,22,28,Informational,Commercial,Informational,Commercial,\"organic,reviews,related questions,image\",70,2023-08-01"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "69833d45353ab6e6bda409ad:69834abf8c6433c9f971f61d"
}
```