Skip to content
Scrappa Get API key
Alza API 1 credit / request

Alza Autocomplete API Documentation

GET https://scrappa.co/api/alza/autocomplete

Alza Autocomplete API returns public query phrases, categories, producers, products and articles with ids taken from Alza hrefs. Set empty to true for trending and last visited entries. Ids work in the other routes. 1 credit per successful request.

Alza Autocomplete API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/alza/autocomplete
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "phrases": [],
        "categories": [],
        "commodities": []
    },
    "success": true
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

query string Optional

Partial search text

Example value coffee shops
country string Optional

CZ or SK

Example value US
empty boolean Optional

true for trending entries

Example value true

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "phrases": [],
        "categories": [],
        "commodities": []
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

Validation failed

503

HTTP 503

Alza could not be reached

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.