On May 21, Bing published a blog post and explained how to submit URLs through API. It’s a good news for SEOs and Webmasters that you don’t need to wait for BingBot to crawl your website and index pages.
You can just submit those links to Bing to get your content immediately indexed as soon as your content is published! They also published a step by step by guide for how to set-up the adaptive URL submission API.
Bing said that “In the last few months we have seen rapid adoption of this capability with thousands of websites submitting millions of URLs and getting them indexed on Bing instantly.“
Step 1: Generate an API Key
Webmasters need an API key to be able to access and use Bing Webmaster APIs. This API key can be generated from Bing Webmaster Tools by following these steps:
- Sign in to your account on Bing Webmaster Tools. In case you do not already have a Bing Webmaster account, sign up today using any Microsoft, Google or Facebook ID.
- Add & verify the site that you want to submit URL for through the API, if not already done.
- Select and open any verified site through the My Sites page on Bing Webmaster Tools and click on Webmaster API on the left-hand side navigation menu.
- If you are generating the API key for the first time, please click Generate to create an API Key. Else you will see the key previously generated.
Note: Only one API key can be generated per user. You can change your API key anytime; change is taken by the system within 30 minutes.
Step 2: Integrate with your website
You can any of the below protocols to easily integrate the Submit URL API into your system.
JSON Request Sample
Content-Type: application/json; charset=utf-8
XML Request Sample
POST /webmaster/api.svc/pox/SubmitUrl?apikey=sampleapikey341CC57365E075EBC8B6 HTTP/1.1
Content-Type: application/xml; charset=utf-8
If the URL submission is successful then you will receive an http 200 response. This ensures that your pages will be discovered for indexing. If Bing webmaster guidelines are met then the pages will be crawled and indexed in real time.
If you have any trouble during the integration, you can reach out email@example.com to raise a service ticket.