# 計費說明

## 一、計費模式

1. 計費條件：僅當單次請求返回 `200` 狀態碼時計費，其他狀態碼均不計費。

&#x20;      注意：搜尋請求成功是指接收到成功的回應，而非取決於返回結果的數量。

## 二、狀態碼對照表

| 狀態碼   | 名稱                    | 說明                                  | 是否扣費 |
| ----- | --------------------- | ----------------------------------- | ---- |
| `200` | Success               | 請求流程正常，成功獲取搜索引擎結果頁完整數據。             | 扣費   |
| `300` | Not collected         | 由於解析失敗導致未採集到有效數據                    | 不扣費  |
| `400` | Bad Request           | 傳參錯誤                                | 不扣費  |
| `401` | Unauthorized          | 認證權限失效，需檢查 token 有效性                | 不扣費  |
| `403` | Forbidden             | 目標網站伺服器拒絕執行                         | 不扣費  |
| `404` | Not Found             | 請求的資源不存在                            | 不扣費  |
| `429` | Too Many Requests     | 請求頻次超過 API 預設閾值（如併發請求數或時間窗口內請求量超限）。 | 不扣費  |
| `500` | Internal Server Error | 伺服器內部錯誤                             | 不扣費  |
| `504` | Timeout Error         | 代理伺服器等待上游伺服器回應超時。                   | 不扣費  |


---

# Agent Instructions: 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:

```
GET https://doc.thordata.com/doc/zh-hk/pa-qu/serp-api/ji-fei-shuo-ming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
