Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

DataForSEO Google Keyword Ideas

Tài liệu API
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_ideas/live

Returns Google keyword suggestions alongside search volume and CPC metrics for SEO analysis. Helps research related search queries and evaluate keyword potential.

Giá
Từ $0.0126USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 4 tùy chọn

Phòng thử nghiệm

Đầu vào
List of keywords (up to 100 per call).
Maximum number of results (up to 100).
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
Đầu raVí dụ
Phản hồioutputs · 726 B · 33 dòng
[
  {
    "cost": 0,
    "status_code": 20000,
    "status_message": "Ok.",
    "tasks": [
      {
        "cost": 0,
        "data": {
          "api": "dataforseo_labs",
          "function": "keyword_ideas",
          "se_type": "google"
        },
        "id": "08200930-2190-0400-0000-cc5704c84558",
        "path": [
          "v3",
          "dataforseo_labs",
          "google",
          "… 2 more items in the full response"
        ],
        "result": null,
        "result_count": 0,
        "status_code": 40503,
        "status_message": "POST Data Is Invalid.",
        "time": "0 sec."
      }
    ],
    "tasks_count": 1,
    "tasks_error": 1,
    "time": "0.0079 sec.",
    "version": "0.1.20260806"
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

DataForSEO Google Keyword Ideas API

Keyword ideas related to up to 100 seed keywords, chosen by topic relevance rather than by containing the seed phrase, with search volume, CPC, competition, keyword difficulty and search intent.

Use cases

  • Find adjacent topics and synonyms you do not rank for yet.
  • Build topic clusters from a handful of seed keywords.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_ideas/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["running shoes"], "limit": 5, "location_code": 2840, "language_code": "en"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
keywordsarrayNoList of keywords (up to 100 per call).
language_codestringNoLanguage code, e.g. "en".
limitintegerNoMaximum number of results (up to 100).
location_codeintegerNoLocation code, e.g. 2840 for the United States.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "tasks": [
    {
      "status_code": 20000,
      "result": [
        {
          "se_type": "google",
          "location_code": 2840,
          "language_code": "en",
          "total_count": 1013880,
          "items_count": 5,
          "items": [
            {
              "keyword": "on running shoes",
              "keyword_info": {
                "search_volume": 201000,
                "cpc": 1.23,
                "competition": 1,
                "competition_level": "HIGH",
                "low_top_of_page_bid": 0.39,
                "high_top_of_page_bid": 1.96
              },
              "keyword_properties": {
                "keyword_difficulty": 27,
                "core_keyword": "running shoes"
              },
              "search_intent_info": {
                "main_intent": "transactional"
              }
            }
          ]
        }
      ]
    }
  ]
}

Response fields

FieldMeaning
tasks[].result[].items[]One row per keyword.
keywordThe keyword.
keyword_info.search_volumeAverage monthly Google searches (last 12 months).
keyword_info.cpc / competition_levelAverage cost per click in USD and Google Ads competition (LOW/MEDIUM/HIGH).
keyword_info.monthly_searches[]Searches per month for the last 12 months.
keyword_properties.keyword_difficultyRanking difficulty 0-100 for the top 10 organic results.
search_intent_info.main_intentinformational, navigational, commercial or transactional.
total_countMatching keywords in the database; page with offset.

Notes

  • Ideas can omit the seed phrase. For variants that always contain it, use Keyword Suggestions.
  • keywords takes up to 100 seeds; limit is capped at 100 per call.

Pricing

Billed at the actual cost of each call, about $0.0126 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
DataForSEOTừ $0.0126 mỗi lần gọiJSON
DataForSEOTừ $0.0102 mỗi lần gọiJSON
DataForSEOTừ $0.000724 mỗi lần gọiJSON
DataForSEO$0.004 mỗi lần gọiJSON
DataForSEOTừ $0.00162 mỗi lần gọiJSON
DataForSEOTừ $0.001105 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API DataForSEO Google Keyword Ideas?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_ideas/live với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API DataForSEO Google Keyword Ideas có giá bao nhiêu?

Từ $0.0126 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API DataForSEO Google Keyword Ideas chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: keywords (array), limit (integer), location_code (integer) và language_code (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API DataForSEO Google Keyword Ideas trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của DataForSEO không?

Không. DataForSEO Google Keyword Ideas chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của DataForSEO.