1. Google 搜索
TradeWind AI API Documentation
🇨🇳 简体中文
  • 🇨🇳 简体中文
  • 🇺🇸 English
  • TradeWind AI API 3.0 - Updated at 20261204
    • API监控接口(无需鉴权)
      • API 存活探针
      • API 运维指标
    • 积分账户接口
      • 查询API积分余额
    • 企业/联系人接口(瀑布流/智能体模式)
      • (智能体)国家与语言编码参考(无需鉴权)
      • (瀑布流)获取 Industry 行业参考
      • (瀑布流)获取 Technology 技术参考
      • (瀑布流)下载支持的技术栈 CSV(无需鉴权)
      • (智能体)任务创建
      • (智能体)任务列表
      • (智能体)任务数据
      • (智能体)停止任务
      • (瀑布流)企业搜索
      • (瀑布流)企业详情
      • (瀑布流)联系人搜索
      • (瀑布流)联系人详情
    • 邮箱验证
      • (邮箱验证)单条查询 / 批量任务
      • (邮箱验证)查询批量任务结果
    • 海关数据接口
      • (海关)国家参考
      • 获取海关数据列表
      • 获取海关公司列表
      • 获取海关公司状态
      • 获取海关采购趋势
      • 获取海关全球区域分布图
      • 获取海关中国供应商交易
      • (海关)贸易伙伴网络
      • 获取海关商家交易
      • 获取海关公司详情
      • 获取海关公司贸易趋势
      • 获取海关公司进出口记录
      • 获取海关公司贸易伙伴记录
      • 获取海关公司HS编码记录
      • 获取海关公司采供产品列表
      • 获取海关公司贸易区域
      • 获取海关公司贸易港口统计
      • (海关)智能搜邮
      • 匹配公司名称的企业列表
      • 匹配公司的联系人列表
      • (海关)公司海关数据补全
    • 企业洞察
      • 九大维度海关企业档案
        • 海关企业档案(九维) · 创建任务(异步)
        • 海关企业档案(九维) · 查询任务(异步轮询)
        • 海关企业档案(九维) · 查询任务(POST 方式)
      • 海关报关主体匹配
        • 报关主体匹配 · 创建任务(异步)
        • 报关主体匹配 · 查询任务(异步轮询)
        • 报关主体匹配 · 查询任务(POST 方式)
      • 公司信息背调
      • 企业舆情与新闻情报
      • 潜在客户画像与检索关键词
    • 数据补全(批量异步)
      • 创建补全任务
      • 查询补全任务进度
      • 获取补全任务结果
      • 取消补全任务
    • Google 搜索
      • Google 网页搜索
        POST
      • Google 地图
        POST
  1. Google 搜索

Google 网页搜索

POST
/api/google/search
Last modified:2026-12-03 18:30:11
接口速览说明
鉴权方式Bearer tw_live_*(或 tw_test_*)
积分计费0.05 Credits / 次(固定价,与返回条数无关,不支持 BYOK;400/502 不扣费)
缓存机制L1 请求级缓存(默认 1 天);30 天内同参数免重扣
限流与状态码每页固定约 10 条自然结果,page 范围 1–100;HTTP 201
用本接口实时获取结构化的 Google 网页搜索结果,除自然结果 organic[] 外,还会一并返回页面上出现的知识面板(knowledge_graph)、精选摘要(answer_box)、相关问题(people_also_ask)、头条新闻(top_stories)与相关搜索词(related_searches)。如需按经纬度检索本地商户与门店,请使用 POST /api/google/maps。

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/jsonRequired

Example
{
    "query": "apple inc headquarters",
    "country": "us",
    "language": "en",
    "page": 1,
    "time_range": "any",
    "autocorrect": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/google/search' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "query": "apple inc headquarters",
    "country": "us",
    "language": "en",
    "page": 1,
    "time_range": "any",
    "autocorrect": true
}'

Responses

🟢201
application/json
成功返回 Google 网页搜索结构化结果
Bodyapplication/json

Example
{
    "success": true,
    "request_id": "req_01J9KG1A2B3C4D5E",
    "data": {
        "query": "apple inc headquarters",
        "page": 1,
        "organic": [
            {
                "position": 1,
                "title": "Apple - Contact & Corporate Headquarters",
                "link": "https://www.apple.com/contact/",
                "snippet": "Apple Park is located at One Apple Park Way, Cupertino, California 95014, United States.",
                "date": null,
                "sitelinks": [
                    {
                        "title": "Leadership",
                        "link": "https://www.apple.com/leadership/"
                    }
                ],
                "attributes": null
            }
        ],
        "knowledge_graph": {
            "title": "Apple",
            "type": "Technology company",
            "website": "https://www.apple.com/",
            "description": "Apple Inc. is an American multinational technology company headquartered in Cupertino, California.",
            "attributes": {
                "Founded": "April 1, 1976",
                "Headquarters": "Cupertino, CA"
            }
        },
        "answer_box": null,
        "people_also_ask": [
            {
                "question": "Where is Apple's global headquarters?",
                "snippet": "Apple Park is located at One Apple Park Way in Cupertino, California.",
                "title": "Apple Park - Wikipedia",
                "link": "https://en.wikipedia.org/wiki/Apple_Park"
            }
        ],
        "top_stories": [],
        "related_searches": [
            "apple park address",
            "apple inc investor relations"
        ]
    },
    "meta": {
        "billing": {
            "credits_charged": 0.05,
            "byok_used": false
        },
        "upstream_credits": 1,
        "cache": {
            "state": "miss"
        }
    },
    "error": null
}
🟠400
🟠401
🟠402
🟠404
🔴502
Modified at 2026-12-03 18:30:11
Previous
取消补全任务
Next
Google 地图
Built with