Every plan is 38 to 40% below ScrapingBee for the same credits, and price locked for life. See the comparison

Search API

Bing Search API

Bing search results as JSON from one GET request: organic results, ads, related searches and People also ask questions. A light request is a plain fetch that answers in about half a second. 10 credits a search, and a failed search costs nothing.

Try a Bing search Full reference

Quick start

curl "https://api.webfetch.io/v1/bing?search=python+asyncio+tutorial" \
  -H "Authorization: Bearer wfk_your_key"

JavaScript (npm install @tuxxin/webfetch)

const r = await client.bing('python asyncio tutorial');
r.organic_results[0].url;

Python (pip install webfetch-io)

r = client.bing("python asyncio tutorial")
r["organic_results"][0]["url"]

PHP (composer require tuxxin/webfetch)

$r = $client->bing('python asyncio tutorial');
$r['organic_results'][0]['url'];

Also served at https://webfetch.io/api/v1/bing . The key goes in the Authorization header, or in api_key. AI agents can run the same search with the MCP server's search_web tool.

How it works

  1. You send the query and the options below. The search goes out through our proxy network from the country you pick, never from our own servers.
  2. A light request for the first page is a plain HTTP fetch, about half a second, with the organic results; Bing shows its ads only to a browser. Regular requests, ads-only requests and later pages load in a real browser.
  3. If Bing answers with a bot check, the search is retried on another exit, up to three times within 90 seconds, and the exit that was blocked rests for a while.
  4. The page is read into JSON in a fixed shape: every key is present on every response, lists are ranked from position 1, and result links are the destination pages.
  5. A results page is billed, including one with no results. Anything else is not.

Parameters

ParameterDefaultWhat it does
searchrequiredThe query, as typed in the search box. Operators such as site: work.
country_codeusTwo-letter country to search from.
languageenInterface language, such as de.
page1Results page, 1 to 50. 10 results a page.
light_requesttrue10 credits when true, 15 when false.
search_typeclassicclassic for the full results page, ads for the ads only.
add_htmlfalseAlso return the page's HTML, in html.
tagnoneYour own label, echoed back in Wf-Tag.

Response

A real Bing search for "python asyncio tutorial" from US, first results only. Empty lists are always present, so a client never checks whether a key exists.

{
    "meta_data": {
        "url": "https://www.bing.com/search?q=python%20asyncio%20tutorial&setlang=en&cc=us",
        "number_of_results": 2500,
        "location": null,
        "number_of_organic_results": 10,
        "number_of_ads": 0,
        "number_of_page": 1,
        "zero_results_for_original_query": false
    },
    "organic_results": [
        {
            "position": 1,
            "title": "Python's asyncio: A Hands-On Walkthrough \u2013 Real Python",
            "url": "https://realpython.com/async-io-python/",
            "displayed_url": "https://realpython.com \u203a async-io-python",
            "description": "In this tutorial, you\u2019ll learn how Python asyncio works, how to define and run coroutines, and when to use \u2026",
            "domain": "realpython.com",
            "date": "Jul 30, 2025",
            "date_utc": null,
            "rich_snippet": [],
            "sitelinks": []
        },
        {
            "position": 2,
            "title": "asyncio in Python - GeeksforGeeks",
            "url": "https://www.geeksforgeeks.org/python/asyncio-in-python/",
            "displayed_url": "https://www.geeksforgeeks.org \u203a python \u203a asyncio-in-python",
            "description": "In the example below, we'll create a function and make it asynchronous using the async keyword. To achieve this, an \u2026",
            "domain": "www.geeksforgeeks.org",
            "date": "Jul 23, 2025",
            "date_utc": null,
            "rich_snippet": [],
            "sitelinks": []
        }
    ],
    "top_ads": [],
    "bottom_ads": [],
    "related_queries": [],
    "related_searches": [],
    "questions": [],
    "knowledge_graph": [],
    "local_results": [],
    "top_stories": [],
    "news_results": [],
    "images": [],
    "map_results": [],
    "hotel_results": [],
    "ai_overviews": []
}

Ads only

With search_type=ads the response has the same keys, with the ads filled in and the other lists empty. Each ad has its position, its landing page in url, and Bing's click URL in tracking_url. A page with no ads returns empty lists. Same price as a full search.

{
    "meta_data": {
        "url": "https://www.bing.com/search?q=best%20coffee%20maker&setlang=en&cc=us",
        "number_of_results": null,
        "location": null,
        "number_of_organic_results": 0,
        "number_of_ads": 7,
        "number_of_page": 1,
        "zero_results_for_original_query": false
    },
    "organic_results": [],
    "top_ads": [
        {
            "position": 1,
            "title": "5 Best Coffee Makers | Our #1 Pick Will Surprise You",
            "url": "https://bestreviews.com/best-coffee-makers?yb&cid=419135011&aid=1223756935084671&eid=&tid=kwd-76485169612770:loc-4084&ul=89682&mt=e&n=o&d=c&dm=&dt&sn&adid=&k=best%20coffee%20maker&p=&pc=&ap=&agid=1223756935084671&msclkid=32166a16189b1b35ae8100c76e734dd8&utm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id=32166a16189b1b35ae8100c76e734dd8&ntb=1",
            "visual_url": "https://bestreviews.com \u203a coffee-makers",
            "domain": "bestreviews.com",
            "description": "SponsoredLooking for the Best Coffee Maker on the Market? Read Our In-Depth Guide Now. Our Research Has Helped Over 200 Million People To Find The Best Products.",
            "snippet": null,
            "sitelinks": []
        },
        {
            "position": 2,
            "title": "Nespresso | Recyclable Aluminum Capsules",
            "url": "https://www.nespresso.com/us/en/vertuo-coffee-machines?gclid=5ac8d68717ad1991d039bc5661454fc6&gclsrc=3p.ds&msclkid=5ac8d68717ad1991d039bc5661454fc6",
            "tracking_url": "https://www.bing.com/aclk?ld=e8-dVKs8qy9QOIkKtPbEmn3DVUCUxMoY4v_QRBxGztgSBGz313u_yXQDvxzsSPBynatf4sp0g5H4TgnNbYmYasJBVnN4wL8pARbreJqc3fD8KSKzw7xQ0jEso383VKAyf5aZwC6TmtTdF5yIug85Clo7e7K6soYqB6Z4Ko_bGZXLOgHZYKyS1OnU_OQ3XkeDRXUXe8uCFsXoarYQItlIkntH47u20&u=aHR0cHMlM2ElMmYlMmZ3d3cubmVzcHJlc3NvLmNvbSUyZnVzJTJmZW4lMmZ2ZXJ0dW8tY29mZmVlLW1hY2hpbmVzJTNmZ2NsaWQlM2Q1YWM4ZDY4NzE3YWQxOTkxZDAzOWJjNTY2MTQ1NGZjNiUyNmdjbHNyYyUzZDNwLmRzJTI2bXNjbGtpZCUzZDVhYzhkNjg3MTdhZDE5OTFkMDM5YmM1NjYxNDU0ZmM2&rlid=5ac8d68717ad1991d039bc5661454fc6&ntb=1",
            "visual_url": "https://www.nespresso.com",
            "domain": "www.nespresso.com",
            "description": "SponsoredFind Nespresso gifts for coffee lovers, from capsules and accessories to machines. Make mornings easier with Nespresso coffee at the click of a button.",
            "snippet": null,
            "sitelinks": []
        }
    ],
    "bottom_ads": [
        {
            "position": 1,
            "title": "10 Best Coffee Makers (2026) | The Winner is Clear",
            "url": "https://buyersguide.org/coffee-maker/t/best?msclkid=f293168ca71c1c6668177c5dd1f4392e&m=e&d=c&c=73049278583090&oid=kwd-73049029093876:loc-190&qs=best%20coffee%20maker&lp=89682&li=&nw=o&nts=1&tdid=7412825",
            "tracking_url": "https://www.bing.com/aclk?ld=e84L6b06cKlMfIPTg40-NR3jVUCUySzpMSRiU1dV3uAGiTdNDi9VuVZu9qF6lwxKN3_1yN4u7kOAsHMCXtMXFZqs6usNHiSCJKiUTdLXXVtsTrnGPOAGrJfSaNBWbV0zCbOzQVEpCAUx_I0xTh4ECVgrREKMSaR9UctO2hsk2_LwbnmwaP1X_I2ehI46KlrnXXki3Az_RBRvJOSEEiO9GroryG1cs&u=aHR0cHMlM2ElMmYlMmZidXllcnNndWlkZS5vcmclMmZjb2ZmZWUtbWFrZXIlMmZ0JTJmYmVzdCUzZm1zY2xraWQlM2RmMjkzMTY4Y2E3MWMxYzY2NjgxNzdjNWRkMWY0MzkyZSUyNm0lM2RlJTI2ZCUzZGMlMjZjJTNkNzMwNDkyNzg1ODMwOTAlMjZvaWQlM2Rrd2QtNzMwNDkwMjkwOTM4NzYlM2Fsb2MtMTkwJTI2cXMlM2RiZXN0JTI1MjBjb2ZmZWUlMjUyMG1ha2VyJTI2bHAlM2Q4OTY4MiUyNmxpJTNkJTI2bnclM2RvJTI2bnRzJTNkMSUyNnRkaWQlM2Q3NDEyODI1&rlid=f293168ca71c1c6668177c5dd1f4392e&ntb=1",
            "visual_url": "https://buyersguide.org \u203a Top-10-Guide",
            "domain": "buyersguide.org",
            "description": "SponsoredFind & Compare the Best Coffee Makers Based on Price, Features, & Reviews. Looking for the Best Coffee Makers? Compare Before You Buy.",
            "snippet": null,
            "sitelinks": []
        },
        {
            "position": 2,
            "title": "5 Best Coffee Makers | Our #1 Pick Will Surprise You",
            "url": "https://bestreviews.com/best-coffee-makers?yb&cid=419135011&aid=1223756935084671&eid=&tid=kwd-76485169612770:loc-4084&ul=89682&mt=e&n=o&d=c&dm=&dt&sn&adid=&k=best%20coffee%20maker&p=&pc=&ap=&agid=1223756935084671&msclkid=639e3cc1b325187df8705610c5cd8e5e&utm_source=bing&utm_medium=cpc&utm_campaign=BR%20Core%20-%20Kitchen%20-%20Bing&utm_term=best%20coffee%20maker&utm_content=Best%20Coffee%20Makers",
            "tracking_url": "https://www.bing.com/aclk?ld=e8HZmAMkRzAlxTxN5NwXF7_zVUCUxjjWq361pCSMwN-Z0kHBZYfM1BU2qyxwNxDoj-rpFasneK6SNB2kBhiMIdrrxjcO_-4KGXTn2NqjCu89238cVD9RTRxyn7SmWdq5AB4teXVv2abZql3UeRChG_tlbGGbJdhpSlVGFxgQxgZzz1TeRCsCZNnHsSPFXKRTX8Y3-NqIUJhGCxpyea8YoJFSOb-HI&u=aHR0cHMlM2ElMmYlMmZiZXN0cmV2aWV3cy5jb20lMmZiZXN0LWNvZmZlZS1tYWtlcnMlM2Z5YiUyNmNpZCUzZDQxOTEzNTAxMSUyNmFpZCUzZDEyMjM3NTY5MzUwODQ2NzElMjZlaWQlM2QlMjZ0aWQlM2Rrd2QtNzY0ODUxNjk2MTI3NzAlM2Fsb2MtNDA4NCUyNnVsJTNkODk2ODIlMjZtdCUzZGUlMjZuJTNkbyUyNmQlM2RjJTI2ZG0lM2QlMjZkdCUyNnNuJTI2YWRpZCUzZCUyNmslM2RiZXN0JTI1MjBjb2ZmZWUlMjUyMG1ha2VyJTI2cCUzZCUyNnBjJTNkJTI2YXAlM2QlMjZhZ2lkJTNkMTIyMzc1NjkzNTA4NDY3MSUyNm1zY2xraWQlM2Q2MzllM2NjMWIzMjUxODdkZjg3MDU2MTBjNWNkOGU1ZSUyNnV0bV9zb3VyY2UlM2RiaW5nJTI2dXRtX21lZGl1bSUzZGNwYyUyNnV0bV9jYW1wYWlnbiUzZEJSJTI1MjBDb3JlJTI1MjAtJTI1MjBLaXRjaGVuJTI1MjAtJTI1MjBCaW5nJTI2dXRtX3Rlcm0lM2RiZXN0JTI1MjBjb2ZmZWUlMjUyMG1ha2VyJTI2dXRtX2NvbnRlbnQlM2RCZXN0JTI1MjBDb2ZmZWUlMjUyME1ha2Vycw&rlid=639e3cc1b325187df8705610c5cd8e5e&ntb=1",
            "visual_url": "https://bestreviews.com \u203a coffee-makers",
            "domain": "bestreviews.com",
            "description": "SponsoredLooking for the Best Coffee Maker on the Market? Read Our In-Depth Guide Now. What Do We Do? We Buy, Test, and Write Reviews. We Make Shopping Quick and Easy.",
            "snippet": null,
            "sitelinks": []
        }
    ]
}

Questions

Is it compatible with ScrapingBee?

ScrapingBee has no Bing endpoint. This one takes the parameters of their Google Search API and returns the same response shape, so code written for one works for the other.

What does a search cost?

10 credits for a light request (the default) and 15 for a regular one. An ads-only search costs the same. Credits come from your plan's monthly allowance, or from the free credit balance.

Do failed searches cost credits?

No. A search Bing blocks, one that times out, or one that returns a page that is not a results page is never billed. A blocked search is retried on another exit first, up to three times.

Which countries can I search from?

9 right now: United States, Australia, Brazil, Canada, Germany, Italy, South Korea, Spain, United Kingdom. Set country_code; a country we cannot search from is refused rather than answered from somewhere else.

Why does it need the robots.txt opt-out?

Bing's robots.txt disallows automated access to its result pages, and webfetch honors robots.txt unless you turn the opt-out on in your key portal. Turning it on records your acceptance of the acceptable use policy. Paid plans turn it on themselves; free accounts request it in the key portal, and a person approves each request.

More