# Get a TikTok user profile

`GET https://api.tiksign.com/api/v1/web/user/profile`

- Price: 50 VND / call
- Available
- Last updated: 2026-10-17

Returns the public data of a TikTok account by user name.

Every call uses exactly the cookie that you send in `X-TikTok-Cookie` — the service keeps no TikTok sessions.

## Authorization

- `X-API-Key: YOUR_API_KEY`
- `Authorization: Bearer YOUR_API_KEY`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `unique_id` | Query | `string` | Required | TikTok user name (without @). |
| `X-TikTok-Cookie` | Header | `string` | Required | Your TikTok web session cookie (copied from the logged-in browser). The service keeps no sessions — every call uses exactly the cookie that you send. If you pass your own cookie/device, cookie, x-tt-token, device_id and install_id must all match (same session and device); mismatches return an empty body or an error_code. |

## Responses

### 200

Success.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | `string` | Required | TikTok user ID. |
| `unique_id` | `string` | Required | User name (without @). |
| `nickname` | `string` | Required | Display name. |
| `follower_count` | `integer` | Required | Number of followers. |
| `following_count` | `integer` | Required | Number of accounts that the user follows. |
| `video_count` | `integer` | Required | Number of videos that the user posted. |
| `verified` | `boolean` | Required | The account is verified. |

```json
{
  "user_id": "6812345678901234567",
  "unique_id": "tiksign",
  "nickname": "TikSign",
  "follower_count": 12840,
  "following_count": 32,
  "video_count": 87,
  "verified": false
}
```

## Errors

- **401**: The API key is missing, wrong, or revoked.
- **402**: The wallet balance is too low for the call.
- **404**: The data was not found.
- **429**: You are over the requests per second of your plan. Wait for the time in the `Retry-After` header.

## Request example

```bash
curl -X GET 'https://api.tiksign.com/api/v1/web/user/profile?unique_id=tiksign' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'X-TikTok-Cookie: ttwid=…; s_v_web_id=…; msToken=…; sessionid=…'
```

```javascript
const response = await fetch("https://api.tiksign.com/api/v1/web/user/profile?unique_id=tiksign", {
  method: "GET",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "X-TikTok-Cookie": "ttwid=…; s_v_web_id=…; msToken=…; sessionid=…",
  },
});
const data = await response.json();
console.log(response.status, data);
```

```python
import requests

response = requests.get(
    "https://api.tiksign.com/api/v1/web/user/profile?unique_id=tiksign",
    headers={
        "X-API-Key": "YOUR_API_KEY",
        "X-TikTok-Cookie": "ttwid=…; s_v_web_id=…; msToken=…; sessionid=…",
    },
    timeout=10,
)
print(response.status_code, response.json())
```

```go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, err := http.NewRequest("GET", "https://api.tiksign.com/api/v1/web/user/profile?unique_id=tiksign", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", "YOUR_API_KEY")
	req.Header.Set("X-TikTok-Cookie", "ttwid=…; s_v_web_id=…; msToken=…; sessionid=…")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	data, err := io.ReadAll(res.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(res.StatusCode, string(data))
}
```
