Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

DataForSEO Google SERP (Advanced)

Dokumentasi API
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced

Get live Google organic search results for any keyword, location and language, including AI Overviews, featured snippets, People Also Ask and other SERP features, with rank positions and URLs.

Harga
Dari $0.002USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 4 opsional

Playground

Input
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).
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

Google SERP API (Advanced)

Live Google search results for a keyword in any location, language and device: organic results with position, title, URL and snippet, plus the other SERP features on the page such as AI Overview, featured snippets, People Also Ask, local pack and video results.

Use cases

  • Track rankings for your keywords in specific cities or countries.
  • Read the AI Overview and its cited sources for a query.
  • Feed fresh search results to an agent or a content brief.

Request

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

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,
  "tasks": [
    {
      "result": [
        {
          "keyword": "running shoes",
          "check_url": "https://www.google.com/search?q=running%20shoes&hl=en&gl=US&ie=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "item_types": [
            "ai_overview",
            "organic",
            "local_pack",
            "images",
            "perspectives",
            "product_considerations",
            "related_searches"
          ],
          "se_results_count": 74,
          "items": [
            {
              "type": "organic",
              "rank_group": 3,
              "rank_absolute": 7,
              "domain": "shop.runnersdepot.com",
              "title": "Running and Walking Shoes",
              "url": "https://shop.runnersdepot.com/",
              "description": "Shop online with Runner's. Running and Walking Shoes. Shop by Category Shoes Insoles S…"
            }
          ]
        }
      ]
    }
  ]
}

Response fields

FieldMeaning
result[].item_typesSERP feature types present on the page, e.g. organic, ai_overview, people_also_ask.
result[].items[]Every element in page order. Organic rows have type: "organic", rank_group, rank_absolute, title, url, domain and description.
items[] (type ai_overview)AI Overview text in markdown and its references (source title, URL, domain).
result[].check_urlThe Google URL that was searched, for manual checks.
result[].se_results_countGoogle's reported number of results.

Notes

  • depth sets how many results are fetched; the cost grows with the number of result pages.
  • Some organic url values come back as google.com/goto?url=... redirect links, as Google serves them; follow the redirect to get the destination. For those results domain is google.com; the site itself is the first part of breadcrumb (e.g. https://example.com). Checked 2026-11-24: all organic results for "deepseek harness vs hermes" (US, English) came back this way.
  • location_code 2840 is the United States; use location_name such as "London,England,United Kingdom" for cities.
  • The response keeps DataForSEO's original JSON; results are under tasks[0].result[0].

Pricing

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

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
DataForSEODari $0.002 per panggilanJSON
DataForSEODari $0.0102 per panggilanJSON
DataForSEODari $0.000724 per panggilanJSON
DataForSEO$0.004 per panggilanJSON
DataForSEODari $0.00162 per panggilanJSON
DataForSEODari $0.001105 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API DataForSEO Google SERP (Advanced)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API DataForSEO Google SERP (Advanced)?

Mulai dari $0.002 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API DataForSEO Google SERP (Advanced)?

Tidak ada parameter yang wajib. Opsional: keyword (string), location_code (integer), language_code (string) dan depth (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API DataForSEO Google SERP (Advanced)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API DataForSEO?

Tidak. DataForSEO Google SERP (Advanced) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API DataForSEO secara terpisah.