Microsoft Store charts by category
A Microsoft Store chart for apps or games, overall or in one category: top free, top paid, best selling, best rated or deals. Each product has id, title, type, publisher, link, categories, rating and rating count, price, display price, list price, release date, game/PWA/Android flags, package family names, age rating, description, icon and poster. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
type | apps | games | apps or games. Default apps. Example: apps |
category | string | Store category name. Apps: Books & reference, Business, Developer tools, Education, Entertainment, Health & fitness, Lifestyle, Music, Navigation & maps, News & weather, Personal finance, Personalization, Photo & video, Productivity, Security, Shopping, Social, Sports, Travel, Utilities & tools and others. Games: Action & adventure, Card & board, Family & kids, Puzzle & trivia, Racing & flying, Role playing, Shooter, Simulation, Sports, Strategy and others. Default: all. Example: Productivity |
list | top_free | top_paid | best_selling | best_rated | deals | Which chart. Default top_free. Example: top_free |
page | integer | Page number, from 1. |
limit | integer | Products per page, 1-60. Default 24. |
market | string | Two-letter market (country) code. Default US. |
language | string | Language, e.g. en-US, de-DE. Default en-<market>. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/microsoft-store/v1/category?type=apps" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/microsoft-store/v1/category",
params={"type": "apps"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/microsoft-store/v1/category");
url.searchParams.set("type", "apps");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).