Wednesday, 8 June 2016

HOW TO use Bing Search v5 API with JavaScript

Taking off from the single basic JavaScript sample on the newly minted version 5 of Bing Search API, I put together a couple of samples of my own. You'll have to sign-up for a free key from Microsoft Cognitive Services to replace in the code samples to try them & also experiment with all the other APIs that are available



Bing Search API gets not just web search results but also image, news, & videos results for a given query and allows up to 1,000 free transactions per month across all Bing Search APIs

Google Custom Search API has a few additional steps & provides 100 search queries per day for free

This comparison of version 2 and 5 highlights the improvements -
Category Featurev2v5
Web SearchREST API xx
Related searchesxx
Ranked Answers
(image, video, news, math, time)
x
Deep links (for first web page result)x
Adult intent signalx
Image SearchREST API xx
Enhanced filters: image size, license, stylex
Visually similar images and productsx
Merchant and recipe sources
(for product and food images)
x
Trending imagesx
Entity recognition (for people)x
Computer-generated captionsx
Video SearchREST API xx
Video previews (motion thumbnails)x
Enhanced video metadata
(creator, resolution, view count)
x
Free / Paid video filterx
Trending videosx
News searchREST API xx
News articles by category or marketxx
Trending news (general or by category)x
Enhanced article metadata, including featured entities
Spell CheckREST API x
Autosuggest REST APIx
GeneralLocation and market awarenessxx
Spelling suggestions xx
Safe searchxx
Related searchesxx
Continuous relevance improvementsx
Ongoing support and feature improvementsx

Related: Google vs. Microsoft Bing Search APIs: A Detailed Comparison

No comments:

Post a Comment