If you want to import news automatically into your WordPress website or build a news-based application, you’ll need a Bing News Search API Key.
This API allows your website or plugin to fetch real-time news articles, headlines, and updates directly from Microsoft Bing.
In this guide, you’ll learn exactly how to create your API key using Microsoft Azure.
📌 What is Bing News Search API?
The Bing News Search API is a service provided by Microsoft Azure that lets developers fetch news from trusted sources worldwide.
With this API, you can:
- Fetch latest news articles automatically
- Filter by keywords, country, or category
- Build news websites or aggregation tools
- Integrate with WordPress plugins (like automation tools)
🚀 Step-by-Step: Create Bing News Search API Key
🧾 Step 1: Create or Login to Azure Account
Go to the Azure portal and sign in:
👉 If you don’t have an account, create one (free trial available).
➕ Step 2: Add New Resource
Once logged in:
- Click “Create a resource”
- Or click “+ Add” from dashboard
🔍 Step 3: Search for Bing Search API
In the marketplace search:
- Type “Bing Search”
- Select Bing Search v7 (or latest available)
👉 Bing APIs are now managed via Azure Marketplace resources.
⚙️ Step 4: Create the Resource
Click Create and fill required details:
- Subscription
- Resource Group
- Pricing Tier (Free tier available)
- Resource Name
Then click:
👉 Review + Create → Create
⏳ Step 5: Wait for Deployment
Azure will deploy your resource automatically.
- This usually takes 1–2 minutes
🔑 Step 6: Get Your API Key
After deployment:
- Open your resource
- Go to “Keys and Endpoint” section
- Copy:
- Key 1 or Key 2
- Endpoint URL
👉 These keys are used to authenticate your API requests.
⚙️ Step 7: Use API Key in Your Application
Example usage (Node.js / API request):
Headers:
Ocp-Apim-Subscription-Key: YOUR_API_KEY
👉 This will return structured news data (JSON format) from Bing.
🔁 Using in WordPress (Automation Plugins)
If you are using a plugin like WP Stacy or any auto-import tool:
- Go to plugin settings
- Paste your:
- API Key
- Save settings
- Start importing news automatically
⚠️ Important Notes
- Keep your API key private
- Do not expose it in frontend code
- Monitor usage (Azure billing applies beyond free tier)
- You can regenerate keys anytime
❗ Common Issues & Fixes
❌ API Not Working
- Check API key is correct
- Verify resource is active
❌ No Data Returned
- Check query parameter (q=keyword)
- Confirm endpoint URL
❌ Permission Error
- Ensure subscription is active
- Check Azure billing status
🎯 Final Thoughts
Creating a Bing News API key is simple and opens powerful possibilities:
✔ Build automated news websites
✔ Fetch real-time updates
✔ Integrate with WordPress easily
✔ Create custom dashboards or tools
Once connected, your system can run fully automated news imports.
