> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Profiles

> Collect public TikTok profile metadata and statistics.

# TikTok Profiles

Collect one normalized profile record for each public username. A leading `@` is optional.

```json theme={"system"}
{
  "usernames": ["example", "@creator"]
}
```

## Use with MCP

| Interface      | Value                                             |
| -------------- | ------------------------------------------------- |
| REST           | `POST /v1/tiktok/profiles`                        |
| Compact MCP    | `socq_execute` with `endpoint: "tiktok/profiles"` |
| Typed MCP      | `socq_tiktok_profiles`                            |
| Exact-tool URL | `https://api.socq.ai/mcp?tools=tiktok_profiles`   |
| CLI            | `socq tiktok profiles`                            |

Use the JSON request body above as the nested `input` object for `socq_execute`, or pass the same fields directly to the typed tool. Typed tools also accept `_wait_seconds`, `_result_limit`, and `_idempotency_key`.

<Info>
  A successful collection returns a `task_id`. Continue with `socq_get_task` until the task succeeds, then read normalized records from `results.items`.
</Info>

See [MCP quickstart](/integrations/mcp) for the complete submission and polling flow.

## Result Item

```json theme={"system"}
{
  "id": "6784642169778881542",
  "platform": "tiktok",
  "resource": "profiles",
  "type": "profile",
  "username": "example",
  "name": "Example Creator",
  "url": "https://www.tiktok.com/@example",
  "description": "Public profile description",
  "avatar_url": "https://example.com/avatar.jpg",
  "is_verified": false,
  "is_private": false,
  "metrics": {
    "followers_count": 12500,
    "following_count": 120,
    "videos_count": 48,
    "likes_count": 98000
  },
  "created_at": null,
  "collected_at": "2026-07-15T10:30:00",
  "extra": {}
}
```

Private, unavailable, or empty profiles may produce no result record.


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/tiktok/profiles
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-063d1c96173a
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/tiktok/profiles:
    post:
      tags:
        - tiktok
      summary: TikTok Profiles API
      description: TikTok Profiles API
      operationId: socq_tiktok_profiles
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                usernames:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  description: Public account usernames.
              required:
                - usernames
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````