# How should I reconcile Douyin sec_uid and uid?

How should I reconcile Douyin sec_uid and uid? Follow concrete contracts, examples and reviewable steps using Douyin.

Canonical page: https://datanavoapi.com/en/answers/douyin-sec-uid-to-uid/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## Answer

Start by inspecting the contracts and local samples for Douyin user profile. Establish the input for douyin.users.get, then check whether its account object contains the fields your task needs.

Treat identifiers as typed values: content, account, comment and share-link identifiers are not interchangeable. Preserve the original string instead of converting large IDs to JavaScript numbers, and submit only fields explicitly defined by the contract.

## Relevant contracts

| Capability | Object | Shape | Pagination |

| --- | --- | --- | --- |

| douyin.users.get | Account | item | No cursor |

- [Douyin user profile](https://datanavoapi.com/en/apis/douyin/users/get/)

## Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

- GET: supply exactly one of id / url.

| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |

| --- | --- | --- | --- | --- | --- | --- |

| GET | id | string | Optional / conditional | Account ID (the sec_uid, the string that starts with MS4w). With only a profile link or a share text, give it as url | — | "MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8" |

| GET | url | string | Optional / conditional | Link to the profile, pasted as it is: the https://www.douyin.com/user/… web link, the page a share opens on a phone, the v.douyin.com short link the app copies, or a whole share text with one of these in it. A short link is opened once to see which account it leads to | — | — |

| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |

| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## Complete one verification

Run one local fixture for a listed capability and inspect the object structure. Then filter, classify or export according to the question. A local sample cannot replace evidence for a real-platform conclusion.

```json
{
  "capability": "douyin.users.get",
  "method": "GET",
  "params": {
    "id": "MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"
  }
}
```

## Related pages

- [Douyin user profile](https://datanavoapi.com/en/apis/douyin/users/get/)
- [Douyin APIs](https://datanavoapi.com/en/apis/douyin/)
- [Douyin MCP](https://datanavoapi.com/en/mcp/douyin/)
- [Account fields](https://datanavoapi.com/en/docs/objects/account/)
- [Query Douyin videos and accounts with Python](https://datanavoapi.com/en/guides/douyin-api-python/)
- [Account review workflow](https://datanavoapi.com/en/skills/account-audit/)
- [How can AI assist an account review?](https://datanavoapi.com/en/answers/ai-account-audit-and-review/)
- [How should I separate Douyin account, storefront and live data?](https://datanavoapi.com/en/answers/douyin-account-showcase-live-selling/)

[中文](https://datanavoapi.com/answers/douyin-sec-uid-to-uid/)
