> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Live Gemini LLM Scraper HTML

> The same Gemini answer as post_dataforseo_ai_gemini_llm_scraper_live, returned as raw HTML.

The same Gemini answer as `post_dataforseo_ai_gemini_llm_scraper_live`, returned as raw HTML. `expand_citations` unfolds the source list. Wrapped in DataForSEO's envelope: data in `tasks[0].result`, outcome in `tasks[0].status_code` - a rejected request still returns HTTP 200. ⚠️ Larger than the 26.1 KB parsed form; take it only when you need markup the parser dropped.

## Example

<CodeGroup>
  ```bash REST theme={null}
  curl -X POST "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/gemini/llm_scraper/live/html" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -d '[{"keyword": "...", "location_name": "...", "location_code": "..."}]'
  ```

  ```jsonc MCP theme={null}
  // Copy this whole block into Claude Code, Codex, Cursor or any coding agent.
  // It carries everything needed to connect, authorize and run this example —
  // no key to paste, one click of Allow in the browser.
  {
    "operation_id": "post_dataforseo_ai_gemini_llm_scraper_live_html",
    "arguments": {},
    "max_price_usd": 0.05
  }
  // ── for the agent ─────────────────────────────────────────────────────────
  // Register the AIsa MCP server, then call its `use` tool with the JSON above.
  //   name       aisa
  //   endpoint   https://mcp.aisa.one/mcp
  //   transport  streamable-http
  //   auth       OAuth. The server publishes RFC 9728 metadata, so open a
  //              browser and the user clicks Allow once — nothing to paste.
  //              If AISA_API_KEY is set, send it as a bearer header instead.
  // Use your own MCP mechanism, not a hand-edited config file:
  //   Codex        codex mcp add aisa --url https://mcp.aisa.one/mcp
  //   Claude Code  claude mcp add --transport http -s user aisa https://mcp.aisa.one/mcp
  //   Cursor / VS Code   a "url" entry for https://mcp.aisa.one/mcp in the MCP config
  // The server lists five tools over https://mcp.aisa.one/servers worth of APIs:
  // search, get_details, use, batch_use, list_categories. search and
  // get_details are free; use is billed per call and max_price_usd refuses
  // anything above the cap before spending. This operation's full contract —
  // every argument, the response shape, the price and the pitfalls — is at
  //   https://aisa.one/docs/api-reference/dataforseo/post_dataforseo-ai-optimization-gemini-llm-scraper-live-html.md
  // Then run the call and show me the result.
  ```
</CodeGroup>

<Note>
  **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
  Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
  opens a browser, you click Allow once, and there is no key to paste. The
  commands per client, and what each call costs, are on
  [aisa.one/mcp](https://aisa.one/mcp#connect).
</Note>

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/dataforseo/post_dataforseo-ai-optimization-gemini-llm-scraper-live-html)


## OpenAPI

````yaml openapi/dataforseo.json POST /dataforseo/ai_optimization/gemini/llm_scraper/live/html
openapi: 3.0.3
info:
  title: DataForSEO API
  version: 1.0.0
  description: DataForSEO API endpoints exposed through the AIsa unified gateway.
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /dataforseo/ai_optimization/gemini/llm_scraper/live/html:
    post:
      summary: Live Gemini LLM Scraper HTML
      description: >-
        Live Gemini LLM Scraper API HTML provides a raw HTML page of the results
        for the specified keyword, language (see the List of Languages), and
        location (see the List of Locations).
      operationId: post_dataforseo_ai_gemini_llm_scraper_live_html
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  keyword:
                    type: string
                    description: >-
                      keyword required field you can specify up to 2000
                      characters in the keyword field all %## will be decoded
                      (plus character ‘+’ will be decoded to a space character)
                      if you need to use the “%” character for your keyword,
                      please specify it as “%25”; if you need to use the “+”
                      character for your keyword, please specify it as
                      “%2B”learn more about rules and limitations of keyword and
                      keywords fields in DataForSEO APIs in this Help Center
                      article
                  location_name:
                    type: string
                    description: >-
                      full name of search engine location required field if you
                      don't specify location_code or location_coordinate if you
                      use this field, you don't need to specify location_code or
                      location_coordinate you can receive the list of available
                      locations of the search engine with their location_name by
                      making a separate request to the
                      https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/locations
                      example: United States
                  location_code:
                    type: integer
                    description: >-
                      search engine location code required field if you don't
                      specify location_name or location_coordinate if you use
                      this field, you don't need to specify location_name or
                      location_coordinate you can receive the list of available
                      locations of the search engines with their location_code
                      by making a separate request to the
                      https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/locations
                      example: 2840
                  language_name:
                    type: string
                    description: >-
                      full name of search engine language required field if you
                      don't specify language_code if you use this field, you
                      don't need to specify language_code you can receive the
                      list of available languages of the search engine with
                      their language_name by making a separate request to the
                      https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/languages
                      example: English
                  language_code:
                    type: string
                    description: >-
                      search engine language code required field if you don't
                      specify language_name if you use this field, you don't
                      need to specify language_name you can receive the list of
                      available languages of the search engine with their
                      language_code_by making a separate request to the
                      https://api.dataforseo.com/v3/ai_optimization/gemini/llm_scraper/languages
                      example:enn
                  expand_citations:
                    type: boolean
                    description: >-
                      return expanded citation bar in HTML results optional
                      field when enabled, the endpoint will return HTML data
                      from the expanded citation bar; default value: false
                  tag:
                    type: string
                    description: >-
                      user-defined task identifier optional field the character
                      limit is 255 you can use this parameter to identify the
                      task and match it with the result you will find the
                      specified tag value in the data object of the response
                  location_coordinate:
                    type: string
                    description: >-
                      GPS coordinates of a location required field if you don't
                      specify location_name or location_code if you use this
                      field, you don't need to specify location_name or
                      location_code location_coordinate parameter should be
                      specified in the "latitude,longitude,radius" format the
                      maximum number of decimal digits for "latitude" and
                      "longitude": 7 the minimum value for "radius": 199 (mm)
                      the maximum value for "radius": 199999 (mm) example:
                      53.476225,-2.243572,200
                required:
                  - keyword
                allOf:
                  - anyOf:
                      - required:
                          - location_name
                      - required:
                          - location_code
                      - required:
                          - location_coordinate
                  - anyOf:
                      - required:
                          - language_name
                      - required:
                          - language_code
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  version:
                    type: string
                    description: the current version of the API
                  status_code:
                    type: integer
                    description: >-
                      general status code you can find the full list of the
                      response codes here
                  status_message:
                    type: string
                    description: >-
                      general informational message you can find the full list
                      of general informational messages here
                  time:
                    type: string
                    description: total execution time, seconds
                  cost:
                    type: number
                    description: total tasks cost, USD
                  tasks_count:
                    type: integer
                    description: the number of tasks in the tasks array
                  tasks_error:
                    type: integer
                    description: >-
                      the number of tasks in the tasks array returned with an
                      error
                  tasks:
                    type: array
                    items:
                      type: string
                    description: array of tasks
                  tasks.id:
                    type: string
                    description: >-
                      task identifier unique task identifier in our system in
                      the UUID format
                  tasks.status_code:
                    type: integer
                    description: >-
                      status code of the task generated by DataForSEO; can be
                      within the following range: 10000-60000 you can find the
                      full list of the response codes here
                  tasks.status_message:
                    type: string
                    description: >-
                      informational message of the task you can find the full
                      list of general informational messages here
                  tasks.time:
                    type: string
                    description: execution time, seconds
                  tasks.cost:
                    type: number
                    description: total tasks cost, USD
                  tasks.result_count:
                    type: integer
                    description: number of elements in the result array
                  tasks.path:
                    type: array
                    items:
                      type: string
                    description: URL path
                  tasks.data:
                    type: object
                    description: >-
                      contains the same parameters that you specified in the
                      POST request
                  tasks.result:
                    type: array
                    items:
                      type: string
                    description: array of results
                  tasks.result.keyword:
                    type: string
                    description: >-
                      keyword received in a POST array keyword is returned with
                      decoded %## (plus character '+' will be decoded to a space
                      character)
                  tasks.result.location_code:
                    type: integer
                    description: location code in a POST array
                  tasks.result.language_code:
                    type: string
                    description: language code in a POST array
                  tasks.result.datetime:
                    type: string
                    description: >-
                      date and time when the result was received in the UTC
                      format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15
                      12:57:46 +00:00
                  tasks.result.items_count:
                    type: integer
                    description: the number of results returned in the items array
                  tasks.result.items:
                    type: array
                    items:
                      type: string
                    description: elements of search results found
                  tasks.result.items.page:
                    type: integer
                    description: serial number of the returned HTML page
                  tasks.result.items.date:
                    type: string
                    description: >-
                      date and time when the HTML page was scanned in the UTC
                      format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15
                      12:57:46 +00:00
                  tasks.result.items.html:
                    type: string
                    description: HTML page
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
        '500':
          description: Internal server error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.