URL
See how you can start scraping Bing URLs.
The bing source is designed to retrieve the content of direct URLs of various Bing pages. Instead of sending multiple parameters, you can provide us with a direct URL for the required Bing page. We do not strip any parameters or alter your URLs in any other way.
Request samples
In this example, we make a request to retrieve a result for the provided URL.
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "bing",
"url": "https://www.bing.com/search?q=nike"
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'bing',
'url': 'https://www.bing.com/search?q=nike'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with results.
pprint(response.json())We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Request parameter values
source
Sets the scraper.
bing
url
Direct URL (link) to Bing page
-
geo_location
Specifies the location for search results. Supports city, state, country, or coordinate formats. Read more.
-
- mandatory parameter
Last updated
Was this helpful?

