Google Organic SERP: Live Advanced

Beta
Google organic results for a keyword, location, language and device. Returned in the same call, in the advanced format.
POST/v1/serp/google/organic/live/advanced

Beta. The parser for this endpoint was written from the upstream format and has not yet been checked against a live response. Field shapes may change; tell us if you see a mismatch.

Open as Markdown
On this page

Price

PriceSERP page of up to 10 results
Live
$0.0018

Billed per unit returned; no results costs $0.

Description

Send up to 100 tasks in one POST as a JSON array. Each task runs at once and comes back in tasks[] in the order you sent it. Use the live mode when you need the results now; use task_post for the cheaper standard and priority queues.

The advanced format returns every field of each organic item; fields our sources can't fill are present and null. The regular format keeps the core fields: rank, page, domain, title, description, URL and breadcrumb.

Billing. Billed per 10 results returned (so ceil(items / 10) units), at the price of the mode the task ran in. A search with no results, or one that returned no data, costs $0. With auto_upgrade on (the default), a standard or priority task that the included search path can't serve is answered by the live path and billed at the live price; the task shows upgraded: true and an upgrade_reason. Live results aren't cached unless you send max_age.

Beta. The parsers that read this engine's results were written from the upstream documentation and haven't been checked against live responses yet. Field names and the response shape are fixed; expect some fields to be null more often than they should be until that check is done.

Request

Endpoint
POST https://api.dataforgaio.com/v1/serp/google/organic/live/advanced
Authentication
HTTP Basic auth: any login, with your dg_ API key as the password. A Bearer header with the key also works. Create a key.
Body
JSON array of task objects, up to 100 tasks per requestMode: Live

Fields (per task)

  • keywordstringrequired
    The search query, up to 700 characters. Leading and trailing spaces are trimmed.
    Max700Exampletrail running shoes
  • location_codeintegeroptional
    Country location code from /v1/serp/google/locations, for example 2840 for the United States. City and region codes aren't served yet. Send this, location_name or location_coordinate.
    Example2840
  • location_namestringoptional
    A country name (United States), or a comma-separated place that ends in a country (Boulder,Colorado,United States) to search from that place.
    ExampleUnited States
  • location_coordinatestringoptional
    latitude,longitude or latitude,longitude,zoom for a search centered on a point. Used when neither location_code nor location_name is sent.
    Example40.0176,-105.2797,14
  • language_codestringoptional
    Language code from /v1/serp/google/languages, for example en. Send this or language_name.
    Exampleen
  • language_namestringoptional
    Language name, for example English, used when language_code is not sent.
    ExampleEnglish
  • devicestringoptional
    Device the results are for.
    DefaultdesktopOne ofdesktopmobileExampledesktop
  • osstringoptional
    Operating system for the device: windows or macos on desktop, android or ios on mobile. Defaults to windows on desktop and android on mobile.
    One ofwindowsmacosandroidiosExamplewindows
  • depthintegeroptional
    Results to return, 1 to 200. Billed per 10 results returned, so depth: 100 with 100 results costs 10 units.
    Default10Min1Max200Example10
  • se_domainstringoptional
    Search engine domain to report in the result's se_domain, for example google.co.uk. It's echoed back only: the location and language fields decide where the search runs.
    Defaultgoogle.comExamplegoogle.com
  • auto_upgradebooleanoptional
    If the included search path can't return the page, the task is served by the live path and billed at the live price, with upgraded: true. false returns the failure at $0 instead.
    DefaulttrueExampletrue
  • max_costnumberoptional
    The most this task may cost, in USD. The wallet check reserves this instead of the worst case, and the task doesn't upgrade to the live price when that would go over it.
    Min0Example0.002
  • max_ageintegeroptional
    Accept a cached result up to this many seconds old, 0 to 86,400. 0 always searches fresh. Default window: none on live (always fresh), 6 h on the standard queue, 1 h on the priority queue. Leave it out to use the default.
    Min0Max86400Example3600

Response

Shape: v3 task envelope. Expand a field to see its children; every field has a link anchor.

  • versionstring
    Response format version, for example 0.1.20261203.
    Example0.1.20261203
  • Status of the request as a whole. 20000 when it was accepted; each task has its own status_code.
    Example20000
  • Plain-language request status.
    ExampleOk.
  • timestring
    Time the whole request took, for example 1.8410 sec.
    Example0.4210 sec.
  • costnumber
    Sum of every task's cost, in USD.
    Example0.0018
  • Number of tasks in tasks.
    Example1
  • Tasks whose status_code is 40000 or higher.
    Example0
  • tasksarray<object>
    One entry per task you sent, in the order you sent them.
    Show 62 child fields
    • idstring
      Task id (a UUID). For task_post, use it with task_get.
      Example8cbb5b5c-8e15-5c82-9959-45f93cdad009
    • Outcome of this task. 20000 means data came back; 20100 means queued. See the status codes table.
      Example20000
    • Plain-language status. For 40501 it names the field that failed.
      ExampleOk.
    • timestring
      Time this task took on our side, for example 1.8203 sec.
      Example0.4210 sec.
    • costnumber
      What this task was charged, in USD. 0 when it returned no data.
      Example0.0018
    • Number of entries in result.
      Example1
    • patharray<string>
      The route this task ran on, split into segments, starting with v1.
      Example["v1","serp","google"]
    • dataobject
      The task you sent, echoed back. Utility routes echo their query parameters.
      Example{"keyword":"trail running shoes","location_code":2840,"language_code":"en","device":"desktop","depth":10}
    • resultarray<object>|null
      The data for this task. Null when the task returned an error.
      Show 48 child fields
      • keywordstring
        The keyword you sent, trimmed.
        Exampletrail running shoes
      • typestring
        organic or maps.
        Exampleorganic
      • se_domainstring
        The se_domain you sent, or the engine's default domain.
        Examplegoogle.com
      • location_codeinteger|null
        Location code the search ran for. Null for a city-level location_name or a coordinate search.
        Example2840
      • Language code the search ran for.
        Exampleen
      • check_urlstring|null
        A URL that opens the same search in a browser, to check the result by hand.
        Examplehttps://www.google.com/search?q=trail+running+shoes&gl=us&hl=en
      • datetimestring|null
        When the results were fetched, YYYY-MM-DD HH:MM:SS +00:00. For a cache hit this is the original fetch time.
        Example2026-12-03 10:42:18 +00:00
      • spellnull
        Spelling suggestion. Not available yet. Always null.
      • Not available. Always null.
      • item_typesarray<string>
        Item types present in items.
        Example["organic"]
      • Total results the engine reported for the query; 0 when it didn't say.
        Example48200000
      • Results pages read: 1 per 10 organic results.
        Example1
      • Number of entries in items.
        Example3
      • itemsarray<object>
        The organic items.
        Show 33 child fields
        • typestring
          Always organic.
          Exampleorganic
        • rank_groupinteger
          Position among items of the same type, starting at 1.
          Example1
        • Position among all items on the page, starting at 1. Equal to rank_group for now: only one item type is returned.
          Example1
        • pageinteger
          Results page the item sits on, counting 10 results per page.
          Example1
        • positionstring
          Side of the page the item appears on. Always left for organic results.
          Exampleleft
        • xpathnull
          Not available from our sources. Always null.
        • domainstring|null
          Domain of the result URL, for example www.example-reviews.com.
          Examplewww.example-reviews.com
        • titlestring|null
          Result title as shown on the page.
          ExampleThe 12 best trail running shoes of 2026, tested
        • urlstring|null
          Result URL.
          Examplehttps://www.example-reviews.com/gear/trail-running-shoes
        • Not available. Always null.
        • Not available. Always null.
        • breadcrumbstring|null
          Breadcrumb shown under the title.
          Examplehttps://www.example-reviews.com › gear
        • website_namestring|null
          Site name shown with the result, when the engine shows one.
          ExampleExample Reviews
        • is_imageboolean
          Always false: image results aren't parsed yet.
          Examplefalse
        • is_videoboolean
          Always false: video results aren't parsed yet.
          Examplefalse
        • Always false.
          Examplefalse
        • Always false.
          Examplefalse
        • descriptionstring|null
          Snippet text under the title.
          ExampleWe ran 400 miles in 30 pairs to find the shoes that grip, drain and last.
        • Not available. Always null.
        • Not available. Always null.
        • imagesnull
          Not available. Always null.
        • ratingnull
          Not available. Always null.
        • pricenull
          Not available. Always null.
        • faqnull
          Not available. Always null.
        • Not available. Always null.
        • Not available. Always null.
      • fetched_atstring|null
        When the results were fetched, ISO 8601 in UTC.
        Example2026-12-03T10:42:18Z
    • receipt_idstring|null
      Id of the ledger receipt for this task: what was fetched, at which level, and what was charged. Null for utility routes and failed checks.
      Example744695e7-dd8a-5016-bb2b-2d314ea9ef81
    • fetch_levelstring|null
      The fetch level that delivered the data: standard, rendered or protected. Null when the route doesn't fetch pages or nothing was fetched.
      One ofstandardrenderedprotected
    • upgradedboolean
      True when Auto-upgrade moved the request past the included level (or, for SERP, to the live path) and the charge reflects that.
      Examplefalse
    • upgrade_reasonstring|null
      Why the request upgraded, in our level names and HTTP facts, for example 403 at standard; challenge page at rendered. Null when it didn't upgrade.
    • cache_hitboolean
      True when the data came from the shared result cache instead of a new fetch.
      Examplefalse

Item types

Each entry in items has a type. These are the fields of each type.

organic29 fields
  • typestring
    Always organic.
  • rank_groupinteger
    Position among items of the same type, starting at 1.
  • Position among all items on the page, starting at 1. Equal to rank_group for now: only one item type is returned.
  • pageinteger
    Results page the item sits on, counting 10 results per page.
  • positionstring
    Side of the page the item appears on. Always left for organic results.
  • xpathnull
    Not available from our sources. Always null.
  • domainstring|null
    Domain of the result URL, for example www.example-reviews.com.
  • titlestring|null
    Result title as shown on the page.
  • urlstring|null
    Result URL.
  • Not available. Always null.
  • breadcrumbstring|null
    Breadcrumb shown under the title.
  • website_namestring|null
    Site name shown with the result, when the engine shows one.
  • is_imageboolean
    Always false: image results aren't parsed yet.
  • is_videoboolean
    Always false: video results aren't parsed yet.
  • Always false.
  • Always false.
  • descriptionstring|null
    Snippet text under the title.
  • Not available. Always null.
  • Not available. Always null.
  • imagesnull
    Not available. Always null.
  • ratingnull
    Not available. Always null.
  • pricenull
    Not available. Always null.
  • faqnull
    Not available. Always null.
  • Not available. Always null.

Errors

CodeWhen
40100No credentials were sent (HTTP 401).
40101The API key is missing, malformed or revoked (HTTP 401).
40202Too many requests for this key (HTTP 429, with Retry-After).
40503The body isn't a JSON array of task objects, or the method isn't POST (HTTP 400 or 405).
40006More than 100 tasks in one POST (HTTP 400).
40210Wallet balance below the worst case this POST could cost (HTTP 402).
40501A task field failed validation. Returned per task; other tasks still run.
50000The task returned no data because of an error on our side or upstream. $0.
40102The search ran but returned no results. $0.
40402The search service isn't set up on this server. $0.
Tasks that end in an error are not billed. All status codes

Migrating

Replaces DataForSEO /v3/serp/google/organic/live/advanced. The request body and response envelope match: change the base URL to https://api.dataforgaio.com/v1 and use your dg_ key as the password.