# Rakuten Suggest API Documentation

<p><strong>Rakuten Suggest API Documentation</strong> Get search suggestions from Rakuten Ichiba for the start of a keyword. Use it to find the Japanese spelling of products and brands before you call the search endpoint. Cost: 1 credit per request. An empty suggestion list and failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/rakuten-api/rakuten_suggest](https://scrappa.co/docs/rakuten-api/rakuten_suggest)
- **API group:** Rakuten API
- **Endpoint:** `GET https://scrappa.co/api/rakuten/suggest`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | The start of a search, 1 to 80 characters, e.g. マス. |

## Example response

```json
{
    "data": {
        "query": "\u30de\u30b9",
        "suggestions": [
            {
                "text": "\u30de\u30b9\u30af",
                "type": "keyword"
            },
            {
                "text": "\u30de\u30b9\u30ab\u30c3\u30c8",
                "type": "keyword"
            },
            {
                "text": "\u30de\u30b9\u30af \u4e0d\u7e54\u5e03",
                "type": "keyword"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "suggest"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | Rakuten did not answer after the internal retries. This response is not billable. Retry after a few seconds. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
