網站

備註
專家等級
API 金鑰應作為 Bearer Token 放在請求的 Authorization 標頭中。 取得您的 API 金鑰.
列表

API 端點:

GET
https://analysis.wumetax.com/api/v1/websites

請求範例:

curl --location --request GET 'https://analysis.wumetax.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
參數
類型
描述
search
選填 string
搜尋查詢.
search_by
選填 string
搜尋條件. 可能的值為:網域 的值為 domain。 預設值:domain
favorite
選填 boolean
以最愛篩選。
sort_by
選填 string
排序方式. 可能的值為:建立日期 的值為 id, 網域 的值為 domain。 預設值:id
sort
選填 string
排序. 可能的值為:遞減 的值為 desc, 遞增 的值為 asc。 預設值:desc
per_page
選填 integer
每頁顯示結果數. 可能的值為:10, 25, 50, 100。 預設值:10
顯示

API 端點:

GET
https://analysis.wumetax.com/api/v1/websites/{id}

請求範例:

curl --location --request GET 'https://analysis.wumetax.com/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
商店

API 端點:

POST
https://analysis.wumetax.com/api/v1/websites

請求範例:

curl --location --request POST 'https://analysis.wumetax.com/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'domain={domain}'
參數
類型
描述
domain
必填 string
網域名稱
privacy
選填 integer
隱私. 可能的值為:公開 的值為 0, 私密 的值為 1, 密碼 的值為 2。 預設值:0
password
選填 string
密碼. 僅在 privacy 欄位設定為 2 時有效。
email
選填 integer
定期電子郵件報告。 可能的值為:已停用 的值為 0, 已啟用 的值為 1。 預設值:0
exclude_bots
選填 integer
排除常見機器人追蹤。 可能的值為:已停用 的值為 0, 已啟用 的值為 1。 預設值:1
exclude_params
選填 string
Exclude URL query parameters from being tracked. 每行一個。
exclude_ips
選填 string
排除 IP 追蹤。 每行一個。.
更新

API 端點:

PUT PATCH
https://analysis.wumetax.com/api/v1/websites/{id}

請求範例:

curl --location --request PUT 'https://analysis.wumetax.com/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
參數
類型
描述
privacy
選填 integer
隱私. 可能的值為:公開 的值為 0, 私密 的值為 1, 密碼 的值為 2
password
選填 string
密碼. 僅在 privacy 欄位設定為 2 時有效。
email
選填 integer
定期電子郵件報告。 可能的值為:已停用 的值為 0, 已啟用 的值為 1
exclude_bots
選填 integer
排除常見機器人追蹤。 可能的值為:已停用 的值為 0, 已啟用 的值為 1
exclude_params
選填 string
Exclude URL query parameters from being tracked. 每行一個。
exclude_ips
選填 string
排除 IP 追蹤。 每行一個。.
favorite
選填 boolean
最愛.
刪除

API 端點:

DELETE
https://analysis.wumetax.com/api/v1/websites/{id}

請求範例:

curl --location --request DELETE 'https://analysis.wumetax.com/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'