# How to get Bing Webmaster Tools API Key

## How to Get an API Key for Bing Webmaster Tools

1. **Sign in** to your Bing Webmaster Tools account. <https://www.bing.com/webmasters>
2. Click on **Settings** (gear icon) at the top right corner.

<figure><img src="https://2680433967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOZZMphgu4vCBIC4xqyqR%2Fuploads%2FPzuGNnpa0e06SDJWd5u8%2FCleanShot%202024-05-09%20at%2017.37.48%402x.png?alt=media&#x26;token=5c00af67-f498-4cbc-958e-c700bfbdfb87" alt="How to Get an API Key for Bing Webmaster Tools"><figcaption><p>How to Get an API Key for Bing Webmaster Tools</p></figcaption></figure>

2. Select **API Access** from the dropdown menu.
3. Click on **API Key**.

<figure><img src="https://2680433967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOZZMphgu4vCBIC4xqyqR%2Fuploads%2FPdLxXJ58FiQu6wqm4wSV%2FCleanShot%202024-05-09%20at%2017.39.54%402x.png?alt=media&#x26;token=1322416f-71ba-4e8a-a1c1-44fdcfe602da" alt="Getting Access to the Bing Webmaster Tools API"><figcaption><p>Getting Access to the Bing Webmaster Tools API</p></figcaption></figure>

4. Once the key is generated, copy and safely store your new API key.

<figure><img src="https://2680433967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOZZMphgu4vCBIC4xqyqR%2Fuploads%2FgYhpA5cjfa6pokXfXP8u%2FCleanShot%202024-05-09%20at%2017.41.37%402x.png?alt=media&#x26;token=607ef137-995c-4b8b-8c51-559c2ff5ac00" alt="GSCTool.com: Bing Webmaster API"><figcaption><p>GSCTool.com: Bing Webmaster API</p></figcaption></figure>

## **Lost or Compromised API Key**

If you believe your API key has been compromised or lost:

1. Navigate to the **Bing Webmaster Tools** and select **Webmaster API**.
2. Click on **Delete** next to your compromised API key.
3. After deletion, click **Generate** to create a new API key.

**Note:** Deleting your old API key will disable all applications using it. Remember to update them with your new API key to restore functionality.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.gsctool.com/features/bing-webmaster-tools/how-to-get-bing-webmaster-tools-api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
