Bing Search API
Bing Search API documentation for developers who need Bing web results in JSON. Scrappa's GET /api/bing/search endpoint returns organic Bing results with positions, titles, descriptions, URLs, domains, related searches, and question suggestions.
Bing Search API for web results
Use this endpoint for SERP monitoring, alternative search coverage, market research, citation discovery, and products that need Microsoft Bing result data without maintaining their own proxy-backed scraper.
How to call the Bing Search API
Send a GET request to /api/bing/search with a required query parameter and your Scrappa API key in the x-api-key header. The q alias is also accepted for compatibility, but new integrations should use query. Optional parameters include page, num, site, filetype, safe, hl, and include_html.
Response fields
The response includes data results with position, title, description, url, and domain, plus people_also_search_for, people_also_ask, results_on_page, and source. results_on_page describes the current response page.
Run this endpoint
Endpoint
https://scrappa.co/api/bing/search
https://scrappa.co/api/bing/search
x-api-key
query
= coffee shops
{
"data": [
{
"url": "https://example.com/web-scraping-tools",
"title": "Web Scraping Tools - Example Guide",
"domain": "example.com",
"position": 1,
"description": "A practical overview of web scraping tools, proxy routing, parsers, and data extraction workflows."
},
{
"url": "https://example.org/data-extraction-platforms",
"title": "Best Data Extraction Platforms",
"domain": "example.org",
"position": 2,
...
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
8 optional filters available.
string
Required
The Bing search query string. Use this parameter for new integrations.
Example: web scraping tools
coffee shops
string
Optional
Alias for query. Prefer query for new integrations.
coffee shops
string
Optional
Result page number.
Range: 1-50
Default: 1
1
string
Optional
Number of results requested from Bing.
Range: 1-50
Default: 10
10
string
Optional
Restrict results to a domain by adding a Bing site: operator.
Example: example.com
example
string
Optional
Restrict results to a file extension by adding a Bing filetype: operator.
Example: pdf
example
string
Optional
Safe search setting.
Values: off, moderate, strict
Default: moderate
off
string
Optional
Language/locale hint passed to Bing as setlang.
Default: en-US
en
string
Optional
Include the raw Bing HTML in the JSON response for diagnostics.
Default: false
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
source
twitter_card
knowledge_graph
people_also_ask
results_on_page
see_results_about
people_also_search_for
Common data fields
url
title
domain
position
{
"data": [
{
"url": "https://example.com/web-scraping-tools",
"title": "Web Scraping Tools - Example Guide",
"domain": "example.com",
"position": 1,
"description": "A practical overview of web scraping tools, proxy routing, parsers, and data extraction workflows."
},
{
"url": "https://example.org/data-extraction-platforms",
"title": "Best Data Extraction Platforms",
"domain": "example.org",
"position": 2,
"description": "Compare APIs and scraping platforms for search, ecommerce, jobs, reviews, and business data."
}
],
"source": "bing",
"twitter_card": null,
"knowledge_graph": null,
"people_also_ask": [
{
"question": "What are web scraping tools used for?"
}
],
"results_on_page": 2,
"see_results_about": null,
"people_also_search_for": [
{
"query": "web scraping software"
}
]
}
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.