# Threads on Onekey > 6 endpoints for Threads (0 stable, 6 beta), 1 to 2 credits each. Category: Social networks. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 4 of 6 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/threads Reference (Markdown): https://onekey.dev/docs/api/threads.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 6 mapped Threads endpoints return each: - `author.username` (string): 6 - `content.text` (string): 5 - `engagement.likes` (integer): 5 - `content.createdAt` (ISO 8601 date): 4 - `content.id` (string): 4 - `content.url` (URL): 4 - `engagement.comments` (integer): 4 - `engagement.quotes` (integer): 4 - `engagement.shares` (integer): 4 - `engagement.views` (integer): 4 - `author.avatarUrl` (URL): 2 - `author.displayName` (string): 2 - `author.followers` (integer): 2 - `author.verified` (boolean): 2 - `author.id` (string): 1 ## Endpoints ### threads.post A single Threads post with engagement counts. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/threads/post?id=17900000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Threads media id - Fields returned: `content.id`, `content.text`, `content.createdAt`, `content.url`, `author.username`, `engagement.likes`, `engagement.comments`, `engagement.shares`, `engagement.quotes`, `engagement.views` - Reference: https://onekey.dev/docs/api/threads/post.md ### threads.profile Threads profile lookup: bio, followers, likes, verification. - Price: 2 credits per fresh call. Status: beta. Access: may need a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/threads/profile?handle=zuck` with header `x-api-key: YOUR_API_KEY` - Parameters: - `handle` (string, required): Threads username without @ - Fields returned: `author.username`, `author.displayName`, `content.text`, `author.followers`, `author.avatarUrl`, `author.verified`, `engagement.likes` - Reference: https://onekey.dev/docs/api/threads/profile.md ### threads.replies Replies to a Threads post. - Price: 2 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/threads/replies?id=17900000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Threads media id - Fields returned: `content.id`, `content.text`, `content.createdAt`, `content.url`, `author.username`, `engagement.likes`, `engagement.comments`, `engagement.shares`, `engagement.quotes`, `engagement.views` - Reference: https://onekey.dev/docs/api/threads/replies.md ### threads.search Search public Threads posts by keyword. - Price: 2 credits per fresh call. Status: beta. Access: may need a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/threads/search?q=ai` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.text`, `content.createdAt`, `content.url`, `author.username`, `engagement.likes`, `engagement.comments`, `engagement.shares`, `engagement.quotes`, `engagement.views` - Reference: https://onekey.dev/docs/api/threads/search.md ### threads.search_users Search Threads users. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/threads/search_users?query=coffee` with header `x-api-key: YOUR_API_KEY` - Parameters: - `query` (string, required): Query - Fields returned: `author.id`, `author.username`, `author.displayName`, `author.followers`, `author.verified`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/threads/search_users.md ### threads.user_posts Public threads posted by a user. - Price: 2 credits per fresh call. Status: beta. Access: may need a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/threads/user_posts?handle=zuck` with header `x-api-key: YOUR_API_KEY` - Parameters: - `handle` (string, required): Threads username without @ - Fields returned: `content.id`, `content.text`, `content.createdAt`, `content.url`, `author.username`, `engagement.likes`, `engagement.comments`, `engagement.shares`, `engagement.quotes`, `engagement.views` - Reference: https://onekey.dev/docs/api/threads/user_posts.md ## Sample request ```bash curl "https://api.onekey.dev/v1/threads/post?id=17900000000000000" \ -H "x-api-key: YOUR_API_KEY" ```