# SERP Google Local Finder HTML Langsung

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/google/local_finder/live/html`

**Tags:** DataForSEO

Memulangkan hasil tempatan yang diperluas yang dipaparkan Google apabila pertanyaan jelas bersifat tempatan di Google, secara segerak. Sumber halaman mentah dan bukan hasil yang dihuraikan. Dibungkus dalam sampul DataForSEO: data dalam `tasks[0].result`, hasil dalam `tasks[0].status_code` - permintaan yang ditolak tetap memulangkan HTTP 200.

### Rujukan harga

- Pemeteran: Kos respons yang dilaporkan.
- Anggaran rujukan setiap permintaan: USD 0.02.
- Pengganda pelanggan rujukan: 1.0. Jangan gunakan semula pada amaun pelanggan yang telah diselesaikan.

Metadata rujukan sahaja, bukan sebut harga akaun, harga terjamin atau had perbelanjaan. Kredit sumber bukan kredit Felo. Caj akhir mengikut rekod pengebilan Felo.

## Related links

- [Harga](<https://dataforseo.com/pricing/serp/google-local-finder-serp-api>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "<p><em>kata kunci</em><p><strong>medan wajib</strong><p>anda boleh menentukan <strong>sehingga 700 aksara</strong> dalam medan <code>keyword</code><p>semua %## akan dinyahkod (aksara ‘+’ juga akan dinyahkod menjadi aksara ruang)<p>jika anda perlu menggunakan aksara “%” untuk <code>keyword</code>, nyatakan sebagai “%25”;<p>jika anda perlu menggunakan aksara “+” untuk <code>keyword</code>, nyatakan sebagai “%2B”</p>"
          },
          "location_code": {
            "type": "integer",
            "description": "<p><em>kod lokasi enjin carian</em><p><strong>medan wajib jika anda tidak menentukan</strong> <code>location_name</code>&nbsp;atau <code>location_coordinate</code><p><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_name</code> atau <code>location_coordinate</code></strong><p>anda boleh menerima senarai lokasi enjin carian yang tersedia berserta <code>location_code</code> dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations</code><p>contoh:<p><code class=\"long-string\">2840</code></p>"
          },
          "language_code": {
            "type": "string",
            "description": "<p><em>kod bahasa enjin carian</em><p><strong>medan wajib jika anda tidak menentukan</strong> <code>language_name</code><p><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>language_name</code></strong><p>anda boleh menerima senarai bahasa enjin carian yang tersedia berserta <code>language_code</code>&nbsp;dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages</code><p>contoh:<code class=\"long-string\">en</code></p>"
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>kedalaman penghuraian</em><p>medan pilihan<p>bilangan hasil dalam SERP<br><p>nilai lalai: <code>10</code><p>nilai maksimum: <code>100</code></p><br><strong>Akaun anda akan dicaj bagi setiap SERP yang mengandungi sehingga 10 hasil;</strong><p>Menetapkan kedalaman melebihi 10 boleh menyebabkan caj tambahan jika enjin carian memulangkan lebih daripada 10 hasil;<p>Jika kedalaman yang ditentukan lebih tinggi daripada bilangan hasil dalam respons, perbezaannya akan dipulangkan secara automatik ke baki akaun anda<p>Kos boleh dikira di halaman Harga."
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>jenis peranti</em><p>medan pilihan<p>pulangkan hasil untuk jenis peranti tertentu<p>boleh mengambil nilai:<code>desktop</code>, <code>mobile</code><p>nilai lalai: <code>desktop</code></p>"
          },
          "location_name": {
            "type": "string",
            "description": "<p><em>nama penuh lokasi enjin carian</em><p><strong>medan wajib jika anda tidak menentukan</strong> <code>location_code</code> atau <code>location_coordinate</code><p><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_code</code> atau <code>location_coordinate</code></strong><p>anda boleh mendapatkan senarai lokasi tersedia bagi enjin carian berserta <code>location_name</code> dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/locations</code><p>contoh:<p><code class=\"long-string\">London,England,United Kingdom</code></p>"
          },
          "language_name": {
            "type": "string",
            "description": "<p><em>nama penuh bahasa enjin carian</em><p><strong>medan wajib jika anda tidak menentukan</strong> <code>language_code</code><p><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>language_code</code></strong><p>anda boleh menerima senarai bahasa enjin carian yang tersedia berserta <code>language_name</code> dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/serp/{{low_se_name}}/languages</code><p>contoh:<p><code class=\"long-string\">English</code></p>"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>sistem pengendalian peranti</em><p>medan pilihan<p>jika anda menentukan <code>desktop</code> dalam medan <code>device</code>, pilih daripada nilai berikut: <code>windows</code>, <code>macos</code><p>nilai lalai: <code>windows</code><p>jika anda menentukan <code>mobile</code> dalam medan <code>device</code>, pilih daripada nilai berikut: <code>android</code>, <code>ios</code><p>nilai lalai: <code>android</code></p>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>pengecam tugas yang ditentukan pengguna</em><p>medan pilihan<p><em>had aksara ialah 255</em><p>anda boleh menggunakan parameter ini untuk mengenal pasti tugas dan memadankannya dengan hasil<p>anda akan menemui nilai <code>tag</code> yang ditentukan dalam objek <code>data</code> respons</p>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<p><em>koordinat GPS sesuatu lokasi</em><p><strong>medan wajib jika anda tidak menentukan</strong> <code>location_name</code>&nbsp;atau <code>location_code</code><p><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_name</code> atau <code>location_code</code></strong><p>parameter <code>location_coordinate</code> harus ditentukan dalam format <em>\"latitude,longitude,zoom\"</em><p>jika <em>\"zoom\"</em> tidak ditentukan, <em>9z</em> akan digunakan sebagai nilai lalai<p>bilangan maksimum digit perpuluhan untuk <em>\"latitude\"</em> dan <em>\"longitude\"</em>: 7<p>nilai minimum untuk <em>\"zoom\"</em>: 4z<p>nilai maksimum untuk <em>\"zoom\"</em>: 18z<p>contoh:<p><code class=\"long-string\">52.6178549,-155.352142,20z</code></p>"
          },
          "min_rating": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>tapis hasil mengikut penarafan minimum</em><p>medan pilihan<p>nilai yang mungkin untuk <code>desktop</code>: <code>3.5</code>, <code>4</code>, <code>4.5</code>;<p>nilai yang mungkin untuk <code>mobile</code>: <code>2</code>, <code>2.5</code>, <code>3</code>, <code>3.5</code>, <code>4</code>, <code>4.5</code></p>"
          },
          "time_filter": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>menapis hasil mengikut waktu operasi</em><p>medan pilihan<p>dengan medan ini, anda boleh menapis tempat dalam hasil mengikut masa tempat itu dibuka kepada pelawat<p>ambil perhatian bahawa Google juga mungkin memberikan hasil yang tidak sepadan dengan penapis ini<p>nilai yang mungkin: <code>\"open_now\"</code>, <code>\"24_hours\"</code>, <code>\"$day_value\"</code>, <code>\"$day_value;$time_value\"</code>;<p>sebagai ganti <code>$day_value</code>, gunakan salah satu nilai berikut: <code>\"monday\"</code>, <code>\"tuesday\"</code>, <code>\"wednesday\"</code>, <code>\"thursday\"</code>, <code>\"friday\"</code>, <code>\"saturday\"</code>, <code>\"sunday\"</code>;<p>sebagai ganti <code>$time_value</code>, gunakan salah satu nilai berikut: <code>\"00\"</code>, <code>\"01\"</code>, <code>\"02\"</code>, <code>\"03\"</code>, <code>\"04\"</code>, <code>\"05\"</code>, <code>\"06\"</code>, <code>\"07\"</code>, <code>\"08\"</code>, <code>\"09\"</code>, <code>\"10\"</code>, <code>\"11\"</code>, <code>\"12\"</code>, <code>\"13\"</code>, <code>\"14\"</code>, <code>\"15\"</code>, <code>\"16\"</code>, <code>\"17\"</code>, <code>\"18\"</code>, <code>\"19\"</code>, <code>\"20\"</code>, <code>\"21\"</code>, <code>\"22\"</code>, <code>\"23\"</code><p>contoh: <code class=\"long-string\">\"tuesday;18\"</code></p>"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "albert einstein"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "albert einstein"
    }
  ]
}
```

## Responses

### 200 — Operasi berjaya

Headers:
- `X-Request-Id` (string) — Pengecam permintaan untuk disertakan semasa menghubungi sokongan Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResponseInfo"
    }
  ]
}
```

### 400 — Permintaan tidak dapat diproses. Semak parameter permintaan.

### 401 — Kunci API Felo yang sah diperlukan.

### 402 — Permintaan tidak dapat diteruskan kerana keperluan pengebilan tidak dipenuhi.

### 403 — Akaun tidak dibenarkan melakukan operasi ini.

### 429 — Had permintaan atau had perbelanjaan telah dicapai.

### 502 — Perkhidmatan tidak dapat menyelesaikan permintaan.

### 503 — API atau perkhidmatan pengebilan tidak tersedia buat sementara waktu.

### 504 — Perkhidmatan tamat masa semasa memproses permintaan.

### default — Respons ralat; respons passthrough huluan mungkin menggunakan format penyedia

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "versi semasa API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod status umum; anda boleh menemui senarai penuh kod respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "mesej maklumat umum; anda boleh menemui senarai penuh mesej maklumat umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "jumlah masa pelaksanaan, saat"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "jumlah kos tugas, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan tugas dalam array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan tugas dalam array tasks yang dipulangkan dengan ralat",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "pengecam tugas; pengecam tugas unik dalam sistem kami dalam format UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod status tugas yang dijana oleh DataForSEO; boleh berada dalam julat berikut: 10000-60000; anda boleh menemui senarai penuh kod respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "mesej maklumat tugas; anda boleh menemui senarai penuh mesej maklumat umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "masa pelaksanaan, saat"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "jumlah kos tugas, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan elemen dalam array hasil",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Laluan URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "mengandungi parameter yang sama seperti yang anda tentukan dalam permintaan POST"
    }
  }
}
```

### Response36Afe1097B20_HtmlItemInfo

`#/components/schemas/Response36Afe1097B20_HtmlItemInfo`

```json
{
  "type": "object",
  "properties": {
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<i>nombor siri halaman HTML yang dipulangkan</i>"
    },
    "date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>tarikh dan masa halaman HTML diimbas</em><br>dalam format UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>contoh:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "html": {
      "type": [
        "string",
        "null"
      ],
      "description": "<i>halaman</i> <i>HTML</i>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlTaskInfo"
              }
            ]
          },
          "description": "<em>tatasusunan tugas</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kata kunci yang diterima dalam array POST<br></em><strong>kata kunci dipulangkan dengan %## dinyahkod (aksara tambah '+' akan dinyahkod menjadi aksara ruang)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>domain enjin carian dalam array POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kod lokasi dalam array POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kod bahasa dalam array POST</em>"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>tarikh dan masa hasil diterima</em><br>dalam format UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>contoh:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>bilangan hasil yang dipulangkan dalam tatasusunan <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_HtmlItemInfo"
          }
        ]
      },
      "description": "<em>elemen hasil carian yang ditemui dalam SERP</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleLocalFinderLiveHtmlResultInfo"
              }
            ]
          },
          "description": "<em>tatasusunan hasil</em>"
        }
      }
    }
  ]
}
```
