Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

DataForSEO Google Subdomains

เอกสาร API
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/subdomains/live

List the subdomains of a domain with their ranked keyword counts, position distribution and estimated organic traffic in Google.

ราคา
เริ่มต้นที่ $0.0132USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 4 ไม่บังคับ

Playground

อินพุต
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Google Subdomains API

Returns the subdomains of a domain that rank in Google, with organic and paid ranking metrics for each one. It needs a target domain, plus location_code and language_code to pick the market.

Use cases

  • List every subdomain of a competitor and see which ones bring in the most estimated organic traffic.
  • Compare a docs, help or community subdomain against the main site by ranked keyword count.
  • Spot subdomains that have paid keywords and estimate their paid traffic cost.
  • Check how many subdomains a domain has before you run deeper keyword research on one of them.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/subdomains/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target": "openai.com", "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": "subdomains",
        "language_code": "en",
        "limit": 10,
        "location_code": 2840,
        "se_type": "google",
        "target": "openai.com"
      },
      "id": "11030829-1614-0384-0000-24d9323275c3",
      "path": [
        "v3"
      ],
      "result": [
        {
          "items": [
            {
              "metrics": {
                "featured_snippet": null,
                "local_pack": null,
                "organic": {
                  "clickstream_age_distribution": null,
                  "clickstream_etv": null,
                  "clickstream_gender_distribution": null,
                  "count": 261396,
                  "estimated_paid_traffic_cost": 5601238.468985448,
                  "etv": 18152867.130501848,
                  "is_down": 4415,
                  "is_lost": 0
                },
                "paid": {
                  "clickstream_age_distribution": null,
                  "clickstream_etv": null,
                  "clickstream_gender_distribution": null,
                  "count": 35,
                  "estimated_paid_traffic_cost": 11261.504961013794,
                  "etv": 384.7928841114044,
                  "is_down": 0,
                  "is_lost": 0
                }
              },
              "se_type": "google",
              "subdomain": "openai.com"
            }
          ],
          "items_count": 10,
          "language_code": "en",
          "location_code": 2840,
          "se_type": "google",
          "target": "openai.com",
          "total_count": 29
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.3705 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "0.3877 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].total_countTotal number of subdomains found for the target. Compare it with items_count to see if more rows exist than were returned.
tasks[].result[].items_countNumber of subdomain rows returned in this response.
tasks[].result[].items[].subdomainThe subdomain hostname, for example help.openai.com. The root domain also appears as its own row.
tasks[].result[].items[].metrics.organic.countNumber of keywords this subdomain ranks for in Google organic results.
tasks[].result[].items[].metrics.organic.etvEstimated organic traffic value (ETV) for the subdomain. Use it to rank subdomains by traffic.
tasks[].result[].items[].metrics.organic.estimated_paid_traffic_costEstimated cost of buying the same organic traffic through paid ads.
tasks[].result[].items[].metrics.organic.is_down / metrics.organic.is_lostCounts of organic keywords that moved down in rank and keywords that were lost.
tasks[].result[].items[].metrics.paid.countNumber of keywords this subdomain has paid results for. It is 0 when the subdomain has no paid keywords.
tasks[].result[].items[].metrics.paid.etv / metrics.paid.estimated_paid_traffic_costEstimated paid traffic and its estimated cost for the subdomain.

Notes

  • Set target to a bare domain such as openai.com, without https:// or a path.
  • Use limit to control how many subdomains come back. Compare items_count with total_count to see if you got them all.
  • Fields such as featured_snippet, local_pack and the clickstream_* values can be null when no data exists for a subdomain.

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
DataForSEOเริ่มต้นที่ $0.0132 ต่อครั้งJSON
DataForSEOเริ่มต้นที่ $0.0102 ต่อครั้งJSON
DataForSEOเริ่มต้นที่ $0.000724 ต่อครั้งJSON
DataForSEO$0.004 ต่อการเรียกJSON
DataForSEOเริ่มต้นที่ $0.00162 ต่อครั้งJSON
DataForSEOเริ่มต้นที่ $0.001105 ต่อครั้งJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ DataForSEO Google Subdomains API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/subdomains/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

DataForSEO Google Subdomains API ราคาเท่าไร?

เริ่มต้นที่ $0.0132 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

DataForSEO Google Subdomains API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: target (string), location_code (integer), language_code (string) และ limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

DataForSEO Google Subdomains API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ DataForSEO ไหม?

ไม่จำเป็น DataForSEO Google Subdomains ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก