Skip to content

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/autocompleteSearch suggestions Google shows for the start of a query.
GET/google/newsGoogle News articles for a search, or the top headlines when no query is given. Up to 100 per call.
GET/google/newsTopicGoogle News articles of one section, such as TECHNOLOGY or SPORTS, newest first. Up to 100 per call.
GET/google/trendsDaily trending searches of one country, with their traffic and the news behind them.

autocomplete

GET/v1/google/autocomplete

Search suggestions Google shows for the start of a query.

scope social:read1 unitcached 1 hpaginated

Parameters

query
string
required
The start of a search.
e.g. weather
lang
string
Interface language, such as en or de.
default en
gl
string
Country code, such as US or DE.
default US
tunnel
string
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.
proxy
string
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.
profileId
string
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
textstring
curl "https://api.hoshime.com/v1/google/autocomplete?query=weather" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/news

Google 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

query
string
Search terms. Omit it for the top headlines.
lang
string
Interface language, such as en-US or de-DE.
default en-US
gl
string
Country code, such as US or DE.
default US
tunnel
string
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.
proxy
string
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.
profileId
string
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
publishedAtstring
sourcestring
sourceUrlstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/google/news" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/newsTopic

Google News articles of one section, such as TECHNOLOGY or SPORTS, newest first. Up to 100 per call.

scope social:read1 unitcached 10 minpaginated

Parameters

topic
string
required
Section: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SCIENCE, SPORTS or HEALTH.
WORLDNATIONBUSINESSTECHNOLOGYENTERTAINMENTSCIENCESPORTSHEALTH
e.g. TECHNOLOGY
lang
string
Interface language, such as en-US or de-DE.
default en-US
gl
string
Country code, such as US or DE.
default US
tunnel
string
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.
proxy
string
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.
profileId
string
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
publishedAtstring
sourcestring
sourceUrlstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/google/newsTopic?topic=TECHNOLOGY" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open