知
Bing API
2 endpointsSearch & KnowledgeGlobalsocial:read
Returns Bing web search results for a query, 10 per page with titles, links, snippets and display urls, and Bing News articles for a query, from the RSS feeds of its public result pages.
View as Markdown| GET | /bing/search | Bing web search results for a query, 10 per page, in rank order. |
| GET | /bing/news | Bing News articles for a query, 10 per page, newest first as Bing ranks them. |
search
GET
/v1/bing/searchBing web search results for a query, 10 per page, in rank order.
scope social:read1 unitcached 10 minpaginated
Parameters
querystring required | Search terms, such as golang generics. e.g. golang generics |
marketstring | Market of the results, such as en-US or id-ID. Omit it for Bing's default. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
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
displayUrl | string |
position | any |
snippet | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/bing/search?query=golang+generics" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bing/search?query=golang+generics", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bing/search?query=golang+generics", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "displayUrl": "https://…", "position": null, "snippet": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bing", "requestId": "req_2Xb9kQ…", "units": 1 } }
news
GET
/v1/bing/newsBing News articles for a query, 10 per page, newest first as Bing ranks them.
scope social:read1 unitcached 10 minpaginated
Parameters
querystring required | Search terms, such as indonesia. e.g. indonesia |
marketstring | Market of the articles, such as en-US or id-ID. Omit it for Bing's default. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
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
14 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
position | any |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/bing/news?query=indonesia" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bing/news?query=indonesia", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bing/news?query=indonesia", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "id": "abc123", "imageUrl": "https://…", "position": null, "publishedAt": "2026-11-06T09:41:00Z", "source": "…", "summary": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "news", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bing", "requestId": "req_2Xb9kQ…", "units": 1 } }