# Komputronik Suggest API Documentation

<p><strong>Komputronik Suggest API Documentation</strong> Turn search words into public product ids, category ids and search-filter slugs. Pass a returned entity id and slug into search as <entityId>/<slug>, or pass a product id into product. Cost: 1 credit per successful request with results. Empty, failed and validation responses are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/komputronik-api/komputronik_suggest](https://scrappa.co/docs/komputronik-api/komputronik_suggest)
- **API group:** Komputronik API
- **Endpoint:** `GET https://scrappa.co/api/komputronik/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 | Search words, for example rtx 5070. |

## Example response

```json
{
    "data": {
        "query": "rtx 5070",
        "suggestions": {
            "terms": [],
            "entities": [
                {
                    "id": 984,
                    "url": "/search-filter/984/rtx-5070.html"
                }
            ],
            "products": [
                {
                    "id": 1030508,
                    "title": "RTX 5070"
                }
            ],
            "producers": []
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "suggest"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The query is missing. Not billed. |
| 503 | Egress Unavailable | No healthy upstream lease. Retry. Not billed. |

## 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)
