知
Google API
4 endpointsSearch & KnowledgeGlobalsocial:read3 real examples
Returns Google search autocomplete suggestions, Google News articles and daily trending searches by country.
View as Markdown| GET | /google/autocomplete | Search suggestions Google shows for the start of a query. |
| GET | /google/news | Google News articles for a search, or the top headlines when no query is given. Up to 100 per call. |
| GET | /google/newsTopic | Google News articles of one section, such as TECHNOLOGY or SPORTS, newest first. Up to 100 per call. |
| GET | /google/trends | Daily trending searches of one country, with their traffic and the news behind them. |
autocomplete
GET
/v1/google/autocompleteSearch suggestions Google shows for the start of a query.
scope social:read1 unitcached 1 hpaginated
Parameters
querystring required | The start of a search. e.g. weather |
langstring | Interface language, such as en or de. default en |
glstring | Country code, such as US or DE. default US |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
text | string |
curl "https://api.hoshime.com/v1/google/autocomplete?query=weather" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/google/autocomplete?query=weather", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/google/autocomplete?query=weather", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "text": "weather" }, { "text": "weather tomorrow" } ], "meta": { "cached": false, "endpoint": "autocomplete", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "google", "requestId": "req_2Xb9kQ…", "units": 1 } }
news
GET
/v1/google/newsGoogle News articles for a search, or the top headlines when no query is given. Up to 100 per call.
scope social:read1 unitcached 10 minpaginated
Parameters
querystring | Search terms. Omit it for the top headlines. |
langstring | Interface language, such as en-US or de-DE. default en-US |
glstring | Country code, such as US or DE. default US |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
publishedAt | string |
source | string |
sourceUrl | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/google/news" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/google/news", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/google/news", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "publishedAt": "2026-11-06T09:00:15Z", "source": "CNN", "sourceUrl": "https://www.cnn.com", "title": "The fight is growing over ballot counting in Mississippi’s tight Senate race - CNN", "url": "https://news.google.com/rss/articles/CBMiqgFBVV95cUxPYlJ6VXh1bDdaNC1SMUlrdFMySWN2RG9RMTZicHludXAySzVsUXhjaWwwS1g4S3dtUmtMekU2cS10d2VqbGtqT2d…" }, { "publishedAt": "2026-11-06T14:32:42Z", "source": "The Washington Post", "sourceUrl": "https://www.washingtonpost.com", "title": "The GOP needs to move on from Trump. That’s easier said than done. - The Washington Post", "url": "https://news.google.com/rss/articles/CBMiogFBVV95cUxPTUI0d3pkQkFsLW1jNUp4cTVvN0ZsRE1nR3RYTHF5ZWZnQlJLalA1XzQ1d2ktdlAwNV9pdnRDZ2NCelY3d1Fwdjd…" } ], "meta": { "cached": false, "endpoint": "news", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "google", "requestId": "req_2Xb9kQ…", "units": 1 } }
newsTopic
GET
/v1/google/newsTopicGoogle News articles of one section, such as TECHNOLOGY or SPORTS, newest first. Up to 100 per call.
scope social:read1 unitcached 10 minpaginated
Parameters
topicstring required | Section: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SCIENCE, SPORTS or HEALTH.WORLDNATIONBUSINESSTECHNOLOGYENTERTAINMENTSCIENCESPORTSHEALTHe.g. TECHNOLOGY |
langstring | Interface language, such as en-US or de-DE. default en-US |
glstring | Country code, such as US or DE. default US |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
publishedAt | string |
source | string |
sourceUrl | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/google/newsTopic?topic=TECHNOLOGY" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/google/newsTopic?topic=TECHNOLOGY", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/google/newsTopic?topic=TECHNOLOGY", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "publishedAt": "2026-11-06T09:41:00Z", "source": "…", "sourceUrl": "https://…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "newsTopic", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "google", "requestId": "req_2Xb9kQ…", "units": 1 } }
trends
GET
/v1/google/trendsDaily trending searches of one country, with their traffic and the news behind them.
scope social:read1 unitcached 30 minpaginated
Parameters
geostring | Country code, such as US or DE. default US |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
news | TrendNews[] |
source | string |
title | string |
url | string |
publishedAt | string |
query | string |
traffic | integer (int64) |
trafficText | string |
curl "https://api.hoshime.com/v1/google/trends" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/google/trends", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/google/trends", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "news": [ { "source": "Yahoo", "title": "Russell Brand faces 'significant' prison sentence after rape and sexual assault conviction", "url": "https://www.yahoo.com/news/world/article/russell-brand-faces-significant-prison-sentence-after-rape-and-sexual-assault-conviction-110123123.…" }, { "source": "The Guardian", "title": "Russell Brand has finally faced justice. But other abusers in comedy are still hiding in plain sight", "url": "https://www.theguardian.com/commentisfree/2026/nov/06/russell-brand-justice-comedy-other-abusers" } ], "publishedAt": "2026-11-06T16:50:00Z", "query": "katherine ryan", "traffic": 1000, "trafficText": "1000+" }, { "news": [ { "source": "CNBC", "title": "OpenAI will keep investing in AI data centers despite election results, CFO tells CNBC", "url": "https://www.cnbc.com/2026/11/06/open-ai-data-centers-election.html" }, { "source": "The Washington Post", "title": "Open AI makes pledges on data center operation after midterm backlash", "url": "https://www.washingtonpost.com/business/2026/11/05/open-ai-makes-pledges-data-center-operation-after-midterm-backlash/" } ], "publishedAt": "2026-11-06T16:30:00Z", "query": "sarah friar", "traffic": 500, "trafficText": "500+" } ], "meta": { "cached": false, "endpoint": "trends", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "google", "requestId": "req_2Xb9kQ…", "units": 1 } }