批量导出谷歌图片搜索结果(CSV)
John
按关键词批量获取谷歌图片: 原图链接、宽高、缩略图、来源网站与页面链接, 导出 CSV/JSON。低成本按图计费, 适合素材整理与竞品调研。
Input
Output fields
Sign up on Apify or log in
The Google Images API - $0.10 per 1,000 - Fast Image API Actor is ready to run with the inputs already set for "批量导出谷歌图片搜索结果(CSV)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "批量导出谷歌图片搜索结果(CSV)" task
The Google Images API - $0.10 per 1,000 - Fast Image API Actor will start running based on the input automatically. You can also change all the input fields, like search queries, maximum results per query, and more, to match your specific use case.
Receive the "批量导出谷歌图片搜索结果(CSV)" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, position, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "批量导出谷歌图片搜索结果(CSV)" task via API.

每张图片占一行,包含 query、position、title、imageUrl、imageWidth、imageHeight、source 和 link,其中原图链接直接指向全尺寸文件,缩略图和来源域名也在完整记录里。运行结束后点击导出按钮选择逗号分隔的 CSV 文件,同一菜单也能导出 JSON 或 Excel。
只需 queries 关键词列表,示例为 故宫 建筑,再加 maxResultsPerQuery,示例设为 50。低于 50 的值会自动提升到 50,因为这是计费的最小页。示例把 hl 设为 zh-cn 以返回中文界面的结果,gl 可改为其他国家,默认是 us。
可以通过 Apify API 调用该任务的运行端点,等运行结束后以 format=csv 请求数据集,就能直接拿到 CSV 文件,也可以保留 JSON 格式。在 Python 或 Node 中使用 apify-client 包,几行代码就能完成同样的两步。
在 Apify Console 打开该任务,点击 Actions,再选 Schedule,填入 cron 表达式,例如 0 9 * * 1 表示每周一早上九点运行。每次运行都会生成新的数据集,可以通过 webhook 或 Google Sheets 集成自动送进表格,省去手动导出。
在 Claude 或任何支持 MCP 的客户端中,把 https://mcp.apify.com/?tools=actors,docs,johnvc/google-images-api 添加为 MCP 服务器。之后只需一句中文提示,例如 帮我搜索五十张故宫建筑的图片,助手就会运行该任务,并把每张图片的原图链接、来源网站和页面链接逐行读回对话,整个过程不用离开聊天窗口。
按实际返回的图片数量计费,没有启动费,也没有每次运行的固定费用或月度最低消费。某个关键词的图片不够多时运行会提前结束,只为真正返回的行付费。当前单价请看 Google Images API 的 Actor 页面。
两者调用同一个 Google Images API,返回相同的字段。批量导出谷歌图片搜索结果(CSV) 面向素材整理和竞品调研,一个关键词导出一份表格就够了。为 AI 训练构建图片数据集(按关键词) 则一次传入多个关键词,用 query 字段给每一行打上类别标签,方便直接做训练集。