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 Relevant Pages

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

List a domain's pages that rank in Google, with the keywords, positions, estimated traffic and SERP features each page earns.

Giá
Từ $0.0132USD / 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
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Google Relevant Pages API

This API lists pages of a domain that rank in Google for a chosen country and language. For each page it returns the number of ranking keywords and the estimated traffic from organic and paid results. It needs a target domain, a location_code and a language_code.

Use cases

  • Find which pages on your site bring in the most estimated organic traffic.
  • Compare the top ranking pages of a competitor domain with your own.
  • Spot pages that have lost rankings by checking the is_lost and is_down counts.
  • Build a content audit list of every page that ranks in Google for a given market.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/relevant_pages/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target": "sandbase.ai", "location_code": 2840, "language_code": "en", "limit": 10}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
language_codestringNo
limitintegerNo
location_codeintegerNo
targetstringNo

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": "dataforseo_labs",
        "function": "relevant_pages",
        "language_code": "en",
        "limit": 10,
        "location_code": 2840,
        "se_type": "google",
        "target": "sandbase.ai"
      },
      "id": "11030828-2190-0385-0000-b1f9f1f92114",
      "path": [
        "v3"
      ],
      "result": [
        {
          "items": [
            {
              "metrics": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "clickstream_age_distribution": null,
                  "clickstream_etv": null,
                  "clickstream_gender_distribution": null,
                  "count": 7,
                  "estimated_paid_traffic_cost": 4.855564475059509,
                  "etv": 3.6234274385496974,
                  "is_down": 0,
                  "is_lost": 0
                },
                "paid": {
                  "clickstream_age_distribution": null,
                  "clickstream_etv": null,
                  "clickstream_gender_distribution": null,
                  "count": 0,
                  "estimated_paid_traffic_cost": 0,
                  "etv": 0,
                  "is_down": 0,
                  "is_lost": 0
                }
              },
              "page_address": "https://www.sandbase.ai/model/instagram/v3/user-id-by-username",
              "se_type": "google"
            }
          ],
          "items_count": 10,
          "language_code": "en",
          "location_code": 2840,
          "se_type": "google",
          "target": "sandbase.ai",
          "total_count": 101
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.3039 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "0.3130 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].items[].page_addressFull URL of a page on the target domain that ranks in Google.
tasks[].result[].items[].metrics.organic.countNumber of organic results the page has in this location and language.
tasks[].result[].items[].metrics.organic.etvEstimated traffic value of the page from organic results.
tasks[].result[].items[].metrics.organic.estimated_paid_traffic_costEstimated cost to buy the same organic traffic through paid ads.
tasks[].result[].items[].metrics.organic.is_down / tasks[].result[].items[].metrics.organic.is_lostCounts of organic results that moved down or dropped out of the rankings.
tasks[].result[].items[].metrics.paid.count / tasks[].result[].items[].metrics.paid.etvSame measures for paid results. They are 0 for the pages in this sample.
tasks[].result[].items[].metrics.featured_snippet / tasks[].result[].items[].metrics.local_packMetrics for these SERP features. The value is null when the page has none.
tasks[].result[].total_countTotal number of ranking pages found for the target.
tasks[].result[].items_countNumber of pages returned in this response.

Notes

  • Pass the domain in target without a path. Set location_code (for example 2840) and language_code (for example en) to choose the market.
  • Use limit to set how many pages come back. Compare items_count with total_count to see whether more pages exist.
  • The clickstream_* fields are null in this response.

Pricing

Billed at the actual cost of each call, about $0.0132 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.0132 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 Relevant Pages?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/relevant_pages/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 Relevant Pages có giá bao nhiêu?

Từ $0.0132 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 Relevant Pages chấp nhận những tham số nào?

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

API DataForSEO Google Relevant Pages 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 Relevant Pages 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.