> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/zh-hk/pa-qu/serp-api/jie-xi-hou-de-json-jie-guo.md).

# 解析後的 JSON 結果

了解什麼是解析。

\
SERP API 的解析是將原始的 HTML 響應轉換為具有數據字段和值的結構化 JSON 的過程。

當結果被解析後，我們輸出的結果將進一步結構化為可視的數據字段和值，例如：`link`、`display_link`、`title`、`description`、`rank`、`global_rank`、`image`、`image_alt`、`image_url` 等字段，可以讓您能夠監控競爭對手的 SERP 排名，分析關鍵詞趨勢並收集有價值的市場見解。

發送解析請求\
以下是 SERP API 使用 "json=1" 解析的最簡單的 GET 解析請求：

```sh
curl -k "https://www.google.com/search?q=pizza&json=1" --proxy scraping.thordata.com:30001 --proxy-user td-customer-serp_USERNAME:PASSWORD
```

Google 和 Bing 均支持解析請求。

**基本請求 - 細分：**

<table><thead><tr><th width="261">參數</th><th width="486">說明</th></tr></thead><tbody><tr><td>scraping.thordata.com</td><td>我們負載均衡器的地址，它將為您的請求找到最快的超級代理</td></tr><tr><td>30001</td><td>我們的基礎設施端口，用於接收您的請求</td></tr><tr><td>user td-customer-serp_USERNAME:PASSWORD</td><td>用戶名身份驗證</td></tr><tr><td>json=1</td><td>返回解析後的 JSON 結果，未設置該值將返回原始 HTML 結果</td></tr></tbody></table>

**了解 JSON 字段：**

<table><thead><tr><th width="261">字段</th><th width="486">說明</th></tr></thead><tbody><tr><td>type</td><td>字段類型（site_link、text、rating 等）</td></tr><tr><td>title</td><td>文本標題，通常用於網頁的名稱</td></tr><tr><td>description</td><td>鏈接下的描述，通常是搜尋結果摘要或內容概覽</td></tr><tr><td>link</td><td>目標網頁的完整 URL，指向實際的網頁內容</td></tr><tr><td>referral_link</td><td>重定向鏈接，通常用於廣告追蹤、點擊統計或流量分析</td></tr><tr><td>image</td><td>此字段可以包含圖片 Base64 字符串或圖片 URL</td></tr><tr><td>image_alt</td><td>圖片備用名稱，通常用於無障礙訪問或當圖片無法加載時顯示</td></tr><tr><td>image_url</td><td>圖片的完整 URL</td></tr><tr><td>rank</td><td>表示該內容在當前搜尋結果的排名，數值越小越靠前</td></tr><tr><td>global_rank</td><td>表示該網站在全球範圍內的流量排名</td></tr></tbody></table>

如果您需要更多幫助，請通過郵箱 <support@thordata.com> 聯繫我們。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.thordata.com/doc/zh-hk/pa-qu/serp-api/jie-xi-hou-de-json-jie-guo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
