GET /v1/autocomplete/category

HTTP Method: GET

Path: /v1/autocomplete/category

Authentication: API Key required

Description: Get suggestions as to how the supplied string can be auto-completed as a category name. The difference between this method and GET /v1/autocomplete/keyword is that this one returns ONLY the category names in our taxonomy and not any related keywords that maybe be synonyms of those categories.

Parameters:

parameter type description Required
str string The parital string that needs auto-completing e.g. rest yes
language string The ISO language code of the supplied string e.g. en for English no

Sample Response:

{
    "success": true,
    "msg": "ok",
    "data": {
        "suggestions": [{
            "name": "antique restoration"
        }, {
            "name": "antique restorers"
        }, {
            "name": "antique restoring"
        }, {
            "name": "cafe restaurant"
        }, {
            "name": "classic car restoration"
        }, {
            "name": "fire & flood restoration"
        }, {
            "name": "floor restoration"
        }, {
            "name": "restaurant"
        }, {
            "name": "vintage car restoration"
        }, {
            "name": "wood floor restoration"
        }]
    }
}

The data element contains an array of suggestions that match your supplied partial string.

Docs Navigation