Bing Search Result Scraper avatar
Bing Search Result Scraper
Try for free

3 days trial then $15.00/month - No credit card required now

View all Actors
Bing Search Result Scraper

Bing Search Result Scraper

curious_coder/bing-search-scraper
Try for free

3 days trial then $15.00/month - No credit card required now

Bing Search Result Scraper extracts organic and paid results, ads, Related, People Also Ask, News, Videos and Images Answers. Supports all available markets and languages. Download data as HTML table, JSON, CSV, Excel, XML or RSS.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "queries": [
8    "Hotels in NYC",
9    "Restaurants in NYC",
10    "https://www.bing.com/search?q=restaurants+in+NYC"
11  ],
12  "resultsPerPage": 10,
13  "maxPagesPerQuery": 1,
14  "marketCode": "en-US",
15  "languageCode": "en",
16  "proxyConfiguration": {
17    "useApifyProxy": true
18  }
19}
20EOF
21
22# Run the Actor using an HTTP API
23# See the full API reference at https://docs.apify.com/api/v2
24curl "https://api.apify.com/v2/acts/curious_coder~bing-search-scraper/runs?token=$API_TOKEN" \
25  -X POST \
26  -d @input.json \
27  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 14 monthly users
  • 7 stars
  • 99.7% runs succeeded
  • 16 days response time
  • Created in Nov 2021
  • Modified 29 days ago