Skip to main content
The Bing SERP API provides real-time access to structured Bing search results, offering no blocks or CAPTCHAs.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Request Cost and API Credits

Each request to the Bing SERP API consumes API Credits from your account balance.
  • Cost per request: 10 API Credits
  • Credits are deducted only for successful requests.
  • Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/bing/serp?q=Coffee&location=Austin%2CTexas%2CUnited%20States&deviceType=desktop' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
qCoffeeYesSpecify the search term for which you want to scrape the SERP.
locationAustin,Texas,United StatesNoDefines the search’s origin location. For realistic results, set location at the city level. If omitted, the proxy’s location may be used.
lat-NoGPS latitude for the search origin.
lon-NoGPS longitude for the search origin.
mkt-NoThe two-letter country code for the country to search from.
cc-NoThe two-letter country code for the country to search from.
safe-NoAdult Content Filtering option.
filters-NoAllows applying various filters to narrow search results, including date-based options:

- ex1:"ez1" – past 24 hours
- ex1:"ez2" – past week
- ex1:"ez3" – past month

For complex filters, run a Bing search and copy the filters parameter from the URL.
deviceTypedesktopNoSpecify the device type for the search.
first-NoThis parameter specifies the number of search results to skip and is used for implementing pagination. For example, a value of 1 (default) indicates the first page of results, 11 refers to the second page, and 21 to the third page.
count-NoNumber of results per page, ranging from 1 to 50.