---
title: "Groups"
description: "List a TikTok creator's playlists."
---

```http
GET | POST /v1/tiktok/groups
```

Send parameters as a query string with `GET`, or as a JSON body with `POST`. Both are equivalent.

## What to Pass

| Pass | Reads | Notes |
|---|---|---|
| `username` or `userId` | The creator's playlists |  |

Pass one source per call. Every identifier also takes the page URL.

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `cursor` | string |  | Opaque cursor from the previous page's `cursor`. Pass it alone for the next page. |
| `limit` | integer 1–30 |  | Items per page, 1–30. |
| `type` | enum |  | playlists (the only list TikTok has). `playlists` |
| `userId` | string |  | Creator secUid. Pass it instead of a username to save the lookup (1 unit instead of 2). |
| `username` | string |  | Creator @handle (with or without @), or the profile URL. |

## Request

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/tiktok/groups?username=tiktok" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ username: "tiktok" });
const res = await fetch(`https://gateway.apinoa.com/v1/tiktok/groups?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/tiktok/groups",
    params={"username": "tiktok"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## Response

Returns [`Page`](/docs/api-reference/sns/response-schema#page) of [`Group`](/docs/api-reference/sns/response-schema#group) in `data`. A real response, shortened: arrays keep their first entries and long text is cut.

```json
{
  "success": true,
  "data": {
    "platform": "tiktok",
    "items": [
      {
        "platform": "tiktok",
        "kind": "list",
        "id": "7681171537575824159",
        "name": "Songs Of The Summer 2026",
        "url": "https://www.tiktok.com/@tiktok/playlist/Songs%20Of%20The%20Summer%202026-7681171537575824159",
        "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-ori…",
        "counts": {
          "posts": 3
        },
        "ext": {
          "mixId": "7681171537575824159",
          "creatorHandle": "tiktok",
          "creatorId": "107955",
          "creatorSecUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
        }
      }
    ]
  }
}
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 400 | `INVALID_CURSOR` | The `cursor` is not one this operation returned. Start again without it. |
| 400 | `INVALID_PARAMS` | A parameter is missing, unknown or out of range. The message names it. |
| 401 | `UNAUTHORIZED` | The `x-api-key` header is missing, or the key is revoked or unknown. |
| 402 | `INSUFFICIENT_BALANCE` | The balance does not cover this call. Top up in the dashboard. |
| 404 | `NOT_FOUND` | The account, post or group does not exist, or is private, deleted or age-restricted. |
| 429 | `MARKETPLACE_SATURATED` | Too many concurrent calls. Retry after the `Retry-After` seconds. |
| 502 | `UPSTREAM_ERROR` | The platform answered with something unusable. Retry with backoff. |

Every code is listed in [Errors](/docs/errors). Failed calls are not billed.

## Pricing

**Price** $0.001 per call, plus $0.001 for each extra call it makes — at most 1 more, so $0.002 in total. [List price](https://apinoa.com/en/pricing); the rate steps down above 1,000 calls a day.
