---
title: "Get Microsoft Store search suggestions for a prefix"
method: GET
path: "/microsoftstore/suggest"
tags: ["Microsoft Store"]
---

# Get Microsoft Store search suggestions for a prefix

`GET /microsoftstore/suggest`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/microsoftstore/suggest`
- Auth: API key in header `x-api-key`

Returns typeahead-style Microsoft Store search suggestions for a partial search term: plain-text completions plus a short list of matching products (id, title, icon, department, and store URL).

## Query parameters

- `prefix` string, required
- `country` string
- `locale` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- MicrosoftstoreSuggestResponseDoc
  - `code` integer
  - `data` MicrosoftstoreSuggestResponse
    - `completions` string[]
    - `prefix` string
    - `products` MicrosoftstoreSuggestedProduct[]
      - `icon_url` string
      - `is_application` boolean
      - `is_game` boolean
      - `media_type` string
      - `product_id` string
      - `title` string
      - `url` string
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
