---
title: "Mercari search autocomplete"
method: GET
path: "/mercari/autocomplete"
tags: ["Mercari"]
---

# Mercari search autocomplete

`GET /mercari/autocomplete`

## Request

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

Returns Mercari's own search-suggestion list for a partial keyword, in its own relevance order. An empty suggestion list is a normal outcome for obscure or gibberish input.

## Query parameters

- `query` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- MercariAutocompleteResponseDoc
  - `code` integer
  - `data` MercariAutocompleteResponse
    - `query` string
    - `suggestions` string[]
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `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/0497899e2016?raw)
