Bing URL

Web Scraping API Bing URL Target

The bing target is built to obtain content directly from various Bing URLs. Instead of passing multiple parameters, you can simply provide a direct URL to the desired Bing page.

📘

Useful Links

❗️

Bing has removed support for the limit (count in URL) parameter. For this reason only "limit"="10" is supported for now. No changes are required, requests will work, just with limit modifications applied.


Input Parameters

Request parameters available for Bing URL target:

Parameter

Type

Required

Description

target

string

Target type must be set to bing

url

string

A URL of a Bing page. Additional parameters can be specified in the URL itself.

headless

string

html value enables JavaScript rendering. Read more. png value enables screenshot response. Read more.

parse

boolean

Automatically parses results when set to true, but only applicable to specific page types that support a parser, read more.

geo

string

Set the country to use when submitting the query. Full list of locations available for the Advanced plan can be found here.

locale

string

Set the value to change your Bing search page web interface language.

device_type

string

Specify device type and browser. Read more.

xhr

boolean

Set to true to retrieve a list of XHR and fetch requests. Read more.
Default value is false.

markdown

boolean

Set to true to receive a Markdown response. Read more.
Default value is false.

Request Examples

curl --request 'POST' \
        --url 'https://scraper-api.decodo.com/v2/scrape' \
        --header 'Accept: application/json' \
        --header 'Authorization: Basic TOKEN VALUE' \ // update with your authorization token
        --header 'Content-Type: application/json' \
        --data '
    {
      "target": "bing",
      "url": "https://www.bing.com/search?q=pizza&form=QBLH&sp=-1&ghc=1&lq=0&pq=pizza&sc=10-5&qs=n&sk=&cvid=1BA925DE7F3C4081A886A53452B5070D&ghsh=0&ghacc=0&ghpl=",
      "page_from": "1",
      "parse": true
    }
'

const scrape = async() => {
  const response = await fetch("https://scraper-api.decodo.com/v2/scrape", {
    method: "POST",
    body: JSON.stringify({
      "target": "bing",
      "url": "https://www.bing.com/search?q=pizza&form=QBLH&sp=-1&ghc=1&lq=0&pq=pizza&sc=10-5&qs=n&sk=&cvid=1BA925DE7F3C4081A886A53452B5070D&ghsh=0&ghacc=0&ghpl=",
      "page_from": "1",
      "parse": true
    }),
    headers: {
      "Content-Type": "application/json",
      "Authorization": "Basic TOKEN VALUE" // update with your authorization token
    },
  }).catch(error => console.log(error));

  console.log(await response.json())
}

scrape()
import requests
  
url = "https://scraper-api.decodo.com/v2/scrape"
  
payload = {
      "target": "bing",
      "url": "https://www.bing.com/search?q=pizza&form=QBLH&sp=-1&ghc=1&lq=0&pq=pizza&sc=10-5&qs=n&sk=&cvid=1BA925DE7F3C4081A886A53452B5070D&ghsh=0&ghacc=0&ghpl=",
      "page_from": "1",
      "parse": True
}
  
headers = {
    "accept": "application/json",
    "content-type": "application/json",
    "authorization": "Basic TOKEN VALUE" # update with your authorization token
}
  
response = requests.post(url, json=payload, headers=headers)
  
print(response.text)

Output

The response structure will vary depending on the provided url.

Response Example
{
    "results": {
        "url": "https://www.bing.com/search?q=pizza&form=QBLH&sp=-1&ghc=1&lq=0&pq=pizza&sc=10-5&qs=n&sk=&cvid=1BA925DE7F3C4081A886A53452B5070D&ghsh=0&ghacc=0&ghpl=",
        "page": 1,
        "results": {
            "paid": [],
            "organic": [
                {
                    "pos": 1,
                    "url": "https://en.wikipedia.org/wiki/Pizza",
                    "desc": "Pizza   is an Italian, specifically Neapolitan, dish typically consisting of a flat base of leavened wheat-based dough topped with tomato, cheese, and other ingredients, baked at a high temperature, traditionally in a wood-fired oven.  The term pizza was first recorded in 997 AD, in a Latin …",
                    "title": "Pizza - Wikipedia",
                    "url_shown": "https://en.wikipedia.org› wiki ›Pizza",
                    "pos_overall": 1
                },
                {
                    "pos": 2,
                    "url": "https://cuisine.journaldesfemmes.fr/recette-pizza",
                    "desc": "May 14, 2006 · Découvrez comment préparer une pizza napolitaine, reine ou calzone avec votre pâte à pizza à la maison ou commandée. Choisissez vos ingrédients préférés parmi les …",
                    "title": "Recettes de pizza : faciles et savoureuses",
                    "url_shown": "https://cuisine.journaldesfemmes.fr › recette-pizza",
                    "pos_overall": 2
                },
                {
                    "pos": 3,
                    "url": "https://fr.cybo.com/DZ/tiaret/pizza/",
                    "desc": "Meilleur Pizza à Tiaret, Wilaya de Tiaret. Pizzeria nasri, Celtics, Pizzeria Jumeaux, Pizzeria Milano, Pizzeria la flamme, Pizzeria kader spéciale, Opéra pâtisserie pizzeria, Repas Gourmand, La Nova, …",
                    "title": "Pizza dans Tiaret, Wilaya de Tiaret - Cybo",
                    "url_shown": "https://fr.cybo.com › DZ ›tiaret›pizza",
                    "pos_overall": 3
                },
                {
                    "pos": 4,
                    "url": "https://www.britannica.com/topic/pizza",
                    "desc": "Oct 17, 2025 · Pizza, as we know it today, originated centuries ago in Naples, Italy, where it was crafted as a humble dish for the working class. The classic Neapolitan pizza, known as pizza …",
                    "title": "Pizza | Description, Ingredients, & Types | Britannica",
                    "url_shown": "https://www.britannica.com› topic ›pizza",
                    "pos_overall": 4
                },
                {
                    "pos": 5,
                    "url": "https://www.allrecipes.com/recipes/250/main-dish/pizza/",
                    "desc": "What Is Detroit-Style Pizza — And Why Is It Square? Crusts and toppings so you can make your own at home. Bye-bye, delivery guy!",
                    "title": "Pizza Recipes",
                    "url_shown": "https://www.allrecipes.com › recipes › main-dish ›pizza",
                    "pos_overall": 5
                },
                {
                    "pos": 6,
                    "url": "https://www.bbcgoodfood.com/recipes/pizza-margherita-4-easy-steps",
                    "desc": "Even a novice cook can master the art of perfect pizza with our step-by-step guide. This homemade pizza recipe features a simple pizza dough and toppings.",
                    "title": "Pizza Margherita in 4 easy steps recipe | Good Food",
                    "url_shown": "https://www.bbcgoodfood.com› recipes",
                    "pos_overall": 6
                },
                {
                    "pos": 7,
                    "url": "https://rentechdigital.com/smartscraper/business-report-details/algeria/list-of-pizza-restaurants-in-tiaret-province",
                    "desc": "There are 47 Pizza restaurants in Tiaret Province as of December 1, 2024; which is an 20.00% increase from 2023. The top three cities with the most Pizza restaurants are Tiaret with 43 Pizza …",
                    "title": "List Of Pizza restaurants in Tiaret Province",
                    "url_shown": "https://rentechdigital.com › ... › algeria › list-of-pizza-restaurants-in-tiaret-province",
                    "pos_overall": 7
                },
                {
                    "pos": 8,
                    "url": "https://zaubee.com/biz/miam-s-1b203125",
                    "desc": "Miam's - Pizza restaurant in Tiaret. Get directions, read reviews, and find contact information on ZAUBEE.",
                    "title": "Miam's - Pizza restaurant in Tiaret | ZAUBEE",
                    "url_shown": "https://zaubee.com › biz",
                    "pos_overall": 8
                },
                {
                    "pos": 9,
                    "url": "https://www.tiktok.com/@fratelli.food1/video/7524098760201342214",
                    "desc": "Découvrez la qualité exceptionnelle de la pizza chez Fratelli à Tiaret. Commandez maintenant pour une expérience délicieuse! #fratelli #restaurant #pizza #tiaret",
                    "title": "Fratelli: Meilleure Pizzeria à Tiaret | TikTok",
                    "url_shown": "https://www.tiktok.com › video",
                    "pos_overall": 9
                },
                {
                    "pos": 10,
                    "url": "https://www.acouplecooks.com/homemade-pizza/",
                    "desc": "Mar 1, 2022 · There are several ways to make homemade pizza. The basic idea: pick your dough, pick your sauce and pick your …",
                    "title": "The Best Homemade Pizza (Really.) – A Couple Cooks",
                    "url_shown": "https://www.acouplecooks.com › homemade-pizza",
                    "pos_overall": 10
                }
            ]
        },
        "parse_status_code": 12000
    },
    "errors": [],
    "status_code": 12000,
    "task_id": "7396921531667862529"
}

Support

Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.