How to scrape Microsoft
Microsoft is a news and finance site where you can access public articles and related content. Developers typically collect article metadata, publication details, and site structure information from its public pages.
Ujeebu scrapes any public website. Not listed here? Try any URL in the Playground or ask us about a site.
6 of 6 of our checks passed in the last 7 days (100%).
Last check 2026-12-03 15:25 UTC · last pass 2026-12-03 15:25 UTC · checked with our own requests, never customer data.
Extract API one call
Microsoft articles as JSON with the Extract API
- title
- author
- pub_date
- text
- html
- images
curl -G 'https://api.ujeebu.com/extract' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/'
Send any Microsoft article URL. The answer is {"article": {...}}: title, author, dates, the full text and HTML, images and the site name. Successful responses cost credits; blocked, timed-out and failed requests are free.
Run the code on this page with your own key: 5,000 free credits for 21 days, no card. Get a free API key →
Articles: the Extract API
Send any Microsoft article URL to the Extract API and get the article itself: title, author, publication and update dates, the full text and HTML, the images and the site name, with no rules to write.
One call: GET /extract 5 credits an article
curl -G 'https://api.ujeebu.com/extract' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/'
The answer is {"article": {...}}; the Ujb-Credits header gives the cost. Try it in the Playground
What the answer holds
| Field | Type | Example |
|---|---|---|
article.title | text | Copilot in Visual Studio Just Got a Major Upgrade - Visual Studio Blog |
article.author | text | Dalia Abo Sheasha |
article.pub_date | date | 2026-11-10 00:00:00 |
article.modified_date | date | 2026-11-10 00:00:00 |
article.summary | text | Copilot Chat in Visual Studio just got a new engine. Starting with Visual Studio 2026 version 18.12, it runs on the Micr... |
article.text | text | Copilot Chat in Visual Studio just got a new engine. Starting with Visual Studio 2026 version 18.12, it runs on the Micr... |
article.html | HTML | <p><strong>Copilot Chat in Visual Studio just got a new engine. </strong>Starting with Visual Studio 2026 version 18.12,... |
article.image | image URL | https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/11/NewChat-NewWindow.webp |
article.images | list of image URLs | null |
article.language | code | en |
article.site_name | text | Visual Studio Blog |
article.url | URL | https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/ |
article.canonical_url | URL | https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/ |
article.is_article | number | 1 |
article.favicon | URL | https://devblogs.microsoft.com/visualstudio/wp-content/themes/devblogs-evo/images/favicon/favicon-512.png?ver=1789493481 |
Sample output (real call on 2026-12-03, trimmed)
{
"article": {
"title": "Copilot in Visual Studio Just Got a Major Upgrade - Visual Studio Blog",
"author": "Dalia Abo Sheasha",
"pub_date": "2026-11-10 00:00:00",
"modified_date": "2026-11-10 00:00:00",
"summary": "Copilot Chat in Visual Studio just got a new engine. Starting with Visual Studio 2026 version 18.12, it runs on the Microsoft Copilot SDK developed by Copilot in Visual Studio now runs on the Copilot SDK and harness: same model, more C# tasks solved, plus mid-task steering and built-in agents.",
"text": "Copilot Chat in Visual Studio just got a new engine. Starting with Visual Studio 2026 version 18.12, it runs on the Microsoft Copilot SDK developed by GitHub, the same technology powering GitHub Copilot CLI, the GitHub Copilot app, and VS Code. It’s on by default, and it’s a major upgrade: same models, more tasks solve...",
"html": "<p><strong>Copilot Chat in Visual Studio just got a new engine. </strong>Starting with Visual Studio 2026 version 18.12, it runs on the Microsoft Copilot SDK de...",
"image": "https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2026/11/NewChat-NewWindow.webp",
"images": null,
"language": "en",
"site_name": "Visual Studio Blog",
"url": "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/",
"canonical_url": "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/",
"is_article": 1,
"favicon": "https://devblogs.microsoft.com/visualstudio/wp-content/themes/devblogs-evo/images/favicon/favicon-512.png?ver=1789493481"
}
}
Code
Complete scripts: set the UJEEBU_API_KEY environment variable and run them as they are. Each one makes the call above and prints the main fields of the answer, and prints the credits the request cost (the Ujb-Credits response header) on stderr. A non-200 answer stops the script with the API's error message.
Articles (Extract API)
Extracts the article above and prints its title, author, date and the start of its text.
pip install ujeebu-python==0.1.5 # Extract a Microsoft article with the Ujeebu Extract API.
# GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
# Uses the official SDK ujeebu-python 0.1.5: pip install ujeebu-python==0.1.5
# Run: UJEEBU_API_KEY=your_key python3 microsoft_article_sdk.py
import json
import os
import sys
import requests
from ujeebu_python import UjeebuClient
API_KEY = os.environ.get("UJEEBU_API_KEY")
URL = "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/"
PARAMS = {} # a query string: booleans as "true"
if not API_KEY:
sys.exit("Set the UJEEBU_API_KEY environment variable.")
client = UjeebuClient(api_key=API_KEY)
try:
response = client.extract(URL, params=PARAMS)
except requests.RequestException as error:
sys.exit(f"Request failed: {error}")
if response.status_code != 200:
try:
message = response.json().get("message", response.text)
except ValueError:
message = response.text
sys.exit(f"HTTP {response.status_code}: {str(message)[:300]}")
print(f"Ujb-Credits: {response.headers.get('Ujb-Credits')}", file=sys.stderr)
article = response.json()["article"]
print(article.get("title"))
print(article.get("author"), article.get("pub_date"))
print((article.get("text") or "")[:500])
# every field: print(json.dumps(article, indent=2, ensure_ascii=False))
npm install @ujeebu-org/ujeebu-sdk@0.1.2 // Extract a Microsoft article with the Ujeebu Extract API.
// GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
// Uses the official SDK @ujeebu-org/ujeebu-sdk 0.1.2: npm install @ujeebu-org/ujeebu-sdk@0.1.2
// Run: UJEEBU_API_KEY=your_key node microsoft_article_sdk.mjs
import { UjeebuClient } from '@ujeebu-org/ujeebu-sdk';
const API_KEY = process.env.UJEEBU_API_KEY;
const ARTICLE_URL = "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/";
const PARAMS = {};
if (!API_KEY) {
console.error('Set the UJEEBU_API_KEY environment variable.');
process.exit(1);
}
const client = new UjeebuClient(API_KEY);
// client.extract POSTs the URL and the parameters to /extract as JSON
let res;
try {
res = await client.extract(ARTICLE_URL, PARAMS);
} catch (err) {
const status = err.response?.status ?? 'error';
const message = err.response?.data?.message ?? err.message;
console.error(`HTTP ${status}: ${String(message).slice(0, 300)}`);
process.exit(1);
}
console.error(`Ujb-Credits: ${res.headers['ujb-credits']}`);
const { article } = res.data;
console.log(article.title);
console.log(article.author, article.pub_date);
console.log((article.text ?? '').slice(0, 500));
// every field: console.log(JSON.stringify(article, null, 2));
pip install requests # Extract a Microsoft article with the Ujeebu Extract API.
# GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
# Run: UJEEBU_API_KEY=your_key python3 microsoft_article.py (pip install requests)
import json
import os
import sys
import requests
API_URL = "https://api.ujeebu.com/extract"
API_KEY = os.environ.get("UJEEBU_API_KEY")
URL = "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/"
PARAMS = {}
if not API_KEY:
sys.exit("Set the UJEEBU_API_KEY environment variable.")
try:
response = requests.get(API_URL, headers={"ApiKey": API_KEY}, params={"url": URL, **PARAMS}, timeout=180)
except requests.RequestException as error:
sys.exit(f"Request failed: {error}")
if response.status_code != 200:
try:
message = response.json().get("message", response.text)
except ValueError:
message = response.text
sys.exit(f"HTTP {response.status_code}: {str(message)[:300]}")
print(f"Ujb-Credits: {response.headers.get('Ujb-Credits')}", file=sys.stderr)
article = response.json()["article"]
print(article.get("title"))
print(article.get("author"), article.get("pub_date"))
print((article.get("text") or "")[:500])
# every field: print(json.dumps(article, indent=2, ensure_ascii=False))
// Extract a Microsoft article with the Ujeebu Extract API.
// GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
// Run: UJEEBU_API_KEY=your_key node microsoft_article.mjs (Node.js 18 or later)
const API_KEY = process.env.UJEEBU_API_KEY;
const ARTICLE_URL = "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/";
const PARAMS = {};
if (!API_KEY) {
console.error('Set the UJEEBU_API_KEY environment variable.');
process.exit(1);
}
const query = new URLSearchParams({ url: ARTICLE_URL, ...PARAMS });
const res = await fetch(`https://api.ujeebu.com/extract?${query}`, {
headers: { ApiKey: API_KEY },
signal: AbortSignal.timeout(180000),
});
const text = await res.text();
if (res.status !== 200) {
let message = text;
try {
message = JSON.parse(text).message ?? text;
} catch {}
console.error(`HTTP ${res.status}: ${String(message).slice(0, 300)}`);
process.exit(1);
}
console.error(`Ujb-Credits: ${res.headers.get('ujb-credits')}`);
const { article } = JSON.parse(text);
console.log(article.title);
console.log(article.author, article.pub_date);
console.log((article.text ?? '').slice(0, 500));
// every field: console.log(JSON.stringify(article, null, 2));
#!/usr/bin/env bash
# Extract a Microsoft article with the Ujeebu Extract API.
# GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
# Run: UJEEBU_API_KEY=your_key bash microsoft_article.sh (curl 7.76 or later)
set -euo pipefail
curl -sS --fail-with-body --max-time 180 -D headers.txt -G 'https://api.ujeebu.com/extract' \
-H "ApiKey: ${UJEEBU_API_KEY:?Set the UJEEBU_API_KEY environment variable.}" \
--data-urlencode 'url=https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/'
echo
grep -i '^ujb-credits' headers.txt >&2
<?php
// Extract a Microsoft article with the Ujeebu Extract API.
// GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
// Run: UJEEBU_API_KEY=your_key php microsoft_article.php (PHP 7.4 or later with curl)
$apiKey = getenv('UJEEBU_API_KEY') ?: exit("Set the UJEEBU_API_KEY environment variable.\n");
$query = [
'url' => 'https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/',
];
$ch = curl_init('https://api.ujeebu.com/extract?' . http_build_query($query));
$headers = [];
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 180,
CURLOPT_HTTPHEADER => ['ApiKey: ' . $apiKey],
CURLOPT_HEADERFUNCTION => function ($ch, $line) use (&$headers) {
if (strpos($line, ':') !== false) {
[$k, $v] = explode(':', $line, 2);
$headers[strtolower(trim($k))] = trim($v);
}
return strlen($line);
},
]);
$body = curl_exec($ch);
if ($body === false) {
fwrite(STDERR, 'Request failed: ' . curl_error($ch) . "\n");
exit(1);
}
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status !== 200) {
$message = json_decode($body, true)['message'] ?? $body;
fwrite(STDERR, "HTTP $status: " . substr((string) $message, 0, 300) . "\n");
exit(1);
}
fwrite(STDERR, 'Ujb-Credits: ' . ($headers['ujb-credits'] ?? '?') . "\n");
$article = json_decode($body, true)['article'];
echo $article['title'] ?? '', "\n", $article['author'] ?? '', ' ', $article['pub_date'] ?? '', "\n", substr((string) ($article['text'] ?? ''), 0, 500), "\n";
// every field: echo json_encode($article, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), "\n";
go mod init scraper && go get github.com/ujeebu/ujeebu-go@v0.1.8 // Extract a Microsoft article with the Ujeebu Extract API.
// GET /extract with the article URL: the API answers {"article": {...}} with the title, author, dates, full text and HTML, images and site name.
// Uses the official SDK github.com/ujeebu/ujeebu-go v0.1.8: go mod init scraper && go get github.com/ujeebu/ujeebu-go@v0.1.8
// Run: UJEEBU_API_KEY=your_key go run microsoft_article.go
package main
import (
"encoding/json"
"errors"
"fmt"
"os"
"time"
ujeebu "github.com/ujeebu/ujeebu-go"
)
const articleURL = "https://devblogs.microsoft.com/visualstudio/copilot-in-visual-studio-just-got-a-major-upgrade/"
func fail(format string, args ...any) {
fmt.Fprintf(os.Stderr, format+"\n", args...)
os.Exit(1)
}
func short(s string) string {
if len(s) > 300 {
return s[:300]
}
return s
}
func main() {
apiKey := os.Getenv("UJEEBU_API_KEY")
if apiKey == "" {
fail("Set the UJEEBU_API_KEY environment variable.")
}
client, err := ujeebu.NewClient(apiKey, ujeebu.WithTimeout(180*time.Second))
if err != nil {
fail("%v", err)
}
p := ujeebu.ExtractParams{URL: articleURL}
// the int is the credits the request cost (the Ujb-Credits header), not an HTTP status
article, credits, err := client.Extract(p)
if err != nil {
var apiErr *ujeebu.APIError
if errors.As(err, &apiErr) {
fail("HTTP %d: %s", apiErr.StatusCode, short(apiErr.Message))
}
fail("Request failed: %v", err)
}
fmt.Fprintf(os.Stderr, "Ujb-Credits: %d\n", credits)
enc := json.NewEncoder(os.Stdout)
enc.SetEscapeHTML(false)
enc.SetIndent("", " ")
if err := enc.Encode(article); err != nil {
fail("Cannot print the article: %v", err)
}
}
SDK tabs use the official Ujeebu SDKs (ujeebu-python 0.1.5, @ujeebu-org/ujeebu-sdk 0.1.2, github.com/ujeebu/ujeebu-go v0.1.8); there is no PHP SDK, so the PHP tab calls the API with curl. For agents and scripts, the same status and settings are at /scrape/microsoft.json.
Try it yourself
Run this on Microsoft with your own key
Get a free API key, set UJEEBU_API_KEY and run any script above as it is. 5,000 free credits for 21 days, no card.
Settings that work today
From our health checks over the last 7 days: the cheapest settings that return the real page most of the time.
| Endpoint | /scrape |
|---|---|
js | true |
| Cost | up to 5 credits a request (only HTTP 200 and 404 are billed; blocked, timed-out and failed requests are free) |
Collect detail page URLs from listing pages first, then fetch each detail page. Our checks run with JavaScript rendering on (js=true): keep it on.
What people build with Microsoft data
- Media monitoringTrack the articles published on the topics and companies you follow.More on this use case
- Content for AI and RAGCollect headlines, dates and summaries as structured input for search and LLM pipelines.More on this use case
Limits and etiquette
- Public pages only. Pages behind a login, and data shown only to signed-in users, are out of scope.
- Keep the rate modest: fetch pages one after another or with low concurrency, and cache what you already have.
- robots.txt of devblogs.microsoft.com (read 2026-12-03): public pages allowed for generic crawlers; no crawl delay set.
- Read Microsoft's terms of service before you collect data at scale, and do not collect personal data you have no basis to process. This guide is not legal advice.
Questions
Can you scrape Microsoft with Ujeebu?
Yes. 6 of 6 checks of public Microsoft pages passed in the last 7 days with the settings on this page.
Which settings work for Microsoft?
Call /scrape with js=true.
How many credits does a Microsoft request cost?
With these settings a request costs up to 5 credits. Only responses with HTTP 200 or 404 are billed: a blocked or timed-out request is free.
How do I get the full text of Microsoft articles?
Send the article URL to the Extract API (GET /extract?url=<article>). It returns the title, author, publication and update dates, the full text and HTML, the images and the site name as JSON, with no rules to write: 5 credits an article. Only successful responses are billed.
Is it allowed to scrape Microsoft?
Its robots.txt allows generic crawlers on the page types in this guide. Collect public pages only, read Microsoft's terms of service, keep your request rate modest and do not collect personal data you have no basis to process. This is not legal advice.
How fresh is this page?
The status and settings come from our own health checks of microsoft.com, which run around the clock. Last check: 2026-12-03 15:25:22 UTC; last pass: 2026-12-03 15:25:22 UTC.