Skip to Content

Search Categories

Categories matching a search, up to 50.

GET
/v1/kick/search/categories

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

query*string

What to search for.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.kick.searchCategories({ query: "grand" });
Example Response
{  "data": [    {      "id": "17657",      "name": "Grand Prix",      "slug": "grand-prix",      "url": "https://kick.com/category/grand-prix",      "description": null,      "coverUrl": "https://files.kick.com/images/subcategories/17657/banner/co6i2b.jpg",      "viewers": 0,      "channels": 0,      "followers": null,      "tags": [        "Racing",        "Arcade",        "Action"      ],      "parent": null,      "mature": false    },    {      "id": "16396",      "name": "Grand Chase",      "slug": "grand-chase",      "url": "https://kick.com/category/grand-chase",      "description": null,      "coverUrl": "https://files.kick.com/images/subcategories/16396/banner/co4uhi.jpg",      "viewers": 0,      "channels": 0,      "followers": null,      "tags": [        "Fighting",        "Platformer",        "RPG"      ],      "parent": null,      "mature": false    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}