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 SERP (Regular)

Tài liệu API
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular

Get live Google organic results for any keyword, location and language in a compact format: rank, title, URL, domain and description for each organic result.

Giá
Từ $0.002USD / 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
Search query, e.g. "openai api".
DataForSEO location code, e.g. 2840 for the United States.
Language code, e.g. "en".
Number of results to return (default 100).
Đầu raVí dụ
Phản hồioutputs · 3.3 KB · 95 dòng
{
  "cost": 0.002,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.002,
      "data": {
        "api": "serp",
        "depth": 10,
        "device": "desktop",
        "function": "live",
        "keyword": "qwen 3.8 max",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google",
        "se_type": "organic"
      },
      "id": "08030627-2190-0121-0000-ca1fba7808a2",
      "path": [
        "v3",
        "serp",
        "google",
        "… 3 more items in the full response"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/search?q=qwen%203.8%20max&hl=en&gl=US&ie=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "datetime": "2026-08-03 06:27:52 +00:00",
          "item_types": [
            "perspectives",
            "organic",
            "video",
            "… 1 more items in the full response"
          ],
          "items": [
            {
              "breadcrumb": "10+ comments  ·  1 week ago",
              "description": "Qwen 3.8 Max (Think) will be real slow compared to Flash, it's a trade-off for precision and depth.",
              "domain": "www.reddit.com",
              "page": 1,
              "rank_absolute": 2,
              "rank_group": 1,
              "title": "My thoughts on Qwen 3.8 Max Preview : r/Qwen_AI",
              "type": "organic",
              "url": "https://www.reddit.com/r/Qwen_AI/comments/1v6bnu9/my_thoughts_on_qwen_38_max_preview/"
            },
            {
              "breadcrumb": "https://www.yottalabs.ai › post › qwen-3-8-max-release...",
              "description": "Jul 20, 2026 — Qwen 3.8-Max on July 19, 2026, and it is the biggest model announcement of the summer: 2.4 trillion parameters, multimodal, and a claim that it ...",
              "domain": "www.yottalabs.ai",
              "page": 1,
              "rank_absolute": 4,
              "rank_group": 2,
              "title": "Qwen 3.8-Max: Release Date, Specs, and How to Access It ...",
              "type": "organic",
              "url": "https://www.yottalabs.ai/post/qwen-3-8-max-release-date-specs-how-to-access-2026"
            },
            {
              "breadcrumb": "https://qwen.ai › blog › id=qwen3.8-max-preview",
              "description": "3 hours ago — Qwen Studio offers comprehensive functionality spanning chatbot, image and video understanding, image generation, document processing, ...",
              "domain": "qwen.ai",
              "page": 1,
              "rank_absolute": 5,
              "rank_group": 3,
              "title": "2026/08/02 · undefined minute",
              "type": "organic",
              "url": "https://qwen.ai/blog?id=qwen3.8-max-preview"
            },
            "… 5 more items in the full response"
          ],
          "items_count": 8,
          "keyword": "qwen 3.8 max",
          "language_code": "en",
          "location_code": 2840,
          "pages_count": 1,
          "refinement_chips": null,
          "se_domain": "google.com",
          "se_results_count": 163,
          "spell": null,
          "type": "organic"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "1.2112 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "1.6126 sec.",
  "version": "0.1.20260731"
}

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

Google SERP API (Regular)

This API returns live Google organic results for one keyword, location and language. Each result has a rank, title, domain, description and URL. Send keyword, location_code and language_code, and set depth to choose how many results to fetch.

Use cases

  • Track where your pages rank for a list of keywords.
  • List the domains that hold the top spots for a keyword to study competitors.
  • Compare results for the same keyword across different location_code values.
  • Find forum and community pages, such as Reddit threads, that rank for a buying keyword.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "running shoes", "location_code": 2840, "language_code": "en", "depth": 20}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
depthintegerNoNumber of results to return (default 100).
keywordstringNoSearch query, e.g. "openai api".
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoDataForSEO location 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,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "serp",
        "depth": 20,
        "device": "desktop",
        "function": "live",
        "keyword": "running shoes",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows"
      },
      "id": "11030829-1614-0121-0000-2ad640deb040",
      "path": [
        "v3"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/search?q=running%20shoes&hl=en&gl=US&ie=UTF-8&uule=w+CAIQ…",
          "datetime": "2026-11-03 08:29:40 +00:00",
          "item_types": [
            "ai_overview"
          ],
          "items": [
            {
              "breadcrumb": "https://www.roadrunnersports.com › ... › Buying Guides",
              "description": "Oct 9, 2026 — There is no single best running shoe brand. The best brand is the …",
              "domain": "google.com",
              "page": 1,
              "rank_absolute": 2,
              "rank_group": 1,
              "title": "Best Running Shoe Brands for Men and Women (2026)",
              "type": "organic"
            }
          ],
          "items_count": 16,
          "keyword": "running shoes",
          "language_code": "en",
          "location_code": 2840
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "7.4828 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "7.5545 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].keyword / location_code / language_codeThe search query, location and language that Google was checked with.
tasks[].result[].check_urlThe Google search URL that matches this query. Open it to compare with the live page.
tasks[].result[].datetimeDate and time of the search, with a UTC offset.
tasks[].result[].item_typesThe kinds of elements found on this results page, for example ai_overview, organic and images.
tasks[].result[].items_countNumber of items returned in items for this request.
tasks[].result[].items[].typeThe kind of result. In this API the items are organic.
tasks[].result[].items[].rank_groupPosition among results of the same type. The first organic result has rank_group 1.
tasks[].result[].items[].rank_absolutePosition among all elements on the page. It can be higher than rank_group when other elements, such as an AI overview, appear above.
tasks[].result[].items[].title / descriptionThe title and snippet text Google shows for the result. The snippet can contain HTML entities such as '.
tasks[].result[].items[].domainDomain of the ranking page.
tasks[].result[].items[].breadcrumbThe path line Google shows under the title. For some results it holds other text, such as a comment count and age.

Notes

  • Google now wraps some result links in a google.com/goto redirect. When that happens, domain is google.com and url is the redirect, so read the result's own site from breadcrumb (its first part, e.g. https://example.com). Checked 2026-11-24: every organic result for "deepseek harness vs hermes" (US, English) came back this way.

  • location_code 2840 is the United States. language_code takes a code such as en.

  • depth sets how many results you ask for. In this response depth was 20 and items_count was 16, so check items_count rather than assuming the full depth.

  • page on each item shows which results page the item came from.

  • This API returns organic results only. For AI Overviews, featured snippets or People Also Ask, use the Advanced SERP API.

Pricing

Billed at the actual cost of each call, about $0.002 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.002 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 SERP (Regular)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular 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 SERP (Regular) có giá bao nhiêu?

Từ $0.002 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 SERP (Regular) chấp nhận những tham số nào?

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

API DataForSEO Google SERP (Regular) 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 SERP (Regular) 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.