Bing SERP API Documentation
Retrieve Bing search engine results in structured JSON format using the VebAPI SERP endpoint. This API supports query-based Bing search scraping with geolocation, device type, pagination, and domain targeting.
Endpoint
GET https://vebapi.com/api/serp/bing
Headers
| Header |
Required |
Description |
X-API-KEY |
Yes |
Your VebAPI authentication key. |
Content-Type |
Yes |
Set to application/json. |
Query Parameters
| Parameter |
Type |
Required |
Description |
Example |
q |
string |
Yes |
Search keyword or phrase. |
laptop |
geo |
string |
No |
Country or region to localize the search results. |
india |
device_type |
string |
No |
Device/browser profile used for the search request. |
desktop_chrome |
page_number |
integer |
No |
Page number of Bing search results to fetch. |
1 |
domain |
string |
No |
Target Bing domain extension. |
com |
Example Request
curl -X GET "https://vebapi.com/api/serp/bing?q=laptop&geo=india&device_type=desktop_chrome&page_number=1&domain=com" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json"
Example Response
{
"engine": "Vebapi v8",
"node": "master",
"provider": "vebapi.com",
"request": {
"target": "bing-search",
"query": "laptop",
"geo": "india",
"device_type": "desktop_chrome"
},
"results": {
"results": [
{
"content": {
"results": {
"page": 1,
"parse_status_code": 12000,
"results": {
"organic": [
{
"desc": "Buy Laptops for students, gaming, business from HP, Apple, Asus, Samsung, Lenovo, Samsung, MSI etc with latest processors, long battery life, and amazing …",
"pos": 1,
"pos_overall": 1,
"title": "Laptops : Find Latest Models, Top Brands | Flipkart",
"url": "https://www.flipkart.com/laptops-store",
"url_shown": "https://www.flipkart.com›laptops-store"
}
],
"paid": []
},
"url": "https://www.bing.com/search?q=laptop&cc=in"
},
"errors": [],
"status_code": 12000,
"task_id": "7440476410822564865"
},
"headers": [],
"status_code": 200,
"query": "laptop",
"task_id": "7440476410822564865",
"created_at": "2026-03-19 19:16:53",
"updated_at": "2026-03-19 19:17:03"
}
]
}
}
Response Structure
Top-Level Fields
| Field |
Type |
Description |
engine |
string |
Internal engine version used to process the request. |
node |
string |
Processing node name. |
provider |
string |
API provider domain. |
request |
object |
Echoes normalized request details. |
results |
object |
Contains parsed Bing SERP data. |
Request Object
| Field |
Type |
Description |
target |
string |
The search target identifier. For this endpoint it is bing-search. |
query |
string |
The keyword sent to Bing. |
geo |
string |
Search region used for localization. |
device_type |
string |
Browser/device profile used during scraping. |
SERP Result Item
| Field |
Type |
Description |
content.results.page |
integer |
The Bing results page number returned. |
content.results.parse_status_code |
integer |
Parser status code for the SERP extraction. |
content.results.results.organic |
array |
List of organic search results. |
content.results.results.paid |
array |
List of paid search ads if available. |
content.results.url |
string |
The final Bing search URL used for the request. |
content.errors |
array |
Any parsing or processing errors. |
content.status_code |
integer |
Internal task status code. |
task_id |
string |
Unique identifier for the scraping task. |
created_at |
datetime |
Task creation timestamp. |
updated_at |
datetime |
Task last update timestamp. |
Organic Result Object
| Field |
Type |
Description |
title |
string |
Result title shown in Bing. |
desc |
string |
Short result snippet or description. |
url |
string |
Final destination URL. |
url_shown |
string |
Display URL as shown on the search results page. |
pos |
integer |
Position within the current result block. |
pos_overall |
integer |
Overall ranking position on the page. |
Success Response Notes
- A successful API request returns HTTP status
200.
- Organic results are available under
results.results[0].content.results.results.organic.
- Paid ads, when available, are returned under
results.results[0].content.results.results.paid.
- The original Bing URL used for scraping is included for debugging and verification.
- Each request includes a unique
task_id for internal traceability.
Sample Parsing Path
results.results[0].content.results.results.organic
Use the path above to directly access the array of organic Bing results in your application.
PHP Example
<?php
$apiKey = 'YOUR_API_KEY';
$url = 'https://vebapi.com/api/serp/bing?q=laptop&geo=india&device_type=desktop_chrome&page_number=1&domain=com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'X-API-KEY: ' . $apiKey,
'Content-Type: application/json'
],
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
Use Cases
- Track Bing organic rankings for keywords.
- Build SERP analytics dashboards.
- Monitor localized search results by country.
- Extract titles, snippets, URLs, and ranking positions.
- Compare desktop search output across different pages.