Bing Describes How To Submit URLs Via Webmaster API

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
POST /webmaster/api.svc/json/SubmitUrl?
apikey=sampleapikeyEDECC1EA4AE341CC8B6 HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: ssl.bing.com
?{
“siteUrl”:”http:\/\/example.com”,
“url”:”http:\/\/example.com\/url1.html”
}
XML Request Sample
POST /webmaster/api.svc/pox/SubmitUrl?apikey=sampleapikey341CC57365E075EBC8B6 HTTP/1.1
Content-Type: application/xml; charset=utf-8
Host: ssl.bing.com?
?<SubmitUrl xmlns=”http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api”>
<siteUrl>http://example.com</siteUrl>
<url>http://example.com/url1.html</url>
</SubmitUrl>
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 bwtsupport@microsoft.com to raise a service ticket.
Also Read: