Bing API: Search the web
Searches Bing and returns web results in the order shown, with snippets, answer-box text when available, and related searches.
Unofficial. Not affiliated with or endorsed by Bing.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Query, required
query Question or search words, for example project management software for nonprofits.
project management software for nonprofits
- Country optional
country Country name or two-letter code for search results, for example Canada or CA.
United States (default)
- Freshness optional
freshness How recent results should be, for example past_week.
any (default)
One of
any,past_day,past_week,past_month.- Max Results optional
max_results Maximum number of regular results to return, for example 20.
10 (default)
Whole number from 1 to 50.
Input as JSON
{ "query": "project management software for nonprofits"}Output
{ "results": [ { "link": "https://support.microsoft.com/en-us/project/install-project" , "snippet": "The steps below are for the subscription versions of Project desktop, and the non-subscription versions of Project Server …", "position": 1, "page_title": "Install Project | Microsoft Support", "website_name": "microsoft.com" }, { "link": "https://project.microsoft.com/msal-redirect2" , "snippet": "project.microsoft.com", "position": 2, "page_title": "project .microsoft.com", "website_name": "microsoft.com" }, { "link": "https://www.microsoft.com/en-us/microsoft-365/project/microsoft-project-enterprise-plans-and-pricing?msockid=0682199fcc84665f27ab0e64cd19670f" , "snippet": "Compare Microsoft Project plans and pricing. Explore tools to manage projects, track resources, and deliver results with solutions …", "position": 3, "page_title": "Microsoft 365 Project : Compare Plans and Pricing", "website_name": "microsoft.com" } ], "answer_box_text": null, "related_searches": []}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"bing.com/search_web","input":{"query":"project management software for nonprofits"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "bing.com/search_web" , "input": { "query": "project management software for nonprofits" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "bing.com/search_web" , "input": { "query": "project management software for nonprofits" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run bing.com/search_web# with {"query":"project management software for nonprofits"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "query" ], "properties": { "query": { "type": "string", "minLength": 1, "description": "Question or search words, for example project management software for nonprofits." }, "country": { "type": "string", "default": "United States", "description": "Country name or two-letter code for search results, for example Canada or CA." }, "freshness": { "enum": [ "any", "past_day", "past_week", "past_month" ], "type": "string", "default": "any", "description": "How recent results should be, for example past_week." }, "max_results": { "type": "integer", "default": 10, "maximum": 50, "minimum": 1, "description": "Maximum number of regular results to return, for example 20." } }}Output schema
{ "type": "object", "required": [ "results", "answer_box_text", "related_searches" ], "properties": { "results": { "type": "array", "items": { "type": "object", "required": [ "position", "page_title", "website_name", "link", "snippet" ], "properties": { "link": { "type": "string" }, "snippet": { "type": [ "string", "null" ] }, "position": { "type": "integer" }, "page_title": { "type": "string" }, "website_name": { "type": "string" } } } }, "answer_box_text": { "type": [ "string", "null" ] }, "related_searches": { "type": "array", "items": { "type": "string" } } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
bing.com/search_web- Returns
- results (position, title, website, link, snippet), answer box text, related searches
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method bing.com/search_web with the inputs above.
Ask your agent
- Find the top 15 web results for best budgeting apps for freelancers, limited to the past week, using United States results
- Search Bing for how to repot a monstera plant, UK results, and include any answer box text and related searches
- Look up recent news about electric vehicle battery recycling from the past month, results for Canada, up to 20 hits
- What does the web say about learning Japanese with spaced repetition? Give me 8 results with snippets, any freshness
- Run a search on Bing for remote team onboarding checklist in Australia, returning up to 25 results
See more
All Bing methodsFinds recent Bing News articles about a topic in Bing's displayed order, optionally localized to a country and limited to the past hour, day or week. Relative publication times are approximate; date-only labels are shown at midnight UTC.
bing.com/search_newsSearches the web privately with DuckDuckGo in a chosen region and returns the ordered organic results without ads, plus DuckDuckGo's instant answer when it shows one.
duckduckgo.com/search_webSearches Britannica for encyclopedia articles and returns their titles, short descriptions, article links and images when shown. Excludes other search formats such as videos, questions and stories.
britannica.com/search_articlesSearches Microsoft Store apps and games by keywords in a chosen country and returns them in Store order. Subscription-included items can show a price of 0.
apps.microsoft.com/search_appsFinds iPhone and iPad apps by keyword in a chosen country's App Store, with ratings, prices, categories and App Store links.
apps.apple.com/search_appsFinds Pinterest pins for an idea in search order, with image, creator, board, saves and linked website. Limited to the first public search page.
pinterest.com/search_pinsSearches Spotify for songs, artists, albums, playlists or podcasts by keywords and returns them in Spotify's result order. Songs and albums include a release date when Spotify gives a full date.
spotify.com/search_musicFinds Android apps on Google Play by keywords, in Play search order, with each listing's developer, star rating, price and currency for the chosen country, download range and link. Results are limited to apps shown on the public search page.
play.google.com/search_apps