> For the complete documentation index, see [llms.txt](https://help.gsctool.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.gsctool.com/features/bing-webmaster-tools/how-to-get-bing-webmaster-tools-api-key.md).

# 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="/files/WQMFgQoK7swrCSwFZtmf" 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="/files/vcGTB8qzXHFPGUsHcCsF" 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="/files/ZB5I3PAb5shCdxH7wP9Y" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
