Bing SERP
Extract Bing search results — organic links, video results, news, and related search suggestions.
API usage
Add &scraper=bing-serp to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.bing.com/search?q=iphone' \
--data-urlencode 'scraper=bing-serp' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.bing.com/search?q=iphone',
{'scraper': 'bing-serp'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.bing.com/search?q=iphone',
{ scraper: 'bing-serp' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.bing.com/search?q=iphone', scraper: 'bing-serp')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.bing.com/search?q=iphoneResponse shape
JSON response body. Field types may be null when the source page omits the value.
Search query.
Total result count.
Organic result objects.
Result title.
Destination URL.
Snippet.
Position (1-indexed).
Video results.
Related queries.
Sample response
{
"query": "iphone",
"organic": [
{
"title": "iPhone - Apple",
"url": "https://www.apple.com/iphone/",
"snippet": "Discover the new iPhone...",
"position": 1
}
],
"related_searches": ["iphone 15", "iphone pro"]
}
