Skip to content
Scrappa Get API key

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

Bing Search API 1 credit/request

Endpoint

GET https://scrappa.co/api/bing/search
Request preview GET
https://scrappa.co/api/bing/search
Auth header x-api-key
Cost 1 credit/request
query = coffee shops
Response preview 200 OK
{
    "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.

query string Required

The Bing search query string. Use this parameter for new integrations.

Example: web scraping tools

Example value coffee shops
q string Optional

Alias for query. Prefer query for new integrations.

Example value coffee shops
page string Optional

Result page number.

Range: 1-50

Default: 1

Example value 1
num string Optional

Number of results requested from Bing.

Range: 1-50

Default: 10

Example value 10
site string Optional

Restrict results to a domain by adding a Bing site: operator.

Example: example.com

Example value example
filetype string Optional

Restrict results to a file extension by adding a Bing filetype: operator.

Example: pdf

Example value example
safe string Optional

Safe search setting.

Values: off, moderate, strict

Default: moderate

Example value off
hl string Optional

Language/locale hint passed to Bing as setlang.

Default: en-US

Example value en
include_html string Optional

Include the raw Bing HTML in the JSON response for diagnostics.

Default: false

Example value 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
JSON Response
200 OK
{
    "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.

Try It Live

Test this endpoint in our interactive playground with real data.