{"openapi":"3.1.0","info":{"title":"Social2api API","version":"1.0.0","description":"Social data queries and console APIs. Each operation links to its endpoint reference."},"servers":[{"url":"/"},{"url":"https://social2api.com"}],"externalDocs":{"description":"Social2api API documentation","url":"https://social2api.com/docs/"},"x-catalog-revision":"4accc976539e30e5","x-price-book":{"version":"22","effectiveAt":"2026-11-25T13:46:46.822Z","sourceUrl":"https://dataxapi.com/prices.json","sourceRevision":"0051cce45e9530b9","openApiSourceUrl":"https://dataxapi.com/openapi.json"},"x-resources":{"openapi":"https://social2api.com/openapi.json","catalog":"https://social2api.com/v1/catalog","prices":"https://social2api.com/prices.json","catalogPricing":"https://social2api.com/pricing-catalog.json","status":"https://social2api.com/api/status","apiCatalog":"https://social2api.com/.well-known/api-catalog","oauth":"https://social2api.com/.well-known/oauth-protected-resource","docs":"https://social2api.com/docs/","agents":"https://social2api.com/agents.md","mcp":"https://social2api.com/mcp","mcpDiscovery":"https://social2api.com/mcp/discovery","evaluation":"https://social2api.com/agent-capabilities.json","trial":"https://social2api.com/api/trial","weeklyReport":"https://social2api.com/api/workflows/chinese-social-weekly-report"},"tags":[{"name":"Query API","description":"Check provider configuration and run a data query."},{"name":"REDnote","description":"Search public notes by keyword."},{"name":"Douyin","description":"Read daily keyword trends."},{"name":"WeChat Channels","description":"Read an account’s public videos and comments."},{"name":"Extended Data API","description":"Discover available methods, paths and platforms."},{"name":"Bilibili API","description":"Query public data from Bilibili."},{"name":"Douyin API","description":"Query public data from Douyin."},{"name":"Facebook API","description":"Query public data from Facebook."},{"name":"Google Ads Transparency Center API","description":"Query public data from Google Ads Transparency Center."},{"name":"Instagram API","description":"Query public data from Instagram."},{"name":"Kuaishou API","description":"Query public data from Kuaishou."},{"name":"LinkedIn API","description":"Query public data from LinkedIn."},{"name":"Meta API","description":"Query public data from Meta."},{"name":"Pinterest API","description":"Query public data from Pinterest."},{"name":"Reddit API","description":"Query public data from Reddit."},{"name":"Telegram API","description":"Query public data from Telegram."},{"name":"Threads API","description":"Query public data from Threads."},{"name":"TikTok API","description":"Query public data from TikTok."},{"name":"WeChat Channels API","description":"Query public data from WeChat Channels."},{"name":"WeChat Official Accounts API","description":"Query public data from WeChat Official Accounts."},{"name":"WeChat Search API","description":"Query public data from WeChat Search."},{"name":"Weibo API","description":"Query public data from Weibo."},{"name":"X API","description":"Query public data from X."},{"name":"REDnote API","description":"Query public data from REDnote."},{"name":"YouTube API","description":"Query public data from YouTube."},{"name":"Zhihu API","description":"Query public data from Zhihu."},{"name":"Account and sign-in","description":"Session, identity and profile operations for the console."},{"name":"Settings and usage","description":"Console preferences, request history, quota and failover."},{"name":"Webhooks","description":"Manage endpoints, deliveries and signing secrets."},{"name":"Service operations","description":"Check service and database availability."}],"paths":{"/api/status":{"get":{"operationId":"status","summary":"Check provider configuration","description":"Read provider configuration, task availability and input caps.\n\nPublic. No sign-in required.\n\nThis response describes configuration. Consult console failover settings for live provider health and cooldowns.","tags":["Query API"],"x-docs-url":"/docs/api/status/","externalDocs":{"url":"https://social2api.com/docs/api/status/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"statusBasis":{"type":"string","description":"The report is based on the current deployment configuration."},"observedAt":{"type":"string","format":"date-time","description":"Time at which the configuration snapshot was generated."},"extended":{"type":"object","properties":{"catalogRevision":{"type":"string","description":"Revision of the extended operation catalog."},"realtimeAvailability":{"type":"null","description":"Realtime availability of extended operations is unmeasured."}}},"providers":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Map of provider IDs to whether a key and at least one task are enabled."},"available":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Whether each task has at least one configured provider."},"accountRequired":{"type":"boolean","description":"Whether this deployment uses the account service to validate live users."},"limits":{"type":"object","properties":{"rednote":{"type":"integer","description":"Maximum number of REDnote notes."},"channels":{"type":"integer","description":"Maximum number of WeChat Channels videos."},"commentsPerVideo":{"type":"integer","description":"Maximum number of comments per video."},"keywords":{"type":"integer","description":"Maximum number of Douyin keywords."}}}}},"example":{"providers":{"tikhub":false,"dataxapi":false,"socialtoai":false},"available":{"rednote":false,"douyin":false,"channels":false},"accountRequired":true,"limits":{"rednote":100,"channels":20,"commentsPerVideo":50,"keywords":20}}}}},"404":{"description":"This path handles GET. Other methods return 404.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/run":{"post":{"operationId":"run","summary":"Run a data query","description":"Run any supported platform task and receive normalized columns, rows, warnings and upstream request count.\n\nRun demos anonymously. Live queries require a console session cookie or a Social2api API key authorized for the task.\n\nAn API key can restrict allowed tasks and set its own daily quota. A live call using a key counts toward both the owning account and that key.\n\nA 200 can include partial results. Keep the rows and inspect warnings before retrying.\n\nDaily quota resets at 00:00 UTC. The server can fail over across configured providers that support the query, sharing one request budget and a 95-second total timeout.\n\nErrors normally include error and requestCount. API key errors additionally include code. A method or origin error returns only error.\n\nThe server handles available upstream pages or keyword batches inside one request. The response has no client cursor.\n\nDemos return synthetic data and make zero upstream requests. Each upstream request sent by a live query counts toward the daily limit, including failures, retries and failover attempts. On social2api.com, each attempt uses one prepaid credit.","tags":["Query API"],"x-docs-url":"/docs/api/run/","externalDocs":{"url":"https://social2api.com/docs/api/run/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task that ran.","const":"rednote"},"mode":{"type":"string","enum":["demo","live"],"description":"Query mode."},"provider":{"type":"string","description":"Provider display name, or the literal 样例数据 in demo mode."},"columns":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Key to look up in a result row."},"label":{"type":"string","description":"Column display name."}}},"description":"Column definitions in display order."},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Note ID at the source."},"title":{"type":"string","description":"Note title."},"author":{"type":"string","description":"Author display name."},"publishedAt":{"type":"string","description":"Publication date or timestamp. Can be empty when it is unavailable."},"likes":{"type":["number","null"],"description":"Like count when available."},"comments":{"type":["number","null"],"description":"Comment count when available."},"snippet":{"type":"string","description":"Note summary or text returned by the source."},"url":{"type":["string","null"],"description":"Source link, possibly empty when unavailable. Null in demos."}}},"description":"Normalized rows. Fields depend on the task."},"warnings":{"type":"array","items":{"type":"string"},"description":"Demo notices and upstream limitations, including partial results."},"requestCount":{"type":"integer","description":"Upstream attempts made by the query. Always 0 for demos."}},"required":["task"]},{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task that ran.","const":"douyin"},"mode":{"type":"string","enum":["demo","live"],"description":"Query mode."},"provider":{"type":"string","description":"Provider display name, or the literal 样例数据 in demo mode."},"columns":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Key to look up in a result row."},"label":{"type":"string","description":"Column display name."}}},"description":"Column definitions in display order."},"rows":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","description":"Keyword represented by the row."},"date":{"type":"string","format":"date","description":"Date represented by the row."},"searchIndex":{"type":["number","null"],"description":"Search index. Null if absent from the source."},"combinedIndex":{"type":["number","null"],"description":"Combined index. Null if absent from the source."}}},"description":"Normalized rows. Fields depend on the task."},"warnings":{"type":"array","items":{"type":"string"},"description":"Demo notices and upstream limitations, including partial results."},"requestCount":{"type":"integer","description":"Upstream attempts made by the query. Always 0 for demos."}},"required":["task"]},{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task that ran.","const":"channels"},"mode":{"type":"string","enum":["demo","live"],"description":"Query mode."},"provider":{"type":"string","description":"Provider display name, or the literal 样例数据 in demo mode."},"columns":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Key to look up in a result row."},"label":{"type":"string","description":"Column display name."}}},"description":"Column definitions in display order."},"rows":{"type":"array","items":{"type":"object","properties":{"videoId":{"type":"string","description":"Source video ID. Group comment rows by this field."},"title":{"type":"string","description":"Video title."},"publishedAt":{"type":"string","description":"Video publication date or timestamp."},"likes":{"type":["number","null"],"description":"Video like count."},"commentCount":{"type":["number","null"],"description":"Source’s total comment count, independent of fetched comments."},"commentText":{"type":"string","description":"Comment text. Empty or omitted when there is no comment."},"commentAuthor":{"type":"string","description":"Comment author display name. Empty or omitted when there is no comment."},"commentPublishedAt":{"type":"string","description":"Comment publication date or timestamp. Empty or omitted when there is no comment."},"url":{"type":["string","null"],"description":"Video link. Null in demos and possibly empty when unavailable."}}},"description":"Normalized rows. Fields depend on the task."},"warnings":{"type":"array","items":{"type":"string"},"description":"Demo notices and upstream limitations, including partial results."},"requestCount":{"type":"integer","description":"Upstream attempts made by the query. Always 0 for demos."}},"required":["task"]}]},"examples":{"rednote":{"summary":"Search public REDnote notes","value":{"task":"rednote","mode":"demo","provider":"样例数据","columns":[{"key":"title","label":"笔记"},{"key":"author","label":"作者"},{"key":"publishedAt","label":"发布时间"},{"key":"likes","label":"点赞"},{"key":"comments","label":"评论"},{"key":"snippet","label":"摘要"},{"key":"url","label":"原帖"},{"key":"id","label":"笔记 ID"}],"rows":[{"id":"demo-note-1","title":"城市骑行｜入门经验整理","author":"周末记录员","publishedAt":"2026-01-15","likes":824,"comments":32,"url":null,"snippet":"示例摘要：从城市骑行的实际场景出发，整理体验和使用建议。"}],"warnings":["这些是合成样例，供查看字段格式和测试导出。"],"requestCount":0}},"douyin":{"summary":"Douyin daily keyword trends","value":{"task":"douyin","mode":"demo","provider":"样例数据","columns":[{"key":"keyword","label":"关键词"},{"key":"date","label":"日期"},{"key":"searchIndex","label":"搜索指数"},{"key":"combinedIndex","label":"综合指数"}],"rows":[{"keyword":"咖啡","date":"2026-01-15","searchIndex":42000,"combinedIndex":51660}],"warnings":["这些是合成样例，供查看字段格式和测试导出。"],"requestCount":0}},"channels":{"summary":"WeChat Channels videos and comments","value":{"task":"channels","mode":"demo","provider":"样例数据","columns":[{"key":"title","label":"视频"},{"key":"publishedAt","label":"发布时间"},{"key":"likes","label":"点赞"},{"key":"commentCount","label":"评论总数"},{"key":"commentText","label":"评论"},{"key":"commentAuthor","label":"评论者"},{"key":"commentPublishedAt","label":"评论时间"},{"key":"url","label":"视频链接"},{"key":"videoId","label":"视频 ID"}],"rows":[{"videoId":"demo-video-1","title":"城市骑行｜本周更新","publishedAt":"2026-01-15","likes":1320,"commentCount":18,"url":null,"commentText":"可以分享一下具体步骤吗？","commentAuthor":"记事本","commentPublishedAt":"2026-01-15"}],"warnings":["这些是合成样例，供查看字段格式和测试导出。"],"requestCount":0}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"An invalid session or invalid_api_key: the supplied key is invalid, expired or revoked.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"Insufficient prepaid live-call credits (insufficient_paid_credits).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"Origin check failed, or api_key_permission_denied: the key lacks permission for the selected task.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"A provider could not find the requested item.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"A live query is already running for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The request body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"An applicable provider could not resolve the target or declined the operation.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"The query budget, account daily quota or API key daily quota (api_key_daily_limit) was reached.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream authorization, response parsing or query execution failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"No provider is available, or an upstream provider is rate limited, out of credit or temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"A request or result wait timed out.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[]},{"apiKeyHeader":[]},{"consoleSession":[]},{"localhostSession":[]},{}],"x-mode-authentication":{"demo":"public","live":["bearerAuth","apiKeyHeader","consoleSession","localhostSession"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task to run.","const":"rednote"},"mode":{"type":"string","enum":["demo","live"],"description":"Select synthetic sample data or live results."},"params":{"type":"object","description":"Task-specific input object. Each platform has its own fields.","properties":{"query":{"type":"string","description":"Trimmed search keyword, 1–120 characters."},"since":{"type":"string","format":"date","description":"Start date, inclusive. Leave blank for no lower bound."},"until":{"type":"string","format":"date","description":"End date, inclusive. Defaults to today when since is set, otherwise no upper bound."},"limit":{"type":"integer","description":"From 1 to 100 notes, default 25."}},"required":["query"]},"maxRequests":{"type":"integer","description":"Live query budget from 1 to 36 upstream attempts, default 36. Ignored in demo mode."}},"required":["task","mode","params"]},{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task to run.","const":"douyin"},"mode":{"type":"string","enum":["demo","live"],"description":"Select synthetic sample data or live results."},"params":{"type":"object","description":"Task-specific input object. Each platform has its own fields.","properties":{"keywords":{"type":"array","items":{"type":"string"},"description":"Provide 1–20 keywords after trimming and deduplication, each up to 40 characters. A keyword cannot contain a comma."},"since":{"type":"string","format":"date","description":"Start date, inclusive. Defaults to 29 days before today."},"until":{"type":"string","format":"date","description":"End date, inclusive. Defaults to today."}},"required":["keywords"]},"maxRequests":{"type":"integer","description":"Live query budget from 1 to 36 upstream attempts, default 36. Ignored in demo mode."}},"required":["task","mode","params"]},{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels"],"description":"Platform task to run.","const":"channels"},"mode":{"type":"string","enum":["demo","live"],"description":"Select synthetic sample data or live results."},"params":{"type":"object","description":"Task-specific input object. Each platform has its own fields.","properties":{"account":{"type":"string","description":"1–400 characters. Use an exact account name, a v2_…@finder account ID, or a full official weixin.qq.com/sph/ share URL. Bare sph identifiers require a configured TikHub provider."},"since":{"type":"string","format":"date","description":"Start date, inclusive. Leave blank for no lower bound."},"until":{"type":"string","format":"date","description":"End date, inclusive. Defaults to today when since is set, otherwise no upper bound."},"limit":{"type":"integer","description":"Maximum videos to return, from 1 to 20, default 10."},"commentsPerVideo":{"type":"integer","description":"Maximum comments per video, from 0 to 50, default 10. Set 0 to retrieve videos only."}},"required":["account"]},"maxRequests":{"type":"integer","description":"Live query budget from 1 to 36 upstream attempts, default 36. Ignored in demo mode."}},"required":["task","mode","params"]}]},"examples":{"rednote":{"summary":"Search public REDnote notes","value":{"task":"rednote","mode":"demo","params":{"query":"城市骑行","since":"2026-01-15","until":"2026-01-15","limit":1}}},"douyin":{"summary":"Douyin daily keyword trends","value":{"task":"douyin","mode":"demo","params":{"keywords":["咖啡"],"since":"2026-01-15","until":"2026-01-15"}}},"channels":{"summary":"WeChat Channels videos and comments","value":{"task":"channels","mode":"demo","params":{"account":"城市骑行","since":"2026-01-15","until":"2026-01-15","limit":1,"commentsPerVideo":1}}}}}}}}},"/mcp":{"post":{"operationId":"mcp","summary":"Call the MCP server","description":"Use JSON-RPC to list and call data tools allowed by the presenting credential.\n\nRequests to /mcp require authentication, including demos. Send a Social2api API key as a Bearer token or X-API-Key, or send an OAuth access token as a Bearer token.\n\nConnect to /mcp/discovery to read endpoint and pricing metadata without credentials.\n\ntools/list returns tools available to the current credential. Tool names are search_rednote, get_douyin_trends and get_wechat_channels.\n\ntools/call defaults to live mode. Set arguments.mode to demo for synthetic data. See each platform reference for the input fields.\n\nSend one JSON-RPC object per HTTP request. Notifications return an empty 202 response.\n\nCheck error.code even on HTTP 200. JSON-RPC method and parameter errors can use -32601 or -32602.\n\nDemos return synthetic data and make zero upstream requests. Each upstream request sent by a live query counts toward the daily limit, including failures, retries and failover attempts. On social2api.com, each attempt uses one prepaid credit.","tags":["Query API"],"x-docs-url":"/docs/api/mcp/","externalDocs":{"url":"https://social2api.com/docs/api/mcp/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"jsonrpc":{"type":"string","const":"2.0","description":"JSON-RPC protocol identifier."},"id":{"type":["string","integer","null"],"description":"ID from the corresponding request, or null when unavailable."},"result":{"type":"object","description":"Method result. initialize returns server capabilities; tools/list returns tools and input schemas.","properties":{"content":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The tools/call content has the type text."},"text":{"type":"string","description":"Serialized JSON response from POST /api/run."}}}},"isError":{"type":"boolean","description":"May be true when tools/call could not complete the data query."}}}},"required":["jsonrpc","id","result"]},{"type":"object","required":["jsonrpc","id","error"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}]},"examples":{"initialize":{"summary":"Initialize the MCP connection","value":{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{}},"serverInfo":{"name":"social2api","version":"1.0.0"}}}},"unknownMethod":{"summary":"JSON-RPC method error","value":{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"Method not found."}}}}}}},"202":{"description":"Notification accepted with an empty response."},"400":{"description":"Invalid protocol version, JSON or JSON-RPC request. Credentials must not be put in the query string.","content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","error"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}},"401":{"description":"A valid key or app authorization is missing. Read WWW-Authenticate for authorization details.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","error"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}},"405":{"description":"The request method is unsupported.","headers":{"Allow":{"schema":{"type":"string","const":"POST"}}}},"413":{"description":"The request body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","error"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","error"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}}},"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"parameters":[{"name":"MCP-Protocol-Version","in":"header","required":false,"schema":{"type":"string"},"description":"Optional protocol version: 2025-11-25, 2025-06-18 or 2025-03-26."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","const":"2.0","description":"Protocol identifier."},"method":{"type":"string","description":"Supported methods: initialize, ping, tools/list and tools/call."},"id":{"type":["string","integer"],"description":"Request identifier. Omit it for notifications, which return an empty 202 response."},"params":{"type":"object","description":"Method-specific parameters. tools/call takes name and arguments."}},"required":["jsonrpc","method"]},"example":{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"Example client","version":"1.0.0"}}}}}}}},"/.well-known/oauth-authorization-server":{"get":{"operationId":"oauth-server-metadata","summary":"Read OAuth authorization server metadata","description":"Discover authorization, registration and token endpoints, grant types and PKCE requirements.\n\nPublic. No sign-in required.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-server-metadata/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-server-metadata/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"issuer":{"type":"string","format":"uri","description":"Issuer identifier for this OAuth server."},"authorization_endpoint":{"type":"string","format":"uri","description":"Browser authorization URI."},"token_endpoint":{"type":"string","format":"uri","description":"URI for exchanging and refreshing tokens."},"registration_endpoint":{"type":"string","format":"uri","description":"Dynamic client registration URI."},"response_types_supported":{"type":"array","items":{"type":"string"},"description":"Supported authorization response types."},"grant_types_supported":{"type":"array","items":{"type":"string"},"description":"Supported grant types include authorization code and refresh token."},"code_challenge_methods_supported":{"type":"array","items":{"type":"string"},"description":"PKCE uses S256."},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"},"description":"Client authentication methods supported by the token endpoint."},"scopes_supported":{"type":"array","items":{"type":"string"},"description":"Authorization scopes supported by the server."},"authorization_response_iss_parameter_supported":{"type":"boolean","description":"Whether the authorization response includes the issuer in iss."}}},"example":{"issuer":"https://social2api.com","authorization_endpoint":"https://social2api.com/oauth/authorize","token_endpoint":"https://social2api.com/oauth/token","registration_endpoint":"https://social2api.com/oauth/register","response_types_supported":["code"],"grant_types_supported":["authorization_code","refresh_token"],"code_challenge_methods_supported":["S256"],"token_endpoint_auth_methods_supported":["none","client_secret_basic","client_secret_post"],"scopes_supported":["mcp:tools"],"authorization_response_iss_parameter_supported":true}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"operationId":"oauth-resource-metadata","summary":"Read OAuth protected resource metadata","description":"Discover the MCP resource identifier, authorization server and supported Bearer transport.\n\nPublic. No sign-in required.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-resource-metadata/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-resource-metadata/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"resource":{"type":"string","format":"uri","description":"MCP resource URI for this deployment."},"authorization_servers":{"type":"array","items":{"type":"string","format":"uri"},"description":"Authorization server origins."},"scopes_supported":{"type":"array","items":{"type":"string"},"description":"Authorization scopes supported by the service."},"bearer_methods_supported":{"type":"array","items":{"type":"string"},"description":"Clients send Bearer tokens in the request header."}}},"example":{"resource":"https://social2api.com/mcp","authorization_servers":["https://social2api.com"],"scopes_supported":["mcp:tools"],"bearer_methods_supported":["header"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/.well-known/oauth-protected-resource/mcp":{"get":{"operationId":"oauth-mcp-metadata","summary":"Read OAuth metadata for the MCP resource","description":"Discover the MCP resource identifier, authorization server and supported Bearer transport.\n\nPublic. No sign-in required.\n\nThe MCP WWW-Authenticate response header points to this URI.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-mcp-metadata/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-mcp-metadata/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"resource":{"type":"string","format":"uri","description":"MCP resource URI for this deployment."},"authorization_servers":{"type":"array","items":{"type":"string","format":"uri"},"description":"Authorization server origins."},"scopes_supported":{"type":"array","items":{"type":"string"},"description":"Authorization scopes supported by the service."},"bearer_methods_supported":{"type":"array","items":{"type":"string"},"description":"Clients send Bearer tokens in the request header."}}},"example":{"resource":"https://social2api.com/mcp","authorization_servers":["https://social2api.com"],"scopes_supported":["mcp:tools"],"bearer_methods_supported":["header"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/oauth/register":{"post":{"operationId":"oauth-register","summary":"Register an MCP OAuth client","description":"Register callback URIs, client authentication and supported grant types with the authorization server.\n\nPublic. No sign-in required.\n\nThe JSON request body is limited to 4,096 bytes.\n\nDynamic registration is limited to 20 requests per minute per IP. Use the returned client_id to start browser authorization.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-register/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-register/"},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"client_id":{"type":"string","description":"Assigned client identifier."},"client_id_issued_at":{"type":"integer","description":"Client issuance timestamp in Unix seconds."},"client_secret":{"type":"string","description":"Confidential client secret, returned once during registration."},"client_secret_expires_at":{"type":"integer","description":"Returned for confidential clients. A value of 0 means no expiration."},"client_name":{"type":"string","description":"Client display name."},"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"},"description":"Registered redirect URIs."},"token_endpoint_auth_method":{"type":"string","enum":["none","client_secret_basic","client_secret_post"],"description":"Client authentication method for the token endpoint."},"grant_types":{"type":"array","items":{"type":"string"},"description":"Allowed grant types."},"response_types":{"type":"array","items":{"type":"string"},"description":"Allowed authorization response types."},"scope":{"type":"string","description":"Scope the client may request."}}},"example":{"client_id":"client_4a5076aa-f9ab-46e6-b383-7b1374392dc4","client_id_issued_at":1768478400,"client_name":"Example client","redirect_uris":["https://example.com/oauth/callback"],"token_endpoint_auth_method":"none","grant_types":["authorization_code","refresh_token"],"response_types":["code"],"scope":"mcp:tools"}}}},"400":{"description":"The OAuth request, scope, resource or form parameters are invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many requests. Retry after the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"client_name":{"type":"string","description":"Up to 60 characters. Defaults to the first redirect URI’s host."},"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"},"description":"Provide 1–10 distinct HTTPS or loopback HTTP URIs, up to 1,024 characters each."},"token_endpoint_auth_method":{"type":"string","enum":["none","client_secret_basic","client_secret_post"],"description":"Defaults to client_secret_basic. Public clients use none."},"grant_types":{"type":"array","items":{"type":"string"},"description":"Must include authorization_code and may include refresh_token. Both are enabled by default."},"response_types":{"type":"array","items":{"type":"string"},"description":"Use [\"code\"], which is also the default."},"scope":{"description":"The available scope is mcp:tools."}},"required":["redirect_uris"]},"example":{"client_name":"Example client","redirect_uris":["https://example.com/oauth/callback"],"token_endpoint_auth_method":"none","grant_types":["authorization_code","refresh_token"],"scope":"mcp:tools"}}}}}},"/oauth/authorize":{"get":{"operationId":"oauth-authorize-start","summary":"Start MCP OAuth authorization","description":"Validate the client, exact callback, resource and PKCE in the browser, then continue to sign-in or consent.\n\nOptional console session cookie.\n\nOpen the authorization URI in a browser and keep the verifier for this request. A pending request lasts 15 minutes. Each IP can start up to 40 authorizations per minute.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-authorize-start/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-authorize-start/"},"responses":{"200":{"description":"An authenticated request for a pending authorization returns the consent page.","content":{"text/html":{"schema":{"type":"string","description":"An authenticated request for a pending authorization returns the consent page."},"example":"<form action=\"/oauth/authorize\" method=\"post\">…</form>","x-query-example":{"request":"<authorization request>"}}}},"303":{"description":"Browser redirect","headers":{"Location":{"description":"Initial redirects point to the pending request. Signed-out users are directed to sign-in and then returned to the pending request.","schema":{"type":"string","format":"uri-reference"}}}},"400":{"description":"The OAuth request, scope, resource or form parameters are invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many requests. Retry after the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]},{}],"parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string"},"description":"Client identifier from dynamic registration.","example":"client_4a5076aa-f9ab-46e6-b383-7b1374392dc4"},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","format":"uri"},"description":"Must match the registered redirect URI exactly.","example":"https://example.com/oauth/callback"},{"name":"response_type","in":"query","required":true,"schema":{},"description":"Authorization response type.","example":"code"},{"name":"code_challenge_method","in":"query","required":true,"schema":{},"description":"PKCE hash method.","example":"S256"},{"name":"code_challenge","in":"query","required":true,"schema":{"type":"string"},"description":"Base64url-encoded SHA-256 of the verifier with no padding.","example":"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"},{"name":"resource","in":"query","required":true,"schema":{"type":"string","format":"uri"},"description":"Absolute URI of this server followed by /mcp.","example":"https://social2api.com/mcp"},{"name":"scope","in":"query","required":false,"schema":{},"description":"The available scope is mcp:tools.","example":"mcp:tools"},{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"Client-generated state, up to 1,024 characters. Returned in the authorization result.","example":"<client state>"},{"name":"request","in":"query","required":false,"schema":{"type":"string"},"description":"Temporary request value from Location. Use this as the only query parameter when loading the consent page."}]},"post":{"operationId":"oauth-authorize-consent","summary":"Submit an MCP OAuth consent decision","description":"Approve or deny on the browser consent page and redirect to the registered callback.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nUse the consent form in the current browser session. Form bodies may use up to 8,192 bytes. Authorization codes are single-use and expire after two minutes.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-authorize-consent/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-authorize-consent/"},"responses":{"303":{"description":"Browser redirect","headers":{"Location":{"description":"Registered callback URI with code or error=access_denied, original state when supplied, and iss.","schema":{"type":"string","format":"uri"}}}},"400":{"description":"The OAuth request, scope, resource or form parameters are invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"request":{"type":"string","description":"Pending request value from the consent page."},"csrf":{"type":"string","description":"Session-bound form value generated by the consent page."},"action":{"type":"string","enum":["approve","deny"],"description":"Decision made on the user-facing consent page."}},"required":["request","csrf","action"]},"example":{"request":"<pending request>","csrf":"<consent form value>","action":"approve"}}}}}},"/oauth/token":{"post":{"operationId":"oauth-token","summary":"Exchange or refresh MCP OAuth tokens","description":"Use an authorization code and PKCE verifier to exchange for access tokens, or refresh with an existing refresh token.\n\nUse the registered client ID, HTTP Basic or form client credentials as selected during registration.\n\nFor code exchange, supply the original redirect_uri, PKCE verifier, and callback code. When refreshing, save the replacement refresh token from each response.\n\nAccess tokens expire after one hour and refresh tokens after 30 days. Form bodies may use up to 8,192 bytes. Each IP is limited to 90 token requests per minute.","tags":["Query API"],"x-docs-url":"/docs/api/oauth-token/","externalDocs":{"url":"https://social2api.com/docs/api/oauth-token/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"access_token":{"type":"string","description":"Token to call MCP through Authorization Bearer."},"token_type":{"type":"string","description":"Access token type, Bearer."},"expires_in":{"type":"integer","description":"Access token lifetime in seconds."},"scope":{"type":"string","description":"Granted scope."},"refresh_token":{"type":"string","description":"Returned for clients registered for the refresh_token grant."}}},"example":{"access_token":"<access token>","token_type":"Bearer","expires_in":3600,"scope":"mcp:tools","refresh_token":"<refresh token>"}}}},"400":{"description":"The OAuth request, scope, resource or form parameters are invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Client authentication failed with invalid_client.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many requests. Retry after the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The authorization service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"error_description":{"type":"string"}},"required":["error"]}}}}},"parameters":[{"name":"Authorization","in":"header","required":false,"schema":{},"description":"Use when registered for client_secret_basic."}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"grant_type":{"type":"string","enum":["authorization_code","refresh_token"],"description":"Exchange an authorization code or refresh an access token."},"client_id":{"type":"string","description":"Required for public clients or client_secret_post. HTTP Basic sends the identifier in Authorization."},"client_secret":{"type":"string","description":"Required for client_secret_post."},"resource":{"type":"string","format":"uri","description":"Absolute URI of this server followed by /mcp."},"scope":{"description":"The available scope is mcp:tools."},"code":{"type":"string","description":"Required for authorization_code exchange."},"redirect_uri":{"type":"string","format":"uri","description":"Must match the registered redirect URI exactly."},"code_verifier":{"type":"string","description":"Required for authorization_code exchange, 43–128 characters."},"refresh_token":{"type":"string","description":"Required for a refresh_token grant."}},"required":["grant_type","resource"]},"example":{"grant_type":"authorization_code","client_id":"client_4a5076aa-f9ab-46e6-b383-7b1374392dc4","code":"<authorization code>","redirect_uri":"https://example.com/oauth/callback","code_verifier":"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk","resource":"https://social2api.com/mcp"}}}}}},"/api/account/session":{"get":{"operationId":"account-session","summary":"Read the current session","description":"Check sign-in state and which sign-in methods are enabled.\n\nOptional console session cookie.\n\nA signed-out request still returns 200 with a null account and the methods object.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-session/","externalDocs":{"url":"https://social2api.com/docs/api/account-session/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}},"methods":{"type":"object","properties":{"password":{"type":"boolean","description":"Whether password sign-in is enabled."},"emailCode":{"type":"boolean","description":"Whether email-code sign-in is enabled."},"google":{"type":"boolean","description":"Whether Google sign-in is enabled."}}}}},"example":{"account":null,"methods":{"password":true,"emailCode":false,"google":false}}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]},{}]}},"/api/account/register":{"post":{"operationId":"account-register","summary":"Register an account","description":"Create a password account and establish a session immediately.\n\nPublic. No sign-in required.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nA successful sign-in establishes or updates the session with Set-Cookie.\n\nA password registration does not by itself verify the email address.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-register/","externalDocs":{"url":"https://social2api.com/docs/api/account-register/"},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":false,"hasPassword":true,"preferences":{}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"This email address is already registered.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"A valid email address, up to 254 characters after trimming."},"password":{"type":"string","description":"New password of 10–128 characters."},"name":{"type":"string","description":"Display name, 1–60 characters. Defaults to the email local part."},"locale":{"type":"string","enum":["zh","en"],"description":"Initial account preference or verification email language."}},"required":["email","password"]},"example":{"email":"reader@example.com","password":"<new password>","name":"API Reader"}}}}}},"/api/account/login":{"post":{"operationId":"account-login","summary":"Sign in with a password","description":"Validate an email and password to establish or replace the console session.\n\nPublic. No sign-in required.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nA successful sign-in establishes or updates the session with Set-Cookie.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-login/","externalDocs":{"url":"https://social2api.com/docs/api/account-login/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":false,"hasPassword":true,"preferences":{}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The credentials are invalid or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"A valid email address, up to 254 characters after trimming."},"password":{"type":"string","description":"Current password, 1–128 characters."}},"required":["email","password"]},"example":{"email":"reader@example.com","password":"<current password>"}}}}}},"/api/account/logout":{"post":{"operationId":"account-logout","summary":"Sign out","description":"Clear the current browser session.\n\nOptional console session cookie.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nRevokes the current session and clears the browser cookie using Set-Cookie.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-logout/","externalDocs":{"url":"https://social2api.com/docs/api/account-logout/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"null","description":"Signed-out account state."}}},"example":{"account":null}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]},{}]}},"/api/account/profile":{"patch":{"operationId":"account-profile","summary":"Update the display name","description":"Update the current account’s display name and return the updated account.\n\nConsole session cookie.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-profile/","externalDocs":{"url":"https://social2api.com/docs/api/account-profile/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":false,"hasPassword":true,"preferences":{}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New display name, 1–60 characters."}},"required":["name"]},"example":{"name":"API Reader"}}}}}},"/api/account/preferences":{"patch":{"operationId":"account-preferences","summary":"Update the account language","description":"Update the current account’s preferred language.\n\nConsole session cookie.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-preferences/","externalDocs":{"url":"https://social2api.com/docs/api/account-preferences/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":false,"hasPassword":true,"preferences":{"language":"en"}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"language":{"type":"string","enum":["zh","en"],"description":"Console language."}},"required":["language"]},"example":{"language":"en"}}}}}},"/api/account/password":{"post":{"operationId":"account-password","summary":"Set or change a password","description":"Reauthenticate and change the current account’s password.\n\nConsole session cookie.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nA successful sign-in establishes or updates the session with Set-Cookie.\n\nPasswordless accounts need a verified email and a sign-in within the last 10 minutes. A new password must differ from the current one.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-password/","externalDocs":{"url":"https://social2api.com/docs/api/account-password/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":false,"hasPassword":true,"preferences":{}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The credentials are invalid or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The origin check failed or the passwordless account needs to sign in again.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"The account changed during the request. Sign in again.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currentPassword":{"type":"string","description":"Required when the account already has a password."},"newPassword":{"type":"string","description":"New password of 10–128 characters."}},"required":["newPassword"]},"example":{"currentPassword":"<current password>","newPassword":"<new password>"}}}}}},"/api/account/delete":{"post":{"operationId":"account-delete","summary":"Delete the current account","description":"Permanently delete the current account and associated records after reauthentication.\n\nConsole session cookie.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nRevokes the current session and clears the browser cookie using Set-Cookie.\n\nPasswordless accounts require a verified email and a sign-in within the last 10 minutes.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-delete/","externalDocs":{"url":"https://social2api.com/docs/api/account-delete/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"null","description":"Signed-out account state."}}},"example":{"account":null}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The credentials are invalid or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The origin check failed or the passwordless account needs to sign in again.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"The account changed during the request. Sign in again.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"Required when the account has a password."},"confirmation":{"description":"Required with the literal DELETE for passwordless accounts."}}},"example":{"password":"<current password>"}}}}}},"/api/account/otp/request":{"post":{"operationId":"account-otp-request","summary":"Send an email sign-in code","description":"Send a six-digit sign-in code to an email address.\n\nPublic. No sign-in required.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nThe code is valid for 10 minutes. Wait 60 seconds between sends to the same email.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-otp-request/","externalDocs":{"url":"https://social2api.com/docs/api/account-otp-request/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"sent":{"type":"boolean","description":"The code was sent."},"retryAfter":{"type":"integer","description":"Minimum seconds to wait before requesting another code."}}},"example":{"sent":true,"retryAfter":60}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Email verification is unconfigured or delivery failed temporarily.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"A valid email address, up to 254 characters after trimming."},"locale":{"type":"string","enum":["zh","en"],"description":"Initial account preference or verification email language."}},"required":["email"]},"example":{"email":"reader@example.com","locale":"zh"}}}}}},"/api/account/otp/verify":{"post":{"operationId":"account-otp-verify","summary":"Verify an email sign-in code","description":"Verify an email and sign in, or create an account for a new address.\n\nPublic. No sign-in required.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nThe JSON request body is limited to 4,096 bytes.\n\nA successful sign-in establishes or updates the session with Set-Cookie.\n\nThe example code illustrates the format.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-otp-verify/","externalDocs":{"url":"https://social2api.com/docs/api/account-otp-verify/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"Account returned by the operation.","properties":{"id":{"type":"string","description":"Account ID."},"email":{"type":"string","description":"Normalized email address."},"name":{"type":"string","description":"Display name."},"createdAt":{"type":"string","format":"date-time","description":"Account creation timestamp."},"emailVerified":{"type":"boolean","description":"Whether the email is verified."},"hasPassword":{"type":"boolean","description":"Whether the account has a password."},"preferences":{"type":"object","description":"Stored account preferences."}}}}},"example":{"account":{"id":"a2508bc7-316a-4d0c-93ab-ba87f7c3545e","email":"reader@example.com","name":"API Reader","createdAt":"2026-01-15T12:00:00.000Z","emailVerified":true,"hasPassword":false,"preferences":{}}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The credentials are invalid or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Email verification is unconfigured or delivery failed temporarily.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"A valid email address, up to 254 characters after trimming."},"code":{"type":"string","description":"Six-digit code from the email."},"name":{"type":"string","description":"Display name, 1–60 characters. Defaults to the email local part."},"locale":{"type":"string","enum":["zh","en"],"description":"Initial account preference or verification email language."}},"required":["email","code"]},"example":{"email":"reader@example.com","code":"123456"}}}}}},"/api/account/google":{"get":{"operationId":"account-google","summary":"Start Google sign-in","description":"Redirect the browser to the Google authorization page.\n\nPublic. No sign-in required.\n\nSend account changes from the same origin. The server rejects cross-site requests.\n\nOpen this URL in the browser. Sign-in requires a configured Google OAuth client.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-google/","externalDocs":{"url":"https://social2api.com/docs/api/account-google/"},"responses":{"303":{"description":"Browser redirect","headers":{"Location":{"description":"Google authorization URL.","schema":{"type":"string","format":"uri"}},"Set-Cookie":{"description":"Short-lived state cookie for the callback.","schema":{"type":"string"}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Too many attempts. Wait for the number of seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Google sign-in is not configured.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/account/google/callback":{"get":{"operationId":"account-google-callback","summary":"Handle the Google sign-in callback","description":"Complete Google OAuth verification and redirect to the site with the outcome.\n\nPublic. No sign-in required.\n\nGoogle invokes this route in the browser. OAuth failures normally redirect with 303 as well.","tags":["Account and sign-in"],"x-docs-url":"/docs/api/account-google-callback/","externalDocs":{"url":"https://social2api.com/docs/api/account-google-callback/"},"responses":{"303":{"description":"Browser redirect","headers":{"Location":{"description":"Site redirect with google-success, google-email-code or google-error.","schema":{"type":"string","format":"uri-reference"}},"Set-Cookie":{"description":"Sets the session on success and clears the state cookie for matching callbacks.","schema":{"type":"string"}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Google sign-in is not configured.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"parameters":[{"name":"state","in":"query","required":true,"schema":{"type":"string"},"description":"OAuth state from the authorization flow, validated alongside the browser state cookie.","example":"<oauth state>"},{"name":"code","in":"query","required":false,"schema":{"type":"string"},"description":"Authorization code returned by Google on success.","example":"<authorization code>"}]}},"/api/settings":{"get":{"operationId":"settings-get","summary":"Read settings and daily quota","description":"Read preferences, today’s UTC quota and mail delivery availability.\n\nConsole session cookie.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-get/","externalDocs":{"url":"https://social2api.com/docs/api/settings-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"preferences":{"type":"object","properties":{"locale":{"type":"string","enum":["zh","en"],"description":"Preferred language for settings and notifications."},"dailyLimit":{"type":["integer","null"],"description":"Daily account limit for upstream calls."},"lowBalance":{"type":"boolean","description":"Whether to email when quota is low."},"lowBalanceThreshold":{"type":"integer","description":"Low quota alert threshold in calls."},"runFailed":{"type":"boolean","description":"Whether to email on failed or partial runs."}},"description":"May include other saved account preferences."},"usage":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"Current UTC date."},"used":{"type":"integer","description":"Upstream attempts made during the day."},"remaining":{"type":["integer","null"],"description":"Remaining daily calls. Null when unlimited."}}},"mailEnabled":{"type":"boolean","description":"Whether the deployment has mail delivery enabled. Email alerts also require a verified address."}}},"example":{"preferences":{"locale":"zh","dailyLimit":100000,"lowBalance":false,"lowBalanceThreshold":1000,"runFailed":false},"usage":{"day":"2026-01-15","used":0,"remaining":100000},"mailEnabled":false}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}]},"patch":{"operationId":"settings-update","summary":"Update preferences and daily quota","description":"Save language, daily request quota and email notification preferences.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe JSON body is limited to 4,096 bytes and accepts only the listed preferences.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-update/","externalDocs":{"url":"https://social2api.com/docs/api/settings-update/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"preferences":{"type":"object","properties":{"locale":{"type":"string","enum":["zh","en"],"description":"Preferred language for settings and notifications."},"dailyLimit":{"type":["integer","null"],"description":"Daily account limit for upstream calls."},"lowBalance":{"type":"boolean","description":"Whether to email when quota is low."},"lowBalanceThreshold":{"type":"integer","description":"Low quota alert threshold in calls."},"runFailed":{"type":"boolean","description":"Whether to email on failed or partial runs."}},"description":"May include other saved account preferences."},"usage":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"Current UTC date."},"used":{"type":"integer","description":"Upstream attempts made during the day."},"remaining":{"type":["integer","null"],"description":"Remaining daily calls. Null when unlimited."}}},"mailEnabled":{"type":"boolean","description":"Whether the deployment has mail delivery enabled. Email alerts also require a verified address."}}},"example":{"preferences":{"locale":"zh","dailyLimit":1000,"lowBalance":false,"lowBalanceThreshold":1000,"runFailed":false},"usage":{"day":"2026-01-15","used":0,"remaining":1000},"mailEnabled":false}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"locale":{"type":"string","enum":["zh","en"],"description":"Preferred language."},"dailyLimit":{"type":["integer","null"],"description":"0–10,000,000 calls. Set 0 to disable live calls or null for unlimited. The default is 100,000."},"lowBalance":{"type":"boolean","description":"Enable low quota email notifications."},"lowBalanceThreshold":{"type":"integer","description":"1–10,000,000 calls. Notify when remaining quota falls below this threshold."},"runFailed":{"type":"boolean","description":"Enable email notifications for failed and partial runs."}}},"example":{"dailyLimit":1000}}}}}},"/api/settings/usage":{"get":{"operationId":"settings-usage","summary":"Read upstream request usage","description":"Read UTC day summaries, provider cost reporting and filterable request details.\n\nConsole session cookie.\n\nThe date range is inclusive and covers up to 366 days. Day, task and cost summaries cover the whole date range. Detail filters apply to the requests list and CSV export.\n\nSet the page query parameter. Out-of-range requests return the last page, and empty results return page 1.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-usage/","externalDocs":{"url":"https://social2api.com/docs/api/settings-usage/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"from":{"type":"string","format":"date","description":"First UTC date in the report."},"to":{"type":"string","format":"date","description":"Last UTC date in the report."},"today":{"type":"string","format":"date","description":"Current UTC date at request time."},"detailCoverageSince":{"type":"string","format":"date-time","description":"When per-request tracking began."},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"UTC date of the aggregate."},"used":{"type":"integer","description":"Upstream attempts on that date."}}}},"tasks":{"type":"array","items":{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels","catalog"],"description":"Platform task represented by the aggregate."},"requests":{"type":"integer","description":"Upstream attempts for the task."},"succeeded":{"type":"integer","description":"Successful attempt count."},"failed":{"type":"integer","description":"Failed attempt count."},"pending":{"type":"integer","description":"Attempts without a final outcome."}}}},"billing":{"type":"object","properties":{"credits":{"type":"object","description":"Aggregate provider-reported credit charges.","properties":{"total":{"type":"integer","description":"Total provider-reported cost."},"reportedRequests":{"type":"integer","description":"Number of requests with reported cost."},"eligibleRequests":{"type":"integer","description":"Number of requests for providers reporting in this unit."},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"UTC date of the reported cost."},"amount":{"type":"integer","description":"Provider-reported cost on the UTC date."}}}},"tasks":{"type":"array","items":{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels","catalog"],"description":"Task associated with the reported cost."},"amount":{"type":"integer","description":"Provider-reported cost for the task."}}}}}},"usd":{"type":"object","description":"Aggregate provider-reported charges in millionths of a US dollar.","properties":{"total":{"type":"integer","description":"Total provider-reported cost."},"reportedRequests":{"type":"integer","description":"Number of requests with reported cost."},"eligibleRequests":{"type":"integer","description":"Number of requests for providers reporting in this unit."},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"UTC date of the reported cost."},"amount":{"type":"integer","description":"Provider-reported cost on the UTC date."}}}},"tasks":{"type":"array","items":{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels","catalog"],"description":"Task associated with the reported cost."},"amount":{"type":"integer","description":"Provider-reported cost for the task."}}}}}}}},"outcomes":{"type":"object","properties":{"failedUnbilled":{"type":"integer","description":"Failed attempts with a reported zero charge."},"failedBilled":{"type":"integer","description":"Failed attempts with a reported nonzero charge."},"failedUnknown":{"type":"integer","description":"Failed attempts without reported cost."}}},"endpoints":{"type":"array","items":{"type":"object","properties":{"task":{"type":"string","enum":["rednote","douyin","channels","catalog"],"description":"Data task in this aggregate."},"provider":{"type":"string","description":"Provider ID."},"operation":{"type":"string","description":"Normalized provider path."},"requests":{"type":"integer","description":"Upstream attempts for this provider endpoint."},"costCredits":{"type":["integer","null"],"description":"Provider-reported credit charges."},"costUsdMicros":{"type":["integer","null"],"description":"Provider-reported cost in millionths of a US dollar."}}}},"apiKeys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of a key used within the selected UTC date range."},"name":{"type":"string","description":"Most recent key name within the selected range."}}}},"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Service ID assigned to the upstream attempt."},"startedAt":{"type":"string","format":"date-time","description":"Upstream attempt start timestamp."},"task":{"type":"string","enum":["rednote","douyin","channels","catalog"],"description":"Task ID or extended data scope."},"provider":{"type":"string","description":"Provider ID."},"operation":{"type":"string","description":"Provider API path."},"status":{"type":"string","enum":["succeeded","failed","pending"],"description":"Upstream attempt status."},"httpStatus":{"type":["integer","null"],"description":"HTTP status returned by the provider."},"durationMs":{"type":["integer","null"],"description":"Elapsed time in milliseconds."},"entryPoint":{"type":"string","enum":["workbench","api","mcp"],"description":"Entry point, which may be absent in older records."},"apiKeyId":{"type":"string","description":"Key ID when authenticated with an API key."},"apiKeyName":{"type":"string","description":"Key display name at request time."},"requestSummary":{"type":"string","description":"Optional summary of method and parameter field names."},"providerRequestId":{"type":"string","description":"Provider’s request ID, when present."},"resultCount":{"type":"integer","description":"Upstream result count, when available."},"costCredits":{"type":"integer","description":"Upstream charge in credits, when available."},"costUsdMicros":{"type":"integer","description":"Upstream charge in millionths of a US dollar, when available."}}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","description":"Actual one-based page number."},"pageSize":{"type":"integer","description":"Up to 25 details per page."},"total":{"type":"integer","description":"Total details matching the filters."}}}}},"example":{"from":"2026-01-15","to":"2026-01-15","today":"2026-01-15","detailCoverageSince":"2026-01-15T12:00:00.000Z","days":[{"day":"2026-01-15","used":0}],"tasks":[],"billing":{"credits":{"total":0,"reportedRequests":0,"eligibleRequests":0,"days":[],"tasks":[]},"usd":{"total":0,"reportedRequests":0,"eligibleRequests":0,"days":[],"tasks":[]}},"outcomes":{"failedUnbilled":0,"failedBilled":0,"failedUnknown":0},"endpoints":[],"apiKeys":[],"requests":[],"pagination":{"page":1,"pageSize":25,"total":0}}},"text/csv":{"schema":{"type":"string","description":"CSV contains all matching upstream requests in the selected same-month range, with a UTF-8 BOM and attachment response header."},"example":"started_at_utc,platform,provider,endpoint,parameter_fields,api_key_id,api_key_name,entry_point,status,http_status,duration_ms,result_count,socialtoai_credits,dataxapi_cost_usd,request_id,provider_request_id","x-query-example":{"from":"2026-01-01","to":"2026-01-31","export":"csv"}}},"headers":{"Content-Disposition":{"schema":{"type":"string"}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date"},"description":"Inclusive UTC start date. Defaults to 29 days before the end.","example":"2026-01-15"},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date"},"description":"Inclusive UTC end date. Defaults to today.","example":"2026-01-15"},{"name":"page","in":"query","required":false,"schema":{"type":"integer"},"description":"One-based page number, default 1.","example":1},{"name":"task","in":"query","required":false,"schema":{"type":"string","enum":["rednote","douyin","channels","catalog"]},"description":"Filter by platform task. Repeat task to match multiple tasks.","example":"rednote"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["succeeded","failed","pending"]},"description":"Filter details by request status."},{"name":"provider","in":"query","required":false,"schema":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"description":"Filter details by provider."},{"name":"entryPoint","in":"query","required":false,"schema":{"type":"string","enum":["workbench","api","mcp"]},"description":"Filter by entry point."},{"name":"apiKey","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by a key ID, or use session to show cookie-authenticated requests."},{"name":"export","in":"query","required":false,"schema":{},"description":"Set csv to return a CSV file. Provide from and to within one month. The request filters apply to the export."},{"name":"requestId","in":"query","required":false,"schema":{"type":"string"},"description":"Match a service or provider request ID using 1–128 letters, digits, dots, underscores or hyphens."}]}},"/api/settings/billing":{"get":{"operationId":"settings-billing","summary":"Read billing usage summary","description":"Read today’s call quota and the number of upstream attempts over the last 30 UTC days, including today.\n\nConsole session cookie.\n\nThis summary counts calls. Provider-reported monetary costs are available in request usage.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-billing/","externalDocs":{"url":"https://social2api.com/docs/api/settings-billing/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"usage":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"Current UTC date."},"used":{"type":"integer","description":"Upstream attempts made during the day."},"remaining":{"type":["integer","null"],"description":"Remaining daily calls. Null when unlimited."},"dailyLimit":{"type":["integer","null"],"description":"Daily upstream call limit. Null when unlimited."},"periodStart":{"type":"string","format":"date","description":"First UTC date in the 30-day window."},"periodUsed":{"type":"integer","description":"Upstream attempts in the 30-day window."}}}}},"example":{"usage":{"day":"2026-01-15","used":0,"remaining":100000,"dailyLimit":100000,"periodStart":"2025-12-17","periodUsed":0}}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}]}},"/api/settings/fallback":{"get":{"operationId":"settings-fallback-get","summary":"Read failover status","description":"Read account failover settings, provider health and up to 50 recent failover records.\n\nConsole session cookie.\n\nThe default order is TikHub, DataXAPI and SocialToAI. The server skips unavailable or incompatible providers. Disabling automatic failover limits each query to the first configured provider that supports the input.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-fallback-get/","externalDocs":{"url":"https://social2api.com/docs/api/settings-fallback-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the account allows automatic provider failover."},"providers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Provider ID."},"label":{"type":"string","description":"Provider display name."},"configured":{"type":"boolean","description":"Whether the provider is configured in this deployment."},"status":{"type":"string","enum":["missing_config","unchecked","healthy","cooldown"],"description":"Provider state in the current instance."},"tasks":{"type":"array","items":{"type":"string"},"description":"Task IDs enabled for the provider in this deployment."},"cooldownUntil":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the current cooldown ends."},"lastError":{"type":["string","null"],"description":"Most recently recorded provider failure reason."}}}},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Failover event ID."},"at":{"type":"string","format":"date-time","description":"Event timestamp."},"task":{"type":"string","description":"Query task that triggered failover."},"from":{"type":"string","description":"Provider ID the query switched from."},"to":{"type":"string","description":"Provider ID the query switched to."},"reason":{"type":"string","description":"Why failover occurred."}}}}}},"example":{"enabled":true,"providers":[{"id":"tikhub","label":"TikHub","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null},{"id":"dataxapi","label":"DataXAPI","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null},{"id":"socialtoai","label":"SocialToAI","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null}],"events":[]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}]},"patch":{"operationId":"settings-fallback-update","summary":"Update failover settings","description":"Enable or disable automatic provider failover for the current account.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe default order is TikHub, DataXAPI and SocialToAI. The server skips unavailable or incompatible providers. Disabling automatic failover limits each query to the first configured provider that supports the input.\n\nThe JSON body must contain only enabled and fit within 1,024 bytes.","tags":["Settings and usage"],"x-docs-url":"/docs/api/settings-fallback-update/","externalDocs":{"url":"https://social2api.com/docs/api/settings-fallback-update/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the account allows automatic provider failover."},"providers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Provider ID."},"label":{"type":"string","description":"Provider display name."},"configured":{"type":"boolean","description":"Whether the provider is configured in this deployment."},"status":{"type":"string","enum":["missing_config","unchecked","healthy","cooldown"],"description":"Provider state in the current instance."},"tasks":{"type":"array","items":{"type":"string"},"description":"Task IDs enabled for the provider in this deployment."},"cooldownUntil":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the current cooldown ends."},"lastError":{"type":["string","null"],"description":"Most recently recorded provider failure reason."}}}},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Failover event ID."},"at":{"type":"string","format":"date-time","description":"Event timestamp."},"task":{"type":"string","description":"Query task that triggered failover."},"from":{"type":"string","description":"Provider ID the query switched from."},"to":{"type":"string","description":"Provider ID the query switched to."},"reason":{"type":"string","description":"Why failover occurred."}}}}}},"example":{"enabled":false,"providers":[{"id":"tikhub","label":"TikHub","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null},{"id":"dataxapi","label":"DataXAPI","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null},{"id":"socialtoai","label":"SocialToAI","configured":false,"status":"missing_config","tasks":["rednote","douyin","channels"],"cooldownUntil":null,"lastError":null}],"events":[]}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether to enable automatic provider failover."}},"required":["enabled"]},"example":{"enabled":false}}}}}},"/api/settings/api-keys":{"get":{"operationId":"api-keys-list","summary":"List API keys","description":"List key metadata and current daily usage for the account.\n\nConsole session cookie.\n\nThe list includes active, expired and revoked keys. Token values are redacted.","tags":["Settings and usage"],"x-docs-url":"/docs/api/api-keys-list/","externalDocs":{"url":"https://social2api.com/docs/api/api-keys-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"Current UTC usage day."},"keys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"API key record ID."},"name":{"type":"string","description":"API key display name."},"kind":{"type":"string","enum":["api_key","oauth"],"description":"Record type for an API key or a connected OAuth app."},"prefix":{"type":"string","description":"Redacted token hint."},"status":{"type":"string","enum":["active","revoked","expired"],"description":"Key state."},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional expiration timestamp."},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Most recent metered upstream attempt."},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Revocation timestamp."},"dailyLimit":{"type":["integer","null"],"description":"Daily upstream call limit for this key."},"usedToday":{"type":"integer","description":"Calls used in the current UTC day."},"remainingToday":{"type":["integer","null"],"description":"Remaining quota for the current UTC day."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed scopes. Null covers the three workbench tools. Extended Data API access requires the explicit catalog scope."}}}}}},"example":{"keys":[{"id":"key_4a5076aa-f9ab-46e6-b383-7b1374392dc4","name":"Analytics","kind":"api_key","prefix":"sk_shishu_…EXAMPLE0","status":"active","createdAt":"2026-01-15T12:00:00.000Z","expiresAt":null,"lastUsedAt":null,"revokedAt":null,"dailyLimit":100,"usedToday":0,"remainingToday":100,"tasks":["rednote"]}],"day":"2026-01-15"}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}]},"post":{"operationId":"api-keys-create","summary":"Create an API key","description":"Create an API key for the current account to use with POST /api/run.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe JSON request body is limited to 4,096 bytes.\n\nRead the full token from the creation response. Use it as an Authorization Bearer token for later live queries.","tags":["Settings and usage"],"x-docs-url":"/docs/api/api-keys-create/","externalDocs":{"url":"https://social2api.com/docs/api/api-keys-create/"},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"object","properties":{"id":{"type":"string","description":"API key record ID."},"name":{"type":"string","description":"API key display name."},"kind":{"type":"string","enum":["api_key","oauth"],"description":"Record type for an API key or a connected OAuth app."},"prefix":{"type":"string","description":"Redacted token hint."},"status":{"type":"string","enum":["active","revoked","expired"],"description":"Key state."},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional expiration timestamp."},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Most recent metered upstream attempt."},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Revocation timestamp."},"dailyLimit":{"type":["integer","null"],"description":"Daily upstream call limit for this key."},"usedToday":{"type":"integer","description":"Calls used in the current UTC day."},"remainingToday":{"type":["integer","null"],"description":"Remaining quota for the current UTC day."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed scopes. Null covers the three workbench tools. Extended Data API access requires the explicit catalog scope."}}},"token":{"type":"string","description":"Full token, returned only on creation."}}},"example":{"key":{"id":"key_4a5076aa-f9ab-46e6-b383-7b1374392dc4","name":"Analytics","kind":"api_key","prefix":"sk_shishu_…EXAMPLE0","status":"active","createdAt":"2026-01-15T12:00:00.000Z","expiresAt":null,"lastUsedAt":null,"revokedAt":null,"dailyLimit":100,"usedToday":0,"remainingToday":100,"tasks":["rednote"]},"token":"<new API key>"}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"1–60 characters after trimming."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Future timestamp with Z or a numerical UTC offset. Stored in UTC. Null means no expiry."},"dailyLimit":{"type":["integer","null"],"description":"0–10,000,000 calls. Null disables the separate key limit."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"A nonempty list of distinct scopes: rednote, douyin, channels or catalog. Null permits the workbench tools. Only a regular API key can be granted catalog."}},"required":["name"]},"example":{"name":"Analytics","dailyLimit":100,"tasks":["rednote"]}}}}}},"/api/settings/api-keys/{id}":{"patch":{"operationId":"api-keys-update","summary":"Update an API key","description":"Change a key’s name, expiry, quota or allowed tasks.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe JSON request body is limited to 4,096 bytes.\n\nProvide at least one writable property. The token value stays the same.","tags":["Settings and usage"],"x-docs-url":"/docs/api/api-keys-update/","externalDocs":{"url":"https://social2api.com/docs/api/api-keys-update/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"object","properties":{"id":{"type":"string","description":"API key record ID."},"name":{"type":"string","description":"API key display name."},"kind":{"type":"string","enum":["api_key","oauth"],"description":"Record type for an API key or a connected OAuth app."},"prefix":{"type":"string","description":"Redacted token hint."},"status":{"type":"string","enum":["active","revoked","expired"],"description":"Key state."},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional expiration timestamp."},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Most recent metered upstream attempt."},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Revocation timestamp."},"dailyLimit":{"type":["integer","null"],"description":"Daily upstream call limit for this key."},"usedToday":{"type":"integer","description":"Calls used in the current UTC day."},"remainingToday":{"type":["integer","null"],"description":"Remaining quota for the current UTC day."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed scopes. Null covers the three workbench tools. Extended Data API access requires the explicit catalog scope."}}}}},"example":{"key":{"id":"key_4a5076aa-f9ab-46e6-b383-7b1374392dc4","name":"Analytics","kind":"api_key","prefix":"sk_shishu_…EXAMPLE0","status":"active","createdAt":"2026-01-15T12:00:00.000Z","expiresAt":null,"lastUsedAt":null,"revokedAt":null,"dailyLimit":250,"usedToday":0,"remainingToday":250,"tasks":["rednote"]}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The key was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"The key has been revoked.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 4,096 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"API key record ID, formatted as key_<UUID>."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"1–60 characters after trimming."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Future timestamp with Z or a numerical UTC offset. Stored in UTC. Null means no expiry."},"dailyLimit":{"type":["integer","null"],"description":"0–10,000,000 calls. Null disables the separate key limit."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"A nonempty list of distinct scopes: rednote, douyin, channels or catalog. Null permits the workbench tools. Only a regular API key can be granted catalog."}}},"example":{"dailyLimit":250}}}}},"delete":{"operationId":"api-keys-revoke","summary":"Revoke an API key","description":"Invalidate a key and return its revoked record.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nRevoked tokens cannot run live queries. Revoking a previously revoked record returns that record.","tags":["Settings and usage"],"x-docs-url":"/docs/api/api-keys-revoke/","externalDocs":{"url":"https://social2api.com/docs/api/api-keys-revoke/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"object","properties":{"id":{"type":"string","description":"API key record ID."},"name":{"type":"string","description":"API key display name."},"kind":{"type":"string","enum":["api_key","oauth"],"description":"Record type for an API key or a connected OAuth app."},"prefix":{"type":"string","description":"Redacted token hint."},"status":{"type":"string","enum":["active","revoked","expired"],"description":"Key state."},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional expiration timestamp."},"lastUsedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Most recent metered upstream attempt."},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Revocation timestamp."},"dailyLimit":{"type":["integer","null"],"description":"Daily upstream call limit for this key."},"usedToday":{"type":"integer","description":"Calls used in the current UTC day."},"remainingToday":{"type":["integer","null"],"description":"Remaining quota for the current UTC day."},"tasks":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed scopes. Null covers the three workbench tools. Extended Data API access requires the explicit catalog scope."}}}}},"example":{"key":{"id":"key_4a5076aa-f9ab-46e6-b383-7b1374392dc4","name":"Analytics","kind":"api_key","prefix":"sk_shishu_…EXAMPLE0","status":"revoked","createdAt":"2026-01-15T12:00:00.000Z","expiresAt":null,"lastUsedAt":null,"revokedAt":"2026-01-15T12:00:00.000Z","dailyLimit":100,"usedToday":0,"remainingToday":100,"tasks":["rednote"]}}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The key was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"The account service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"API key record ID, formatted as key_<UUID>."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}]}},"/api/settings/webhooks":{"get":{"operationId":"webhooks-list","summary":"List webhooks and deliveries","description":"Read endpoints, available event types and up to 100 recent deliveries.\n\nConsole session cookie.\n\nLive runs can trigger tool, batch and quota events. Schedule events require a separate scheduler.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-list/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint ID."},"url":{"type":"string","format":"uri","description":"Delivery URL."},"events":{"type":"array","items":{"type":"string"},"description":"Subscribed event types."},"enabled":{"type":"boolean","description":"Whether automatic deliveries are enabled."},"createdAt":{"type":"string","format":"date-time","description":"Endpoint creation timestamp."},"updatedAt":{"type":"string","format":"date-time","description":"Most recent endpoint update."}}}},"deliveries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Delivery record ID."},"endpointId":{"type":"string","description":"Destination endpoint ID."},"url":{"type":"string","format":"uri","description":"Destination URL used at delivery time."},"eventId":{"type":"string","description":"Event ID, stable across delivery retries."},"type":{"type":"string","description":"Event type. Test deliveries use webhook.test."},"status":{"type":"string","enum":["delivered","failed"],"description":"Delivery outcome."},"statusCode":{"type":["integer","null"],"description":"HTTP status from the endpoint. Null without a response."},"error":{"type":["string","null"],"description":"Failure message. Null after successful delivery."},"createdAt":{"type":"string","format":"date-time","description":"Delivery timestamp."}}}},"failedCount":{"type":"integer","description":"Recent failed delivery count, independent of filtering."},"deliveryCount":{"type":"integer","description":"Recent delivery count, independent of filtering."},"limit":{"type":"integer","description":"Maximum endpoints per account."},"eventTypes":{"type":"array","items":{"type":"string"},"description":"Subscribable event types."}}},"example":{"endpoints":[{"id":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","events":["tool_run.finished"],"enabled":true,"createdAt":"2026-01-15T12:00:00.000Z","updatedAt":"2026-01-15T12:00:00.000Z"}],"deliveries":[],"failedCount":0,"deliveryCount":1,"limit":10,"eventTypes":["tool_run.finished","tool_run.failed","batch.finished","schedule_run.finished","schedule.alert","balance.low","daily_cap.reached"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{},"description":"Set failed to return failed deliveries only. Omit to see all recent deliveries.","example":"failed"}]},"post":{"operationId":"webhooks-create","summary":"Create a webhook endpoint","description":"Verify delivery to the endpoint, save its subscriptions and return a new signing secret.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe JSON request body is limited to 8,192 bytes.\n\nThe server sends a webhook.test event to the proposed URL and saves it only after a 2xx response. Replace the sample URL with your receiver.\n\nThe receiver gets a JSON event and Shishu-Signature header. Verify its HMAC-SHA256 using the endpoint secret and the Unix timestamp in seconds, a dot and the raw body. Use the event ID to deduplicate.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-create/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-create/"},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint ID."},"url":{"type":"string","format":"uri","description":"Delivery URL."},"events":{"type":"array","items":{"type":"string"},"description":"Subscribed event types."},"enabled":{"type":"boolean","description":"Whether automatic deliveries are enabled."},"createdAt":{"type":"string","format":"date-time","description":"Endpoint creation timestamp."},"updatedAt":{"type":"string","format":"date-time","description":"Most recent endpoint update."}}},"secret":{"type":"string","description":"Full signing secret, returned on creation and rotation only."},"delivery":{"type":"object","properties":{"id":{"type":"string","description":"Delivery record ID."},"endpointId":{"type":"string","description":"Destination endpoint ID."},"url":{"type":"string","format":"uri","description":"Destination URL used at delivery time."},"eventId":{"type":"string","description":"Event ID, stable across delivery retries."},"type":{"type":"string","description":"Event type. Test deliveries use webhook.test."},"status":{"type":"string","enum":["delivered","failed"],"description":"Delivery outcome."},"statusCode":{"type":["integer","null"],"description":"HTTP status from the endpoint. Null without a response."},"error":{"type":["string","null"],"description":"Failure message. Null after successful delivery."},"createdAt":{"type":"string","format":"date-time","description":"Delivery timestamp."}}}}},"example":{"endpoint":{"id":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","events":["tool_run.finished"],"enabled":true,"createdAt":"2026-01-15T12:00:00.000Z","updatedAt":"2026-01-15T12:00:00.000Z"},"secret":"<new signing secret>","delivery":{"id":"whd_8fd20315-91cc-4654-9d70-ae084e1cfa80","endpointId":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","eventId":"evt_b30f6dbc-79c1-4d78-bad1-05ec854a50b2","type":"webhook.test","status":"delivered","statusCode":204,"error":null,"createdAt":"2026-01-15T12:00:00.000Z"}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"The account has reached 10 endpoints, the URL already exists, or the endpoint changed concurrently.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 8,192 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Verification delivery failed. Ensure the public HTTPS receiver responds promptly with 2xx.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public HTTPS URL, up to 2,048 characters. Use the default port and omit user credentials and fragments."},"events":{"type":"array","items":{"type":"string"},"description":"Choose at least one event from eventTypes returned by the list endpoint. Duplicate selections are collapsed."}},"required":["url","events"]},"example":{"url":"https://example.com/webhook","events":["tool_run.finished"]}}}}}},"/api/settings/webhooks/{id}":{"patch":{"operationId":"webhooks-update","summary":"Update a webhook endpoint","description":"Change an existing endpoint’s delivery URL, subscriptions or active state.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nThe JSON request body is limited to 8,192 bytes.\n\nProvide at least one property. When the URL changes, the server verifies it before saving and includes delivery in the successful response.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-update/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-update/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint ID."},"url":{"type":"string","format":"uri","description":"Delivery URL."},"events":{"type":"array","items":{"type":"string"},"description":"Subscribed event types."},"enabled":{"type":"boolean","description":"Whether automatic deliveries are enabled."},"createdAt":{"type":"string","format":"date-time","description":"Endpoint creation timestamp."},"updatedAt":{"type":"string","format":"date-time","description":"Most recent endpoint update."}}},"delivery":{"type":"object","properties":{"id":{"type":"string","description":"Delivery record ID."},"endpointId":{"type":"string","description":"Destination endpoint ID."},"url":{"type":"string","format":"uri","description":"Destination URL used at delivery time."},"eventId":{"type":"string","description":"Event ID, stable across delivery retries."},"type":{"type":"string","description":"Event type. Test deliveries use webhook.test."},"status":{"type":"string","enum":["delivered","failed"],"description":"Delivery outcome."},"statusCode":{"type":["integer","null"],"description":"HTTP status from the endpoint. Null without a response."},"error":{"type":["string","null"],"description":"Failure message. Null after successful delivery."},"createdAt":{"type":"string","format":"date-time","description":"Delivery timestamp."}}}}},"example":{"endpoint":{"id":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","events":["tool_run.finished"],"enabled":false,"createdAt":"2026-01-15T12:00:00.000Z","updatedAt":"2026-01-15T12:00:00.000Z"}}}}},"400":{"description":"The request body or a field is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The endpoint was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"409":{"description":"The account has reached 10 endpoints, the URL already exists, or the endpoint changed concurrently.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"413":{"description":"The request body exceeds 8,192 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"415":{"description":"An application/json body is required.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Verification delivery failed. Ensure the public HTTPS receiver responds promptly with 2xx.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Webhook endpoint ID owned by this account."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public HTTPS URL, up to 2,048 characters. Use the default port and omit user credentials and fragments."},"events":{"type":"array","items":{"type":"string"},"description":"Choose at least one event from eventTypes returned by the list endpoint. Duplicate selections are collapsed."},"enabled":{"type":"boolean","description":"Whether to send subscribed live events."}}},"example":{"enabled":false}}}}},"delete":{"operationId":"webhooks-delete","summary":"Delete a webhook endpoint","description":"Remove the specified endpoint and its subscriptions, stopping future deliveries.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-delete/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-delete/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean","description":"The endpoint was deleted."}}},"example":{"deleted":true}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The endpoint was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Webhook endpoint ID owned by this account."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}]}},"/api/settings/webhooks/{id}/test":{"post":{"operationId":"webhooks-test","summary":"Send a webhook test event","description":"Send webhook.test immediately and return its delivery result.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nA failed test delivery can still return 200. Check delivery.status, delivery.statusCode and delivery.error. Paused endpoints can also be tested.\n\nThe receiver gets a JSON event and Shishu-Signature header. Verify its HMAC-SHA256 using the endpoint secret and the Unix timestamp in seconds, a dot and the raw body. Use the event ID to deduplicate.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-test/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-test/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"delivery":{"type":"object","properties":{"id":{"type":"string","description":"Delivery record ID."},"endpointId":{"type":"string","description":"Destination endpoint ID."},"url":{"type":"string","format":"uri","description":"Destination URL used at delivery time."},"eventId":{"type":"string","description":"Event ID, stable across delivery retries."},"type":{"type":"string","description":"Event type. Test deliveries use webhook.test."},"status":{"type":"string","enum":["delivered","failed"],"description":"Delivery outcome."},"statusCode":{"type":["integer","null"],"description":"HTTP status from the endpoint. Null without a response."},"error":{"type":["string","null"],"description":"Failure message. Null after successful delivery."},"createdAt":{"type":"string","format":"date-time","description":"Delivery timestamp."}}}}},"example":{"delivery":{"id":"whd_8fd20315-91cc-4654-9d70-ae084e1cfa80","endpointId":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","eventId":"evt_b30f6dbc-79c1-4d78-bad1-05ec854a50b2","type":"webhook.test","status":"delivered","statusCode":204,"error":null,"createdAt":"2026-01-15T12:00:00.000Z"}}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The endpoint was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Webhook endpoint ID owned by this account."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}]}},"/api/settings/webhooks/{id}/rotate":{"post":{"operationId":"webhooks-rotate","summary":"Rotate a webhook signing secret","description":"Replace the endpoint signing secret and return the new value.\n\nConsole session cookie.\n\nMutations require an Origin header that exactly matches the site.\n\nFuture deliveries use the new secret. Update signature verification at your receiver.","tags":["Webhooks"],"x-docs-url":"/docs/api/webhooks-rotate/","externalDocs":{"url":"https://social2api.com/docs/api/webhooks-rotate/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint ID."},"url":{"type":"string","format":"uri","description":"Delivery URL."},"events":{"type":"array","items":{"type":"string"},"description":"Subscribed event types."},"enabled":{"type":"boolean","description":"Whether automatic deliveries are enabled."},"createdAt":{"type":"string","format":"date-time","description":"Endpoint creation timestamp."},"updatedAt":{"type":"string","format":"date-time","description":"Most recent endpoint update."}}},"secret":{"type":"string","description":"Full signing secret, returned on creation and rotation only."}}},"example":{"endpoint":{"id":"wh_4a5076aa-f9ab-46e6-b383-7b1374392dc4","url":"https://example.com/webhook","events":["tool_run.finished"],"enabled":true,"createdAt":"2026-01-15T12:00:00.000Z","updatedAt":"2026-01-15T12:00:00.000Z"},"secret":"<new signing secret>"}}}},"401":{"description":"The console session is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"The browser origin check failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"The endpoint was not found for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"405":{"description":"The request method is unsupported.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"503":{"description":"This console service is not configured in the deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"security":[{"consoleSession":[]},{"localhostSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Webhook endpoint ID owned by this account."},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"},"description":"Exact origin of the current site."}]}},"/health":{"get":{"operationId":"health-get","summary":"Check service health","description":"Probe whether the instance can access its database. A healthy instance returns 200 with the text OK.\n\nPublic. No sign-in required.\n\nThe full Node backend checks connectivity with a lightweight database query.","tags":["Service operations"],"x-docs-url":"/docs/api/health-get/","externalDocs":{"url":"https://social2api.com/docs/api/health-get/"},"responses":{"200":{"description":"Success","content":{"text/plain":{"schema":{"type":"string"},"example":"OK"}}},"503":{"description":"The database is unavailable.","content":{"text/plain":{"schema":{"type":"string"},"example":"Database unavailable"}}}}},"head":{"operationId":"health-head","summary":"Check the service status code","description":"Perform the same connectivity check and inspect only the HTTP status code.\n\nPublic. No sign-in required.\n\nThe full Node backend checks connectivity with a lightweight database query.","tags":["Service operations"],"x-docs-url":"/docs/api/health-head/","externalDocs":{"url":"https://social2api.com/docs/api/health-head/"},"responses":{"200":{"description":"Success"},"503":{"description":"The database is unavailable."}}}},"/v1/catalog":{"get":{"operationId":"catalog-index","summary":"Read the extended data catalog","description":"Find published extended operations, quotes, platform groups, parameter details and documentation.\n\nPublic. No sign-in required.\n\nThe example shows the first entry. The endpoint returns the entire catalog.","tags":["Extended Data API"],"x-docs-url":"/docs/api/catalog-index/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-index/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","description":"Catalog data source."},"count":{"type":"integer","description":"Number of published extended data operations."},"revision":{"type":"string","description":"Content revision for the catalog and its quotes."},"priceBook":{"type":"object","description":"Provider price source and version."},"operations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Operation identifier."},"method":{"type":"string","enum":["GET","POST"],"description":"HTTP method."},"path":{"type":"string","description":"Request path on Social2api."},"platform":{"type":"string","description":"Platform ID."},"providers":{"type":"array","items":{"type":"string"},"description":"Mapped upstream providers in query order. Eligibility depends on the exact input."},"maxPrice":{"type":"string","description":"Upstream price cap per request in USD."},"pricingUnit":{"type":"string","enum":["call","item","minute"],"description":"Unit used in the provider’s price quote."},"unitPrice":{"type":"string","description":"Provider quote as a decimal USD string."},"documentationUrl":{"type":"string","format":"uri","description":"Absolute operation documentation URL."},"detailsUrl":{"type":"string","format":"uri","description":"Public JSON with the inputs and response contract for the operation."}}}}}},"example":{"schemaVersion":2,"source":"dataxapi","count":197,"baseUrl":"https://social2api.com","priceBook":{"version":"22","effectiveAt":"2026-11-25T13:46:46.822Z","sourceUrl":"https://dataxapi.com/prices.json","sourceRevision":"0051cce45e9530b9","openApiSourceUrl":"https://dataxapi.com/openapi.json"},"currency":"USD","platformCount":21,"platforms":[{"id":"bilibili","operationCount":10},{"id":"douyin","operationCount":27},{"id":"facebook","operationCount":4},{"id":"google","operationCount":3},{"id":"instagram","operationCount":8},{"id":"kuaishou","operationCount":9},{"id":"linkedin","operationCount":5},{"id":"meta","operationCount":1},{"id":"pinterest","operationCount":2},{"id":"reddit","operationCount":9},{"id":"telegram","operationCount":3},{"id":"threads","operationCount":4},{"id":"tiktok","operationCount":10},{"id":"wechat_channels","operationCount":14},{"id":"wechat_mp","operationCount":7},{"id":"wechat","operationCount":3},{"id":"weibo","operationCount":12},{"id":"x","operationCount":21},{"id":"xiaohongshu","operationCount":19},{"id":"youtube","operationCount":10},{"id":"zhihu","operationCount":16}],"links":{"openapi":"https://social2api.com/openapi.json","catalog":"https://social2api.com/v1/catalog","prices":"https://social2api.com/prices.json","catalogPricing":"https://social2api.com/pricing-catalog.json","status":"https://social2api.com/api/status","apiCatalog":"https://social2api.com/.well-known/api-catalog","oauth":"https://social2api.com/.well-known/oauth-protected-resource","docs":"https://social2api.com/docs/","agents":"https://social2api.com/agents.md","mcp":"https://social2api.com/mcp","mcpDiscovery":"https://social2api.com/mcp/discovery","evaluation":"https://social2api.com/agent-capabilities.json","trial":"https://social2api.com/api/trial","weeklyReport":"https://social2api.com/api/workflows/chinese-social-weekly-report"},"chargeAccount":"caller_dataxapi_account","social2apiCreditsPerCall":0,"operations":[{"providers":["dataxapi","socialtoai"],"id":"bilibili.backup.users.videos.list","platform":"bilibili","method":"GET","path":"/v1/bilibili/backup/users/videos/list","pricingUnit":"call","unitPrice":"0.03","maxPrice":"0.03","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0","page":{"typical":30,"max":30,"cursorTtlSeconds":3600},"documentation":"/docs/api/catalog-bilibili-backup-users-videos-list/","priceProvider":"DataXAPI","documentationUrl":"https://social2api.com/docs/api/catalog-bilibili-backup-users-videos-list/","detailsUrl":"https://social2api.com/v1/catalog/capabilities/bilibili.backup.users.videos.list"}]}}}},"405":{"description":"Use GET to read the catalog.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}}}},"/v1/catalog/capabilities/{id}":{"get":{"operationId":"catalog-capability","summary":"Read one extended operation contract","description":"Look up inputs, docs, the response contract and the quote by catalog operation ID.\n\nPublic. No sign-in required.\n\nReading the contract does not run the data operation.","tags":["Extended Data API"],"x-docs-url":"/docs/api/catalog-capability/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-capability/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Operation ID."},"revision":{"type":"string","description":"Content revision shared with the catalog list."},"method":{"type":"string","enum":["GET","POST"],"description":"HTTP method for the data request."},"path":{"type":"string","description":"Path for the data request."},"providers":{"type":"array","items":{"type":"string"},"description":"Mapped upstream providers in query order."},"inputs":{"type":"object","properties":{"query":{"type":"array","items":{"type":"object"},"description":"Query parameters and their constraints."},"jsonBody":{"type":"object","description":"JSON request body schema and example, where applicable."}}},"authentication":{"type":"object","properties":{"providerKeyHeader":{"type":"string","description":"Required DataXAPI key header when calling the operation."},"optionalProviderKeyHeaders":{"type":"object","description":"Other supported providers and their optional key headers."}}},"response":{"type":"object","properties":{"contract":{"type":"string","format":"uri","description":"Pointer to this operation in OpenAPI."}}},"unitPrice":{"type":"string","description":"Provider quote as a decimal USD string."},"maxPrice":{"type":"string","description":"Upstream price cap per request as a decimal USD string."}}},"example":{"schemaVersion":1,"baseUrl":"https://social2api.com","providers":["dataxapi","socialtoai"],"id":"bilibili.backup.users.videos.list","platform":"bilibili","method":"GET","path":"/v1/bilibili/backup/users/videos/list","pricingUnit":"call","unitPrice":"0.03","maxPrice":"0.03","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0","page":{"typical":30,"max":30,"cursorTtlSeconds":3600},"documentation":"/docs/api/catalog-bilibili-backup-users-videos-list/","priceProvider":"DataXAPI","documentationUrl":"https://social2api.com/docs/api/catalog-bilibili-backup-users-videos-list/","detailsUrl":"https://social2api.com/v1/catalog/capabilities/bilibili.backup.users.videos.list","currency":"USD","chargeAccount":"caller_dataxapi_account","priceBook":{"version":"22","effectiveAt":"2026-11-25T13:46:46.822Z","sourceUrl":"https://dataxapi.com/prices.json","sourceRevision":"0051cce45e9530b9","openApiSourceUrl":"https://dataxapi.com/openapi.json"},"authentication":{"social2apiKeyScope":"catalog","providerKeyHeader":"X-DataXAPI-Key","optionalProviderKeyHeaders":{"socialtoai":"X-SocialToAI-Key"}},"inputs":{"query":[{"name":"id","required":true,"schema":{"type":"string"},"example":"8047632"},{"name":"cursor","required":false,"schema":{"type":"string"}},{"name":"view","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"}},{"name":"fields","required":false,"schema":{"type":"array","items":{"type":"string"}},"explode":false}]},"response":{"shape":"items","contract":"https://social2api.com/openapi.json#/paths/~1v1~1bilibili~1backup~1users~1videos~1list/get"}}}}},"404":{"description":"The operation is absent from the catalog.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"Use GET to read the contract.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"The catalog operation ID. GET and POST may use different IDs.","example":"bilibili.backup.users.videos.list"}]}},"/v1/bilibili/backup/users/videos/list":{"get":{"operationId":"catalog-bilibili-backup-users-videos-list","summary":"Bilibili users videos (backup)","description":"Bilibili users videos (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.03 per request. Social2api caps DataXAPI at USD 0.03 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-backup-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-backup-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.backup.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.03","maxPrice":"0.03","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"8047632"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/comments/replies/list":{"get":{"operationId":"catalog-bilibili-comments-replies-list","summary":"Bilibili comments replies","description":"Bilibili comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"BV1iWtR6pEFP","parent_id":"316663705296"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"BV1iWtR6pEFP","parent_id":"316663705296"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"316663705296"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"BV1iWtR6pEFP"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/trends/list":{"get":{"operationId":"catalog-bilibili-trends-list","summary":"Bilibili trends","description":"Bilibili trends. Returns data.items in one request, up to 50 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot_search"],"default":"hot_search"},"description":"Name of the trend board. Defaults to hot_search.","example":"hot_search"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/users/get":{"get":{"operationId":"catalog-bilibili-users-get","summary":"Bilibili users details","description":"Bilibili users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"8047632","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"bilibili.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"8047632"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/users/videos/list":{"get":{"operationId":"catalog-bilibili-users-videos-list","summary":"Bilibili users videos","description":"Bilibili users videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"8047632"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/videos/comments/list":{"get":{"operationId":"catalog-bilibili-videos-comments-list","summary":"Bilibili videos comments","description":"Bilibili videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI latest pages can contain fewer than 20 comments. Use returned and the cursor to track coverage instead of multiplying pages by the maximum.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"BV1ECeJ65EZS","ext":{"author_level":4}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"BV1ECeJ65EZS","ext":{"author_level":4}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"DataXAPI takes a 12-character BV ID beginning with BV1, for example BV1ECeJ65EZS.","example":"BV1ECeJ65EZS"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["popular","latest"],"default":"popular"},"description":"Sort order for the results. Defaults to popular.","example":"popular"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/videos/get":{"get":{"operationId":"catalog-bilibili-videos-get","summary":"Bilibili videos details","description":"Bilibili videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"bilibili.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.videos.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"BV1ECeJ65EZS"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.bilibili.com/video/BV1ECeJ65EZS"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/videos/search":{"get":{"operationId":"catalog-bilibili-videos-search","summary":"Bilibili videos search","description":"Bilibili videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.videos.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"机械键盘"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/videos/transcript/get":{"get":{"operationId":"catalog-bilibili-videos-transcript-get","summary":"Bilibili videos transcript","description":"Bilibili videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.004 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.023 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"BV1ECeJ65EZS","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"bilibili.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"BV1ECeJ65EZS","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"bilibili.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.videos.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.004","maxPrice":"0.023","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, job.","example":"BV1ECeJ65EZS"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, job.","example":"https://www.bilibili.com/video/BV1ECeJ65EZS"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, job.","example":"tr_047_BiliExampleJob000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/bilibili/videos/trending":{"get":{"operationId":"catalog-bilibili-videos-trending","summary":"Bilibili videos trending","description":"Bilibili videos trending. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Bilibili API"],"x-docs-url":"/docs/api/catalog-bilibili-videos-trending/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-bilibili-videos-trending/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.bilibili.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"BV1ECeJ65EZS","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"bilibili.videos.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"bilibili.videos.trending","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/backup/users/videos/list":{"get":{"operationId":"catalog-douyin-backup-users-videos-list","summary":"Douyin users videos (backup)","description":"Douyin users videos (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.03 per request. Social2api caps DataXAPI at USD 0.03 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-backup-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-backup-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.backup.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.03","maxPrice":"0.03","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/user/MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/backup/videos/search":{"get":{"operationId":"catalog-douyin-backup-videos-search","summary":"Douyin videos search (backup)","description":"Douyin videos search (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 8 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.03 per request. Social2api caps DataXAPI at USD 0.03 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-backup-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-backup-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.backup.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.backup.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.backup.videos.search","x-upstream-pricing":{"unit":"call","price":"0.03","maxPrice":"0.03","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/comments/replies/list":{"get":{"operationId":"catalog-douyin-comments-replies-list","summary":"Douyin comments replies","description":"Douyin comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7655283400210664719","parent_id":"7655660369926603557"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7655283400210664719","parent_id":"7655660369926603557"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"7655660369926603557"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"7655283400210664719"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/hashtags/videos/list":{"get":{"operationId":"catalog-douyin-hashtags-videos-list","summary":"Douyin hashtags videos","description":"Douyin hashtags videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 10 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-hashtags-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-hashtags-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.hashtags.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.hashtags.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.hashtags.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"7495235888088090635"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","popular","latest"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/index/creators/videos/list":{"get":{"operationId":"catalog-douyin-index-creators-videos-list","summary":"Douyin index creators videos","description":"Douyin index creators videos. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI returns up to 20 results ranked by likes, without view counts. A page below 20 still cannot establish complete date-window coverage. Use the account video list with its cursor and filter by published_at for an archive.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-index-creators-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-index-creators-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-09-01T00:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.index.creators.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.index.creators.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Numeric Douyin account ID. On DataXAPI use the account identifier recognized by Ocean Engine.","example":"66598046050"},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"description":"ISO 8601 start with a timezone. On DataXAPI, the window can span at most 30 days.","example":"2026-09-01T00:00:00Z"},{"name":"until","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"description":"ISO 8601 end with a timezone. DataXAPI has observed returns limited to popular videos posted in the last day or two before the end date.","example":"2026-09-30T00:00:00Z"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/index/keywords/history":{"get":{"operationId":"catalog-douyin-index-keywords-history","summary":"Douyin daily keyword search index API","description":"Douyin daily keyword search index API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nJoin series by data.items[].keyword and points[].date. search_index and composite_index are the search and composite indices. Recent data may lag and an unavailable value stays null.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.006 per request. Social2api caps DataXAPI at USD 0.006 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-index-keywords-history/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-index-keywords-history/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.keyword_history"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.keyword_history"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"keyword":"咖啡","points":[{"date":"2026-11-01T00:00:00Z","search_index":1200,"composite_index":890}]}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.index.keywords.history","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.index.keywords.history","x-upstream-pricing":{"unit":"call","price":"0.006","maxPrice":"0.006","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.006"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"keyword","in":"query","required":true,"schema":{"type":"string","maxLength":50,"pattern":"^[^,]+$"},"description":"One keyword of up to 50 characters, without a comma.","example":"咖啡"},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"An ISO 8601 start with a timezone. The UTC+8 calendar day is inclusive. Defaults to the first of the 30 days ending on until.","example":"2026-11-01T00:00:00+08:00"},{"name":"until","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"An ISO 8601 end with a timezone. The UTC+8 calendar day is inclusive. Defaults to yesterday in China Standard Time.","example":"2026-11-07T00:00:00+08:00"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]},"post":{"operationId":"catalog-douyin-index-keywords-history-batch","summary":"Douyin batch daily keyword search index API","description":"Douyin batch daily keyword search index API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nJoin series by data.items[].keyword and points[].date. search_index and composite_index are the search and composite indices. Recent data may lag and an unavailable value stays null.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nThe JSON body limit is 16,000 bytes. Send fields as a JSON array such as [\"id\",\"metrics.followers\"].\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.006 per request. Social2api caps DataXAPI at USD 0.006 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-index-keywords-history-batch/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-index-keywords-history-batch/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.keyword_history"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.keyword_history"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"keyword":"咖啡","points":[{"date":"2026-11-01T00:00:00Z","search_index":1200,"composite_index":890}]},{"keyword":"CityWalk","points":[{"date":"2026-11-01T00:00:00Z","search_index":1200,"composite_index":890}]}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":2},"warnings":[],"meta":{"capability":"douyin.index.keywords.history.batch","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"415":{"description":"Use application/json for the request body.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.index.keywords.history.batch","x-upstream-pricing":{"unit":"call","price":"0.006","maxPrice":"0.006","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.006"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["keywords"],"properties":{"keywords":{"type":"array","items":{"type":"string","maxLength":50,"pattern":"^[^,]+$"},"minItems":1,"maxItems":5},"since":{"type":"string","format":"date-time"},"until":{"type":"string","format":"date-time"},"view":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"fields":{"type":"array","items":{"type":"string"},"minItems":1}}},"example":{"keywords":["咖啡","CityWalk"]}}}}}},"/v1/douyin/index/trends/list":{"get":{"operationId":"catalog-douyin-index-trends-list","summary":"Douyin index trends","description":"Douyin index trends. Returns data.items in one request, up to 50 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-index-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-index-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.index.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.index.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["topics","rising"],"default":"topics"},"description":"Name of the trend board. Defaults to topics.","example":"topics"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/index/videos/search":{"get":{"operationId":"catalog-douyin-index-videos-search","summary":"Douyin index videos search","description":"Douyin index videos search. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-index-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-index-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.index.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.index.videos.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/music/get":{"get":{"operationId":"catalog-douyin-music-get","summary":"Douyin music details","description":"Douyin music details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-music-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-music-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.music"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"1234567890","title":"Example track","author":"Example artist","duration":42}},"warnings":[],"meta":{"capability":"douyin.music.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.music.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"7694940164468722473"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/trends/list":{"get":{"operationId":"catalog-douyin-trends-list","summary":"Douyin trends","description":"Douyin trends. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 50 results. Maximum 51 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot_search","rising","topics","searches","music"],"default":"hot_search"},"description":"Name of the trend board. Defaults to hot_search.","example":"hot_search"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/users/get":{"get":{"operationId":"catalog-douyin-users-get","summary":"Douyin users details","description":"Douyin users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"douyin.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/user/MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/users/search":{"get":{"operationId":"catalog-douyin-users-search","summary":"Douyin users search","description":"Douyin users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4490287994590195","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4490287994590195","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.users.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"博物馆"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/users/videos/list":{"get":{"operationId":"catalog-douyin-users-videos-list","summary":"Douyin users videos","description":"Douyin users videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/user/MS4wLjABAAAAZ0aPDJzFhBrs0q3wVsp2a9WWrBuAUMsVyygoaO0bCw8"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/comments/list":{"get":{"operationId":"catalog-douyin-videos-comments-list","summary":"Douyin videos comments","description":"Douyin videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7694940173372575014"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7694940173372575014"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7694940173372575014"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/video/7694940173372575014"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/get":{"get":{"operationId":"catalog-douyin-videos-get","summary":"Douyin videos details","description":"Douyin videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"douyin.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7694940173372575014"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/video/7694940173372575014"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/metrics":{"get":{"operationId":"catalog-douyin-videos-metrics","summary":"Douyin videos metrics","description":"Douyin videos metrics. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"douyin.videos.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.metrics","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7694940173372575014"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/video/7694940173372575014"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/related":{"get":{"operationId":"catalog-douyin-videos-related","summary":"Douyin videos related results","description":"Douyin videos related results. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-related/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-related/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.related","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.related","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"7694940173372575014"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/search":{"get":{"operationId":"catalog-douyin-videos-search","summary":"Douyin videos search","description":"Douyin videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 8 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/transcript/get":{"get":{"operationId":"catalog-douyin-videos-transcript-get","summary":"Douyin videos transcript","description":"Douyin videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI direct docs specify a 24-hour job lifetime, a normally synchronous result up to five minutes, and a two-hour limit for longer direct jobs. The Social2api DataXAPI route has a $0.021 cap per request, so its long-job support cannot be inferred from the direct duration limit. Look for ext.srt in full view.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.002 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.021 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"7694940173372575014","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}],"ext":{"srt":"1\n00:00:00,000 --> 00:00:01,600\nA sample transcript."}}},"warnings":[],"meta":{"capability":"douyin.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"7694940173372575014","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"douyin.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.002","maxPrice":"0.021","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, job.","example":"7694940173372575014"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, job.","example":"https://www.douyin.com/video/7694940173372575014"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, job.","example":"tr_047_DyExampleJob00000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/videos/trending":{"get":{"operationId":"catalog-douyin-videos-trending","summary":"Douyin videos trending","description":"Douyin videos trending. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 9 results. Maximum 10 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-videos-trending/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-videos-trending/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7694940173372575014","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.videos.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.videos.trending","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["low_fan","high_like","high_completion","high_follow"],"default":"low_fan"},"description":"Name of the trend board. Defaults to low_fan.","example":"low_fan"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/xingtu/creators/audience/get":{"get":{"operationId":"catalog-douyin-xingtu-creators-audience-get","summary":"Douyin Xingtu creators audience details","description":"Douyin Xingtu creators audience details. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-creators-audience-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-creators-audience-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.audience"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"creator_id":"6763236383382306828","age":[{"name":"25-34","share":0.32}]}},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.audience.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.creators.audience.get","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"6763236383382306828"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/xingtu/creators/get":{"get":{"operationId":"catalog-douyin-xingtu-creators-get","summary":"Douyin Xingtu creator profile API","description":"Douyin Xingtu creator profile API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-creators-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-creators-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.creator"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.creator"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"6763236383382306828","name":"Example creator","metrics":{"followers":12000}}},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.creators.get","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the numeric string in id from Xingtu creator search.","example":"6763236383382306828"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/xingtu/creators/metrics":{"get":{"operationId":"catalog-douyin-xingtu-creators-metrics","summary":"Douyin Xingtu creator performance API","description":"Douyin Xingtu creator performance API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nUse window=30d or 90d for video count, median views, engagement and completion. Read currency alongside any cost estimates.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-creators-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-creators-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.xingtu_creator_metrics"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"creator_id":"6763236383382306828","videos":16,"median_views":28000,"engagement_rate":0.035}},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.creators.metrics","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.004"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the numeric string in id from Xingtu creator search.","example":"6763236383382306828"},{"name":"window","in":"query","required":false,"schema":{"type":"string","enum":["30d","90d"],"default":"30d"},"description":"Time window for the platform’s statistics. Defaults to 30d.","example":"30d"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/xingtu/creators/rates/get":{"get":{"operationId":"catalog-douyin-xingtu-creators-rates-get","summary":"Douyin Xingtu creators rates details","description":"Douyin Xingtu creators rates details. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-creators-rates-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-creators-rates-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.creator_rates"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"creator_id":"6629656444889202692","currency":"CNY","rates":[{"name":"植入视频","amount":"10000","settlement":"固定价格","open":true}]}},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.rates.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.creators.rates.get","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"6629656444889202692"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/douyin/xingtu/creators/search":{"get":{"operationId":"catalog-douyin-xingtu-creators-search","summary":"Douyin Xingtu creators search","description":"Douyin Xingtu creators search. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-creators-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-creators-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.creator"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.creator"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4490287994590195","name":"Example creator","metrics":{"followers":12000}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4490287994590195","name":"Example creator","metrics":{"followers":12000}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"douyin.xingtu.creators.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.creators.search","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"美食"},{"name":"followers_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":100000},{"name":"followers_max","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":1000000},{"name":"cpm_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":10},{"name":"cpm_max","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":50},{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["female","male"]},"description":"Creator gender filter.","example":"female"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","lowest_cpm"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"lowest_cpm"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false}]}},"/v1/douyin/xingtu/videos/get":{"get":{"operationId":"catalog-douyin-xingtu-videos-get","summary":"Douyin Xingtu videos details","description":"Douyin Xingtu videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Douyin API"],"x-docs-url":"/docs/api/catalog-douyin-xingtu-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-douyin-xingtu-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.douyin.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"7667629259711844858","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"douyin.xingtu.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"douyin.xingtu.videos.get","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.004"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7667629259711844858"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.douyin.com/video/7667629259711844858"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/facebook/pages/get":{"get":{"operationId":"catalog-facebook-pages-get","summary":"Facebook pages details","description":"Facebook pages details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Facebook API"],"x-docs-url":"/docs/api/catalog-facebook-pages-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-facebook-pages-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.facebook.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"100044561550831","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"facebook.pages.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"facebook.pages.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","username","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username, url.","example":"100044561550831"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username, url.","example":"NASA"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, username, url.","example":"https://www.facebook.com/NASA"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/facebook/pages/posts/list":{"get":{"operationId":"catalog-facebook-pages-posts-list","summary":"Facebook pages posts","description":"Facebook pages posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 3 results. Maximum 3 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Facebook API"],"x-docs-url":"/docs/api/catalog-facebook-pages-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-facebook-pages-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"122186107472549937","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"facebook.pages.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"122186107472549937","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"facebook.pages.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"facebook.pages.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","username","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username, url.","example":"100044561550831"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username, url.","example":"NASA"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, username, url.","example":"https://www.facebook.com/NASA"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/facebook/posts/comments/list":{"get":{"operationId":"catalog-facebook-posts-comments-list","summary":"Facebook posts comments","description":"Facebook posts comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 10 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Facebook API"],"x-docs-url":"/docs/api/catalog-facebook-posts-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-facebook-posts-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.comment"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"1650176549811048"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"facebook.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"1650176549811048"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"facebook.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"facebook.posts.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"1650176549811048"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/facebook/posts/get":{"get":{"operationId":"catalog-facebook-posts-get","summary":"Facebook posts details","description":"Facebook posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Facebook API"],"x-docs-url":"/docs/api/catalog-facebook-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-facebook-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"122186107472549937","type":"text","url":"https://www.facebook.com/reel/2166091230582141","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"facebook.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"facebook.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials.","example":"https://www.facebook.com/reel/2166091230582141"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/google/ads/get":{"get":{"operationId":"catalog-google-ads-get","summary":"Google Ads Transparency Center ads details","description":"Google Ads Transparency Center ads details. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Google Ads Transparency Center API"],"x-docs-url":"/docs/api/catalog-google-ads-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-google-ads-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.ad"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.google.ad"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"example-topic","name":"Example topic","rank":1}},"warnings":[],"meta":{"capability":"google.ads.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"google.ads.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"AR16735076323512287233/CR13384474926044413953"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR13384474926044413953"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false}]}},"/v1/google/advertisers/ads/list":{"get":{"operationId":"catalog-google-advertisers-ads-list","summary":"Google Ads Transparency Center advertisers ads","description":"Google Ads Transparency Center advertisers ads. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 40 results. Maximum 40 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Google Ads Transparency Center API"],"x-docs-url":"/docs/api/catalog-google-advertisers-ads-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-google-advertisers-ads-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.ad"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"google.advertisers.ads.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"google.advertisers.ads.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"google.advertisers.ads.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"AR16735076323512287233"},{"name":"region","in":"query","required":false,"schema":{"type":"string"},"description":"Country or region code for the query.","example":"US"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["text","image","video"]},"description":"Content type to include in the results.","example":"video"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false}]}},"/v1/google/advertisers/search":{"get":{"operationId":"catalog-google-advertisers-search","summary":"Google Ads Transparency Center advertisers search","description":"Google Ads Transparency Center advertisers search. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["Google Ads Transparency Center API"],"x-docs-url":"/docs/api/catalog-google-advertisers-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-google-advertisers-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.advertiser"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.google.advertiser"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"google.advertisers.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"google.advertisers.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"nike"},{"name":"region","in":"query","required":false,"schema":{"type":"string"},"description":"Country or region code for the query.","example":"US"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false}]}},"/v1/instagram/comments/replies/list":{"get":{"operationId":"catalog-instagram-comments-replies-list","summary":"Instagram comments replies","description":"Instagram comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nKeep the shortcode and parent comment ID from your request when joining rows. The DataXAPI reply response can omit post_id.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 15 results. Maximum 15 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.comment"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"parent_id":"17968670751170878"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"instagram.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"parent_id":"17968670751170878"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"instagram.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"On DataXAPI use the numeric parent comment ID returned by the first-level comment list.","example":"17968670751170878"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"On DataXAPI use the shortcode after /p/ or /reel/ in the original post URL. Extract and keep it from the original URL before reading top-level comments.","example":"DeCPVhERA8e"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/hashtags/posts/list":{"get":{"operationId":"catalog-instagram-hashtags-posts-list","summary":"Instagram hashtags posts","description":"Instagram hashtags posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 33 results. Maximum 35 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-hashtags-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-hashtags-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.instagram.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"DeCPVhERA8e","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"instagram.hashtags.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"DeCPVhERA8e","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"instagram.hashtags.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.hashtags.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"nasa"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/posts/comments/list":{"get":{"operationId":"catalog-instagram-posts-comments-list","summary":"Instagram posts comments","description":"Instagram posts comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI responses can omit post_id. Keep both the original post shortcode and each numeric comment ID for the reply request.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 15 results. Maximum 15 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-posts-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-posts-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.comment"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"instagram.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"instagram.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.posts.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"On DataXAPI use the shortcode at the end of the original /p/ or /reel/ post URL. Supply one of id, url.","example":"DeCPVhERA8e"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.instagram.com/p/DeCPVhERA8e/"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/posts/get":{"get":{"operationId":"catalog-instagram-posts-get","summary":"Instagram posts details","description":"Instagram posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.instagram.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"DeCPVhERA8e","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","url":"https://www.instagram.com/p/DeCPVhERA8e/"}},"warnings":[],"meta":{"capability":"instagram.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"DataXAPI takes the shortcode after /p/ or /reel/ in the post URL, such as DeCPVhERA8e. Supply one of id, url.","example":"DeCPVhERA8e"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.instagram.com/p/DeCPVhERA8e/"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/posts/transcript/get":{"get":{"operationId":"catalog-instagram-posts-transcript-get","summary":"Instagram posts transcript","description":"Instagram posts transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI supports public Reels up to two minutes and returns transcript text. Use the same shortcode in post details for the post caption. Language and timed segments are unavailable on this route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-posts-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-posts-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"DeCPVhERA8e","status":"done","text":"A sample transcript."}},"warnings":[],"meta":{"capability":"instagram.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.posts.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"DeCPVhERA8e"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.instagram.com/p/DeCPVhERA8e/"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/users/get":{"get":{"operationId":"catalog-instagram-users-get","summary":"Instagram users details","description":"Instagram users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.instagram.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"25025320","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}},"warnings":[],"meta":{"capability":"instagram.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/users/posts/list":{"get":{"operationId":"catalog-instagram-users-posts-list","summary":"Instagram users posts","description":"Instagram users posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 12 results. Maximum 12 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-users-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-users-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.instagram.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"DeCPVhERA8e","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"instagram.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"DeCPVhERA8e","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"instagram.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.users.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["all","reel"],"default":"all"},"description":"Content type to include in the results. Defaults to all.","example":"all"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/instagram/users/search":{"get":{"operationId":"catalog-instagram-users-search","summary":"Instagram users search","description":"Instagram users search. Returns data.items in one request, up to 50 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.004 per request. Social2api caps DataXAPI at USD 0.004 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Instagram API"],"x-docs-url":"/docs/api/catalog-instagram-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-instagram-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.instagram.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"25025320","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"instagram.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"instagram.users.search","x-upstream-pricing":{"unit":"call","price":"0.004","maxPrice":"0.004","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.004","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"nike"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/comments/replies/list":{"get":{"operationId":"catalog-kuaishou-comments-replies-list","summary":"Kuaishou comments replies","description":"Kuaishou comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 12 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"3xgarycnydawq3g","parent_id":"908850553827"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"3xgarycnydawq3g","parent_id":"908850553827"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"908850553827"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"3xgarycnydawq3g"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/trends/list":{"get":{"operationId":"catalog-kuaishou-trends-list","summary":"Kuaishou trends","description":"Kuaishou trends. Returns data.items in one request, up to 60 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.trend"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/users/get":{"get":{"operationId":"catalog-kuaishou-users-get","summary":"Kuaishou users details","description":"Kuaishou users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"917792206","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"kuaishou.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.users.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"917792206"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/users/search":{"get":{"operationId":"catalog-kuaishou-users-search","summary":"Kuaishou users search","description":"Kuaishou users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"917792206","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"917792206","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.users.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"人民日报"},{"name":"filter","in":"query","required":false,"schema":{"type":"string","enum":["verified","live"]},"description":"Filter value applied to the results.","example":"live"},{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["female","male"]},"description":"Creator gender filter.","example":"female"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","most_followers","fewest_followers"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"most_followers"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/users/videos/list":{"get":{"operationId":"catalog-kuaishou-users-videos-list","summary":"Kuaishou users videos","description":"Kuaishou users videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3x5pf8ia4zc76tc","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3x5pf8ia4zc76tc","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0","variants":[{"parameter":"sort","value":"popular","pricingUnit":"call","unitPrice":"0.002","maxPrice":"0.002","chargeWhenEmpty":"0.002"}]},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"DataXAPI takes the numeric user ID, such as 917792206, which differs from the displayed Kuaishou handle.","example":"917792206"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["latest","popular"],"default":"latest"},"description":"Sort order for the results. Defaults to latest. sort=popular · USD 0.002 per request, with a branch cap of USD 0.002 per request.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/videos/comments/list":{"get":{"operationId":"catalog-kuaishou-videos-comments-list","summary":"Kuaishou videos comments","description":"Kuaishou videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 40 results. Maximum 40 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"3x5pf8ia4zc76tc"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"3x5pf8ia4zc76tc"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"3x5pf8ia4zc76tc"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.kuaishou.com/short-video/3x5pf8ia4zc76tc"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/videos/get":{"get":{"operationId":"catalog-kuaishou-videos-get","summary":"Kuaishou videos details","description":"Kuaishou videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"3x5pf8ia4zc76tc","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"kuaishou.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.videos.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"3x5pf8ia4zc76tc"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.kuaishou.com/short-video/3x5pf8ia4zc76tc"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/videos/search":{"get":{"operationId":"catalog-kuaishou-videos-search","summary":"Kuaishou videos search","description":"Kuaishou videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3x5pf8ia4zc76tc","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3x5pf8ia4zc76tc","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"kuaishou.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.videos.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营装备"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"latest"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month"]},"description":"Limit results to a relative publication window.","example":"day"},{"name":"duration","in":"query","required":false,"schema":{"type":"string","enum":["under_1_min","1_to_5_min","over_5_min"]},"description":"Filter by video duration.","example":"under_1_min"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/kuaishou/videos/transcript/get":{"get":{"operationId":"catalog-kuaishou-videos-transcript-get","summary":"Kuaishou videos transcript","description":"Kuaishou videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.002 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.021 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Kuaishou API"],"x-docs-url":"/docs/api/catalog-kuaishou-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-kuaishou-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.kuaishou.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"3x5pf8ia4zc76tc","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"kuaishou.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"3x5pf8ia4zc76tc","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"kuaishou.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"kuaishou.videos.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.002","maxPrice":"0.021","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, job.","example":"3x5pf8ia4zc76tc"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, job.","example":"https://www.kuaishou.com/short-video/3x5pf8ia4zc76tc"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, job.","example":"tr_047_KsExampleJob00000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/linkedin/companies/get":{"get":{"operationId":"catalog-linkedin-companies-get","summary":"LinkedIn companies details","description":"LinkedIn companies details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["LinkedIn API"],"x-docs-url":"/docs/api/catalog-linkedin-companies-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-linkedin-companies-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.linkedin.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"nasa","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}},"warnings":[],"meta":{"capability":"linkedin.companies.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"linkedin.companies.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["username","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of username, url.","example":"nasa"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of username, url.","example":"https://www.linkedin.com/company/nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/linkedin/companies/posts/list":{"get":{"operationId":"catalog-linkedin-companies-posts-list","summary":"LinkedIn companies posts","description":"LinkedIn companies posts. Returns data.items in one request, up to 10 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["LinkedIn API"],"x-docs-url":"/docs/api/catalog-linkedin-companies-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-linkedin-companies-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7514958241034817537","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"linkedin.companies.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"linkedin.companies.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["username","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of username, url.","example":"unesco"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of username, url.","example":"https://www.linkedin.com/company/unesco"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/linkedin/posts/get":{"get":{"operationId":"catalog-linkedin-posts-get","summary":"LinkedIn posts details","description":"LinkedIn posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["LinkedIn API"],"x-docs-url":"/docs/api/catalog-linkedin-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-linkedin-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"7514400676702195712","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"linkedin.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"linkedin.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7514400676702195712"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.linkedin.com/posts/nasa_on-thursday-oct-15-the-members-of-crew-activity-7514400676702195712-09H5"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/linkedin/posts/search":{"get":{"operationId":"catalog-linkedin-posts-search","summary":"LinkedIn posts search","description":"LinkedIn posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 10 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["LinkedIn API"],"x-docs-url":"/docs/api/catalog-linkedin-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-linkedin-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7514958241034817537","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"linkedin.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7514958241034817537","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"linkedin.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"linkedin.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"ai agents"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month","year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/linkedin/posts/transcript/get":{"get":{"operationId":"catalog-linkedin-posts-transcript-get","summary":"LinkedIn posts transcript","description":"LinkedIn posts transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["LinkedIn API"],"x-docs-url":"/docs/api/catalog-linkedin-posts-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-linkedin-posts-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"7514958241034817537","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"linkedin.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"linkedin.posts.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7514958241034817537"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.linkedin.com/feed/update/urn:li:activity:7514958241034817537"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/meta/ads/transcript/get":{"get":{"operationId":"catalog-meta-ads-transcript-get","summary":"Meta ads transcript","description":"Meta ads transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Meta API"],"x-docs-url":"/docs/api/catalog-meta-ads-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-meta-ads-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"974466855339122","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"meta.ads.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"meta.ads.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"974466855339122"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.facebook.com/ads/library/?id=974466855339122"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/pinterest/pins/get":{"get":{"operationId":"catalog-pinterest-pins-get","summary":"Pinterest pins details","description":"Pinterest pins details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Pinterest API"],"x-docs-url":"/docs/api/catalog-pinterest-pins-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-pinterest-pins-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.pinterest.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"4601834496922433600","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","url":"https://www.pinterest.com/pin/4601834496922433600/","images":["https://example.com/illustration.jpg"]}},"warnings":[],"meta":{"capability":"pinterest.pins.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"pinterest.pins.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"DataXAPI takes the pin ID as a decimal string, for example 4601834496922433600. Supply one of id, url.","example":"4601834496922433600"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.pinterest.com/pin/4601834496922433600/"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/pinterest/pins/search":{"get":{"operationId":"catalog-pinterest-pins-search","summary":"Pinterest pins search","description":"Pinterest pins search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 50 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Pinterest API"],"x-docs-url":"/docs/api/catalog-pinterest-pins-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-pinterest-pins-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.pinterest.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4601834496922433600","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"pinterest.pins.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"4601834496922433600","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"pinterest.pins.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"pinterest.pins.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"mid century living room"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/posts/comments/list":{"get":{"operationId":"catalog-reddit-posts-comments-list","summary":"Reddit posts comments","description":"Reddit posts comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 8 results. Maximum 200 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-posts-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-posts-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t1_example","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"t3_1nnrvkr"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t1_example","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"t3_1nnrvkr"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.posts.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"t3_1nnrvkr"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.reddit.com/r/nasa/comments/1nnrvkr/"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["best","latest","popular"],"default":"best"},"description":"Sort order for the results. Defaults to best.","example":"best"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/posts/get":{"get":{"operationId":"catalog-reddit-posts-get","summary":"Reddit posts details","description":"Reddit posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"reddit.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"DataXAPI takes a Reddit post ID with the t3_ prefix, for example t3_1nnrvkr. A comment has a different identifier. Supply one of id, url.","example":"t3_1nnrvkr"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.reddit.com/r/nasa/comments/1nnrvkr/"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/posts/search":{"get":{"operationId":"catalog-reddit-posts-search","summary":"Reddit posts search","description":"Reddit posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 7 results. Maximum 25 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"saturn rings"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month","year"]},"description":"Limit results to a relative publication window.","example":"month"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/posts/transcript/get":{"get":{"operationId":"catalog-reddit-posts-transcript-get","summary":"Reddit posts transcript","description":"Reddit posts transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-posts-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-posts-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"t3_1gea6yx","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"reddit.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.posts.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"t3_1gea6yx"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.reddit.com/comments/1gea6yx/"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/posts/trending":{"get":{"operationId":"catalog-reddit-posts-trending","summary":"Reddit posts trending","description":"Reddit posts trending. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 7 results. Maximum 25 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-posts-trending/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-posts-trending/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"reddit.posts.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.posts.trending","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["popular"],"default":"popular"},"description":"Name of the trend board. Defaults to popular.","example":"popular"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/subreddits/posts/list":{"get":{"operationId":"catalog-reddit-subreddits-posts-list","summary":"Reddit subreddits posts","description":"Reddit subreddits posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 25 results. Maximum 25 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-subreddits-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-subreddits-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.subreddits.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"reddit.subreddits.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.subreddits.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"nasa"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["hot","latest","popular"],"default":"hot"},"description":"Sort order for the results. Defaults to hot.","example":"hot"},{"name":"window","in":"query","required":false,"schema":{"type":"string","enum":["24h","7d","30d","365d","all"]},"description":"Time window for the platform’s statistics.","example":"all"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/trends/list":{"get":{"operationId":"catalog-reddit-trends-list","summary":"Reddit trends","description":"Reddit trends. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.trend"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["searches"],"default":"searches"},"description":"Name of the trend board. Defaults to searches.","example":"searches"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/users/get":{"get":{"operationId":"catalog-reddit-users-get","summary":"Reddit users details","description":"Reddit users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"example_user","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}},"warnings":[],"meta":{"capability":"reddit.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/reddit/users/posts/list":{"get":{"operationId":"catalog-reddit-users-posts-list","summary":"Reddit users posts","description":"Reddit users posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 25 results. Maximum 25 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Reddit API"],"x-docs-url":"/docs/api/catalog-reddit-users-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-reddit-users-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.reddit.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"reddit.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"t3_1nnrvkr","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"reddit.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"reddit.users.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/telegram/channels/get":{"get":{"operationId":"catalog-telegram-channels-get","summary":"Telegram channels details","description":"Telegram channels details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Telegram API"],"x-docs-url":"/docs/api/catalog-telegram-channels-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-telegram-channels-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"telegram","name":"Example contributor","metrics":{"followers":120},"username":"telegram"}},"warnings":[],"meta":{"capability":"telegram.channels.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"telegram.channels.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"telegram"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/telegram/channels/messages/list":{"get":{"operationId":"catalog-telegram-channels-messages-list","summary":"Telegram channels messages","description":"Telegram channels messages. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Telegram API"],"x-docs-url":"/docs/api/catalog-telegram-channels-messages-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-telegram-channels-messages-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.telegram.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"telegram/401","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","url":"https://t.me/telegram/401"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"telegram.channels.messages.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"telegram/401","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","url":"https://t.me/telegram/401"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"telegram.channels.messages.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"telegram.channels.messages.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"telegram"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/telegram/messages/get":{"get":{"operationId":"catalog-telegram-messages-get","summary":"Telegram messages details","description":"Telegram messages details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Telegram API"],"x-docs-url":"/docs/api/catalog-telegram-messages-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-telegram-messages-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.telegram.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"telegram/401","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","url":"https://t.me/telegram/401"}},"warnings":[],"meta":{"capability":"telegram.messages.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"telegram.messages.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"DataXAPI takes the channel username and message number separated by a slash, such as telegram/401. Supply one of id, url.","example":"telegram/401"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://t.me/telegram/401"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/threads/posts/get":{"get":{"operationId":"catalog-threads-posts-get","summary":"Threads posts details","description":"Threads posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Threads API"],"x-docs-url":"/docs/api/catalog-threads-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-threads-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.threads.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"Dc3vb5DES3i","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"threads.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"threads.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"Dc3vb5DES3i"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.threads.com/t/Dc3vb5DES3i"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/threads/posts/search":{"get":{"operationId":"catalog-threads-posts-search","summary":"Threads posts search","description":"Threads posts search. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nFor example, 2026-10-01T07:59:59+08:00 falls on September 30 UTC, while 2026-10-01T08:00:00+08:00 falls on October 1 UTC. Use Z to make the intended UTC dates explicit.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Threads API"],"x-docs-url":"/docs/api/catalog-threads-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-threads-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.threads.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3631404342885014304","type":"text","text":"A sample public post.","published_at":"2026-10-01T00:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"threads.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"threads.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"nasa"},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"DataXAPI filters by UTC calendar date, including the start day. Time of day does not affect upstream filtering.","example":"2026-10-01T00:00:00Z"},{"name":"until","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"DataXAPI filters by UTC calendar date, including the end day. Time of day does not affect upstream filtering.","example":"2026-10-10T23:59:59Z"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/threads/users/get":{"get":{"operationId":"catalog-threads-users-get","summary":"Threads users details","description":"Threads users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Threads API"],"x-docs-url":"/docs/api/catalog-threads-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-threads-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"1234567890","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}},"warnings":[],"meta":{"capability":"threads.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"threads.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/threads/users/posts/list":{"get":{"operationId":"catalog-threads-users-posts-list","summary":"Threads users posts","description":"Threads users posts. Returns data.items in one request, up to 30 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Threads API"],"x-docs-url":"/docs/api/catalog-threads-users-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-threads-users-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.threads.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"3631404342885014304","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"threads.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"threads.users.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/comments/replies/list":{"get":{"operationId":"catalog-tiktok-comments-replies-list","summary":"TikTok comments replies","description":"TikTok comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7665840565958872333","parent_id":"7666131725864813319"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7665840565958872333","parent_id":"7666131725864813319"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"7666131725864813319"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"7665840565958872333"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/hashtags/videos/list":{"get":{"operationId":"catalog-tiktok-hashtags-videos-list","summary":"TikTok hashtags videos","description":"TikTok hashtags videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-hashtags-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-hashtags-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.hashtags.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.hashtags.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.hashtags.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"nasa"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/users/followers/list":{"get":{"operationId":"catalog-tiktok-users-followers-list","summary":"TikTok users followers","description":"TikTok users followers. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 50 results. Maximum 50 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-users-followers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-users-followers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120},"username":"nasa"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.users.followers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/users/get":{"get":{"operationId":"catalog-tiktok-users-get","summary":"TikTok users details","description":"TikTok users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"6767146744805213190","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"tiktok.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","username"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username.","example":"6767146744805213190"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username.","example":"nasa"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/users/search":{"get":{"operationId":"catalog-tiktok-users-search","summary":"TikTok users search","description":"TikTok users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.users.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"nike"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/users/videos/list":{"get":{"operationId":"catalog-tiktok-users-videos-list","summary":"TikTok users videos","description":"TikTok users videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 10 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"nasa"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["latest","popular"],"default":"latest"},"description":"Sort order for the results. Defaults to latest.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/videos/comments/list":{"get":{"operationId":"catalog-tiktok-videos-comments-list","summary":"TikTok videos comments","description":"TikTok videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 50 results. Maximum 50 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7665840565958872333"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"7665840565958872333"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7665840565958872333"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.tiktok.com/@nasa/video/7665840565958872333"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/videos/get":{"get":{"operationId":"catalog-tiktok-videos-get","summary":"TikTok videos details","description":"TikTok videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"tiktok.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.videos.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7665840565958872333"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.tiktok.com/@nasa/video/7665840565958872333"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/videos/search":{"get":{"operationId":"catalog-tiktok-videos-search","summary":"TikTok videos search","description":"TikTok videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.tiktok.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"tiktok.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"7665840565958872333","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"tiktok.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.videos.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"space station"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","popular","latest"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/tiktok/videos/transcript/get":{"get":{"operationId":"catalog-tiktok-videos-transcript-get","summary":"TikTok videos transcript","description":"TikTok videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["TikTok API"],"x-docs-url":"/docs/api/catalog-tiktok-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-tiktok-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"7665840565958872333","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"tiktok.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"tiktok.videos.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"7665840565958872333"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.tiktok.com/@nasa/video/7665840565958872333"},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"Result language or language filter.","example":"en"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/backup/users/get":{"get":{"operationId":"catalog-wechat-channels-backup-users-get","summary":"WeChat Channels users details (backup)","description":"WeChat Channels users details (backup). Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.03 per request. Social2api caps DataXAPI at USD 0.03 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-backup-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-backup-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"wechat_channels.backup.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.backup.users.get","x-upstream-pricing":{"unit":"call","price":"0.03","maxPrice":"0.03","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.03"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/backup/users/videos/list":{"get":{"operationId":"catalog-wechat-channels-backup-users-videos-list","summary":"WeChat Channels users videos (backup)","description":"WeChat Channels users videos (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 15 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.06 per request. Social2api caps DataXAPI at USD 0.06 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-backup-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-backup-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.backup.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.backup.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.06","maxPrice":"0.06","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.06","chargeWhenNotFound":"0.06"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/backup/videos/search":{"get":{"operationId":"catalog-wechat-channels-backup-videos-search","summary":"WeChat Channels videos search (backup)","description":"WeChat Channels videos search (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.1 per request. Social2api caps DataXAPI at USD 0.1 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-backup-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-backup-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.backup.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.backup.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.backup.videos.search","x-upstream-pricing":{"unit":"call","price":"0.1","maxPrice":"0.1","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.1","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营装备推荐"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"latest"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/collections/videos/list":{"get":{"operationId":"catalog-wechat-channels-collections-videos-list","summary":"WeChat Channels collections videos","description":"WeChat Channels collections videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-collections-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-collections-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.collections.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.collections.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.collections.videos.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"14939347649320519707"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/comments/replies/list":{"get":{"operationId":"catalog-wechat-channels-comments-replies-list","summary":"WeChat Channels comments replies","description":"WeChat Channels comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.015 per request. Social2api caps DataXAPI at USD 0.015 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"14462543356698040491","parent_id":"14462557903411284138"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"14462543356698040491","parent_id":"14462557903411284138"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.015","maxPrice":"0.015","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.015","chargeWhenNotFound":"0.015"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"14462557903411284138"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"14462543356698040491"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/users/get":{"get":{"operationId":"catalog-wechat-channels-users-get","summary":"WeChat Channels users details","description":"WeChat Channels users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"wechat_channels.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.users.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/users/live_replays/list":{"get":{"operationId":"catalog-wechat-channels-users-live-replays-list","summary":"WeChat Channels users live replays","description":"WeChat Channels users live replays. Returns data.items in one request, up to 50 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-users-live-replays-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-users-live-replays-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.users.live_replays.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.users.live_replays.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/users/search":{"get":{"operationId":"catalog-wechat-channels-users-search","summary":"WeChat Channels users search","description":"WeChat Channels users search. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.06 per request. Social2api caps DataXAPI at USD 0.06 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.users.search","x-upstream-pricing":{"unit":"call","price":"0.06","maxPrice":"0.06","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"央视新闻"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/users/videos/list":{"get":{"operationId":"catalog-wechat-channels-users-videos-list","summary":"WeChat Channels users videos","description":"WeChat Channels users videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 15 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-users-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-users-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.users.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.users.videos.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"v2_060000231003b20faec8c5e5811dc3ddce02ec30b0772029a703e1b9f446ba147658bbcfab81@finder"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/videos/comments/list":{"get":{"operationId":"catalog-wechat-channels-videos-comments-list","summary":"WeChat Channels videos comments","description":"WeChat Channels videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 24 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"14559898883113486609"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"14559898883113486609"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"14559898883113486609"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/videos/get":{"get":{"operationId":"catalog-wechat-channels-videos-get","summary":"WeChat Channels videos details","description":"WeChat Channels videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nPass the export/ search identifier as export_id. Keep the detail response data.item.id and any available author.id for separate video and account lookups.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"14559898883113486609","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z","author":{"name":"示例账号"}}},"warnings":[],"meta":{"capability":"wechat_channels.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.videos.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url","export_id"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, export_id.","example":"14559898883113486609"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, export_id.","example":"https://weixin.qq.com/sph/ABgJVPnSSu"},{"name":"export_id","in":"query","required":false,"schema":{"type":"string"},"description":"Temporary export/ identifier from a WeChat Channels search result. Supply one of id, url, export_id.","example":"export/UzFfBgAAxJeLPEsjEjWuk8zT4DCKThrNP5lzaPLJoEvz7FZtxw"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/videos/metrics":{"get":{"operationId":"catalog-wechat-channels-videos-metrics","summary":"WeChat Channels videos metrics","description":"WeChat Channels videos metrics. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nStore retrieval time meta.fetched_at separately from the source count timestamp ext.counted_at in DataXAPI full view. Compare like, comment, share and favorite counts from comparable snapshots. Playback counts are unavailable on this route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.015 per request. Social2api caps DataXAPI at USD 0.015 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-videos-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-videos-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"14940144898316503592","metrics":{"likes":18,"comments":2,"shares":5,"favorites":3},"ext":{"counted_at":"2026-11-15T11:30:00Z"}}},"warnings":[],"meta":{"capability":"wechat_channels.videos.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.videos.metrics","x-upstream-pricing":{"unit":"call","price":"0.015","maxPrice":"0.015","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.015"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"14940144898316503592"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/videos/search":{"get":{"operationId":"catalog-wechat-channels-videos-search","summary":"WeChat Channels videos search","description":"WeChat Channels videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI search returns a temporary export/ identifier. Do not assume it is the durable video ID or that search provides an account ID. Resolve it promptly through video details using export_id, keep data.item.id, and verify author.id before an account lookup.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"export/EXAMPLE_TEMPORARY_ID","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"export/EXAMPLE_TEMPORARY_ID","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_channels.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.videos.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"露营装备推荐"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"latest"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_channels/videos/transcript/get":{"get":{"operationId":"catalog-wechat-channels-videos-transcript-get","summary":"WeChat Channels videos transcript","description":"WeChat Channels videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.02 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.039 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Channels API"],"x-docs-url":"/docs/api/catalog-wechat-channels-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-channels-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_channels.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"14559898883113486609","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"wechat_channels.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"14559898883113486609","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"wechat_channels.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_channels.videos.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.02","maxPrice":"0.039","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","export_id","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, export_id, job.","example":"14559898883113486609"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, export_id, job.","example":"https://weixin.qq.com/sph/ABgJVPnSSu"},{"name":"export_id","in":"query","required":false,"schema":{"type":"string"},"description":"Temporary export/ identifier from a WeChat Channels search result. Supply one of id, url, export_id, job.","example":"export/UzFfBgAAxJeLPEsjEjWuk8zT4DCKThrNP5lzaPLJoEvz7FZtxw"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, export_id, job.","example":"tr_047_WcExampleJob00000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/accounts/articles/list":{"get":{"operationId":"catalog-wechat-mp-accounts-articles-list","summary":"WeChat Official Accounts accounts articles","description":"WeChat Official Accounts accounts articles. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nRetain the account, tab and provider on continuation and honor page.cursor_expires_at. Save each data.items[].url for an article detail request.\n\nDataXAPI example budget: one WeChat Search account lookup or article detail request, plus three publication pages at $0.02 each, totals $0.08. Additional requests for full article text are billed separately.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-accounts-articles-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-accounts-articles-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z","url":"https://mp.weixin.qq.com/s?__biz=ZXhhbXBsZQ==&mid=1234567890&idx=1&sn=example","author":{"id":"gh_13c97ab93ce8"}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.accounts.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z","url":"https://mp.weixin.qq.com/s?__biz=ZXhhbXBsZQ==&mid=1234567890&idx=1&sn=example","author":{"id":"gh_13c97ab93ce8"}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.accounts.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.accounts.articles.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the original Official Account ID, such as gh_13c97ab93ce8, from data.items[].id in WeChat Search account lookup or data.item.author.id in article details.","example":"gh_13c97ab93ce8"},{"name":"tab","in":"query","required":false,"schema":{"type":"string","enum":["articles","videos","images"],"default":"articles"},"description":"Platform tab to query. Defaults to articles.","example":"articles"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/accounts/get":{"get":{"operationId":"catalog-wechat-mp-accounts-get","summary":"WeChat Official Accounts accounts details","description":"WeChat Official Accounts accounts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-accounts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-accounts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"gh_13c97ab93ce8","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"wechat_mp.accounts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.accounts.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"gh_13c97ab93ce8"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/accounts/search":{"get":{"operationId":"catalog-wechat-mp-accounts-search","summary":"WeChat Official Accounts accounts search","description":"WeChat Official Accounts accounts search. Returns data.items in one request, up to 15 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nUse these third-party estimates to compare follower and interaction counts at a broad scale. Estimates can lag. To identify an original account ID by name, start with WeChat Search account lookup, priced per request.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.05635 per returned item, with a USD 0.06 minimum per request. Social2api caps DataXAPI at USD 0.84525 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-accounts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-accounts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"gh_13c97ab93ce8","name":"咖啡研究示例","ext":{"estimated_followers":1200,"estimated_headline_reads":85,"estimated_headline_likes":12}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.accounts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.accounts.search","x-upstream-pricing":{"unit":"item","price":"0.05635","maxPrice":"0.84525","currency":"USD","provider":"dataxapi","minimum":"0.06","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":15},"description":"At most 15 results. The route is priced per returned account; use the provider’s charge when fewer than limit are returned.","example":5},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/articles/comments/list":{"get":{"operationId":"catalog-wechat-mp-articles-comments-list","summary":"WeChat Official Accounts articles comments","description":"WeChat Official Accounts articles comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 100 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-articles-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-articles-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.articles.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.articles.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.articles.comments.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials.","example":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/articles/get":{"get":{"operationId":"catalog-wechat-mp-articles-get","summary":"WeChat Official Accounts articles details","description":"WeChat Official Accounts articles details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-articles-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-articles-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"1234567890","type":"article","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc","title":"Example public result","published_at":"2026-11-15T12:00:00Z","author":{"id":"gh_13c97ab93ce8"}}},"warnings":[],"meta":{"capability":"wechat_mp.articles.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.articles.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials.","example":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/articles/metrics":{"get":{"operationId":"catalog-wechat-mp-articles-metrics","summary":"WeChat Official Accounts articles metrics","description":"WeChat Official Accounts articles metrics. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nDataXAPI can return a lower bound for a public count. Check for kind=lower_bound in approximate for that field. For example, 100001 can represent a displayed 100,000+.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-articles-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-articles-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc","metrics":{"views":100001,"likes":18,"shares":6,"favorites":3,"comments":2},"approximate":[{"field":"metrics.views","kind":"lower_bound"}],"ext":{"recommends":3}}},"warnings":[],"meta":{"capability":"wechat_mp.articles.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.articles.metrics","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"DataXAPI requires a full article URL with __biz, mid, idx, and sn. Resolve short links to that form first.","example":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat_mp/comments/replies/list":{"get":{"operationId":"catalog-wechat-mp-comments-replies-list","summary":"WeChat Official Accounts comments replies","description":"WeChat Official Accounts comments replies. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nThe parent list contains selected public comments. Keep the returned comment ID and the source article URL for the reply request. Join returned relationships by parent_id or root_id.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Official Accounts API"],"x-docs-url":"/docs/api/catalog-wechat-mp-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-mp-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat_mp.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"parent_id":"4898789068743115328","root_id":"4898789068743115328"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat_mp.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat_mp.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the top-level comment id returned by the Official Account article comment list.","example":"4898789068743115328"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"On DataXAPI use the source Official Account article URL, in long or short form. Keep it from the parent collection for the reply call.","example":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667039128&idx=1&sn=d0caf3b8df75fe7376f7c379eda6128f"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat/accounts/search":{"get":{"operationId":"catalog-wechat-accounts-search","summary":"WeChat Search accounts search","description":"WeChat Search accounts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nUse this route to identify candidate Official Accounts by name. For third-party follower or engagement estimates, compare the per-item Official Account search rate and minimum.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 8 results. Maximum 14 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Search API"],"x-docs-url":"/docs/api/catalog-wechat-accounts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-accounts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"gh_13c97ab93ce8","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat.accounts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"gh_13c97ab93ce8","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat.accounts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat.accounts.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"36氪"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat/backup/posts/search":{"get":{"operationId":"catalog-wechat-backup-posts-search","summary":"WeChat Search posts search (backup)","description":"WeChat Search posts search (backup). Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.1 per request. Social2api caps DataXAPI at USD 0.1 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Search API"],"x-docs-url":"/docs/api/catalog-wechat-backup-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-backup-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat.backup.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat.backup.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat.backup.posts.search","x-upstream-pricing":{"unit":"call","price":"0.1","maxPrice":"0.1","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.1","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡店开业"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["article","video"]},"description":"Content type to include in the results.","example":"article"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/wechat/posts/search":{"get":{"operationId":"catalog-wechat-posts-search","summary":"WeChat Search posts search","description":"WeChat Search posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nOmitting type can mix content types. A card can contain author.name. Look up the article URL for the original account ID and use the full article URL for the metrics request.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["WeChat Search API"],"x-docs-url":"/docs/api/catalog-wechat-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-wechat-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.wechat.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z","url":"https://mp.weixin.qq.com/s?__biz=ZXhhbXBsZQ==&mid=1234567890&idx=1&sn=example","author":{"name":"咖啡研究示例"},"ext":{"reads_label":"1万+"}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"wechat.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z","url":"https://mp.weixin.qq.com/s?__biz=ZXhhbXBsZQ==&mid=1234567890&idx=1&sn=example","author":{"name":"咖啡研究示例"},"ext":{"reads_label":"1万+"}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"wechat.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"wechat.posts.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡店开业"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["article","video"]},"description":"Use article for Official Account articles only. Results are search cards; the displayed reading range is available in ext.reads_label in the full view when supplied.","example":"article"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/backup/trends/list":{"get":{"operationId":"catalog-weibo-backup-trends-list","summary":"Weibo trends (backup)","description":"Weibo trends (backup). Returns data.items in one request, up to 51 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.03 per request. Social2api caps DataXAPI at USD 0.03 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-backup-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-backup-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.backup.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.backup.trends.list","x-upstream-pricing":{"unit":"call","price":"0.03","maxPrice":"0.03","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.03","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot_search"],"default":"hot_search"},"description":"Name of the trend board. Defaults to hot_search.","example":"hot_search"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/comments/replies/list":{"get":{"operationId":"catalog-weibo-comments-replies-list","summary":"Weibo comments replies","description":"Weibo comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"5352571897120856","parent_id":"5352434353571174"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"5352571897120856","parent_id":"5352434353571174"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"5352434353571174"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/posts/comments/list":{"get":{"operationId":"catalog-weibo-posts-comments-list","summary":"Weibo posts comments","description":"Weibo posts comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-posts-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-posts-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"5352434046339577"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"5352434046339577"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.posts.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.posts.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"5352434046339577"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://m.weibo.cn/detail/5352434046339577"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/posts/get":{"get":{"operationId":"catalog-weibo-posts-get","summary":"Weibo posts details","description":"Weibo posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"5352571897120856","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"weibo.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"5352571897120856"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://m.weibo.cn/detail/5352571897120856"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/posts/likers/list":{"get":{"operationId":"catalog-weibo-posts-likers-list","summary":"Weibo posts liking accounts","description":"Weibo posts liking accounts. Returns data.items in one request, up to 100 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-posts-likers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-posts-likers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.posts.likers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.posts.likers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"5352434046339577"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://m.weibo.cn/detail/5352434046339577"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/posts/search":{"get":{"operationId":"catalog-weibo-posts-search","summary":"Weibo posts search","description":"Weibo posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5352571897120856","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5352571897120856","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"新能源汽车"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/posts/transcript/get":{"get":{"operationId":"catalog-weibo-posts-transcript-get","summary":"Weibo posts transcript","description":"Weibo posts transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.002 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.021 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-posts-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-posts-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"5352571897120856","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"weibo.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"5352571897120856","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"weibo.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.posts.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.002","maxPrice":"0.021","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, job.","example":"5352571897120856"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, job.","example":"https://m.weibo.cn/detail/5352571897120856"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, job.","example":"tr_047_WbExampleJob00000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/trends/list":{"get":{"operationId":"catalog-weibo-trends-list","summary":"Weibo trends","description":"Weibo trends. Returns data.items in one request, up to 51 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot_search"],"default":"hot_search"},"description":"Name of the trend board. Defaults to hot_search.","example":"hot_search"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/users/followers/list":{"get":{"operationId":"catalog-weibo-users-followers-list","summary":"Weibo users followers","description":"Weibo users followers. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-users-followers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-users-followers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.users.followers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2803301701"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/users/get":{"get":{"operationId":"catalog-weibo-users-get","summary":"Weibo users details","description":"Weibo users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"2803301701","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"weibo.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2803301701"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/users/posts/list":{"get":{"operationId":"catalog-weibo-users-posts-list","summary":"Weibo users posts","description":"Weibo users posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 25 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-users-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-users-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.weibo.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5352571897120856","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5352571897120856","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.users.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2803301701"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/weibo/users/search":{"get":{"operationId":"catalog-weibo-users-search","summary":"Weibo users search","description":"Weibo users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Weibo API"],"x-docs-url":"/docs/api/catalog-weibo-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-weibo-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"weibo.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"weibo.users.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"小米"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/communities/members/list":{"get":{"operationId":"catalog-x-communities-members-list","summary":"X communities members","description":"X communities members. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.008 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-communities-members-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-communities-members-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.communities.members.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.communities.members.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.communities.members.list","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.008","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"1539231166569410560"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/communities/posts/list":{"get":{"operationId":"catalog-x-communities-posts-list","summary":"X communities posts","description":"X communities posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0003 per returned item, with a USD 0.0003 minimum per request. Social2api caps DataXAPI at USD 0.006 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-communities-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-communities-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.communities.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.communities.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.communities.posts.list","x-upstream-pricing":{"unit":"item","price":"0.0003","maxPrice":"0.006","currency":"USD","provider":"dataxapi","minimum":"0.0003","chargeWhenEmpty":"0.0003","chargeWhenNotFound":"0.0003"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"1539231166569410560"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/lists/followers/list":{"get":{"operationId":"catalog-x-lists-followers-list","summary":"X lists followers","description":"X lists followers. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.008 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-lists-followers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-lists-followers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.lists.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.lists.followers.list","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.008","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"84839422"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/lists/members/list":{"get":{"operationId":"catalog-x-lists-members-list","summary":"X lists members","description":"X lists members. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.008 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-lists-members-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-lists-members-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.lists.members.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.lists.members.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.lists.members.list","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.008","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"84839422"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/lists/posts/list":{"get":{"operationId":"catalog-x-lists-posts-list","summary":"X lists posts","description":"X lists posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 100 results. Maximum 100 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-lists-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-lists-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.lists.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.lists.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.lists.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"84839422"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/article/get":{"get":{"operationId":"catalog-x-posts-article-get","summary":"X posts article details","description":"X posts article details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-article-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-article-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"1905545699552375179","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"x.posts.article.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.article.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"1905545699552375179"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/get":{"get":{"operationId":"catalog-x-posts-get","summary":"X posts details","description":"X posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.0003 per request. Social2api caps DataXAPI at USD 0.0003 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"2108198226532708497","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"x.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.get","x-upstream-pricing":{"unit":"call","price":"0.0003","maxPrice":"0.0003","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.0003"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"2108198226532708497"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://x.com/i/status/2108198226532708497"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/quotes/list":{"get":{"operationId":"catalog-x-posts-quotes-list","summary":"X posts quotes","description":"X posts quotes. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0003 per returned item, with a USD 0.0003 minimum per request. Social2api caps DataXAPI at USD 0.006 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-quotes-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-quotes-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.posts.quotes.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.posts.quotes.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.quotes.list","x-upstream-pricing":{"unit":"item","price":"0.0003","maxPrice":"0.006","currency":"USD","provider":"dataxapi","minimum":"0.0003","chargeWhenEmpty":"0.0003","chargeWhenNotFound":"0.0003","variants":[{"parameter":"sort","value":"popular","pricingUnit":"call","unitPrice":"0.002","maxPrice":"0.002","chargeWhenEmpty":"0.002"}]},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2108662426606395572"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["latest","popular"],"default":"latest"},"description":"Sort order for the results. Defaults to latest. sort=popular · USD 0.002 per request, with a branch cap of USD 0.002 per request.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/replies/list":{"get":{"operationId":"catalog-x-posts-replies-list","summary":"X posts replies","description":"X posts replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 35 results. Maximum 60 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.posts.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.posts.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2108198226532708497"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/retweeters/list":{"get":{"operationId":"catalog-x-posts-retweeters-list","summary":"X posts reposting accounts","description":"X posts reposting accounts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 100 results. Maximum 100 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-retweeters-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-retweeters-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.posts.retweeters.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.posts.retweeters.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.retweeters.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2108198226532708497"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/search":{"get":{"operationId":"catalog-x-posts-search","summary":"X posts search","description":"X posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"weather forecast"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["popular","latest"],"default":"popular"},"description":"Sort order for the results. Defaults to popular.","example":"popular"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/posts/transcript/get":{"get":{"operationId":"catalog-x-posts-transcript-get","summary":"X posts transcript","description":"X posts transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-posts-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-posts-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"2109760407824961716","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"x.posts.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.posts.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"2109760407824961716"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://x.com/i/status/2109760407824961716"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/threads/posts/list":{"get":{"operationId":"catalog-x-threads-posts-list","summary":"X threads posts","description":"X threads posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 50 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0003 per returned item, with a USD 0.0003 minimum per request. Social2api caps DataXAPI at USD 0.015 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-threads-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-threads-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.threads.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.threads.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.threads.posts.list","x-upstream-pricing":{"unit":"item","price":"0.0003","maxPrice":"0.015","currency":"USD","provider":"dataxapi","minimum":"0.0003","chargeWhenEmpty":"0.0003","chargeWhenNotFound":"0.0003"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2108198226532708497"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/trends/list":{"get":{"operationId":"catalog-x-trends-list","summary":"X trends","description":"X trends. Returns data.items in one request, up to 30 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.009 per request. Social2api caps DataXAPI at USD 0.009 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.trend"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.trends.list","x-upstream-pricing":{"unit":"call","price":"0.009","maxPrice":"0.009","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["trends"],"default":"trends"},"description":"Name of the trend board. Defaults to trends.","example":"trends"},{"name":"region","in":"query","required":false,"schema":{"type":"string"},"description":"DataXAPI supports US, GB, CA, AU, IN, JP, DE, FR, BR, and MX. Omit the region for global trends.","example":"US"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/users/followers/list":{"get":{"operationId":"catalog-x-users-followers-list","summary":"X users followers","description":"X users followers. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 200 results. Maximum 200 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0001 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-followers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-followers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120},"username":"NASA"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120},"username":"NASA"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.followers.list","x-upstream-pricing":{"unit":"item","price":"0.0001","maxPrice":"0.02","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"NASA"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/users/following/list":{"get":{"operationId":"catalog-x-users-following-list","summary":"X users following","description":"X users following. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 200 results. Maximum 200 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0001 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-following-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-following-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120},"username":"WHO"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.users.following.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120},"username":"WHO"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.users.following.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.following.list","x-upstream-pricing":{"unit":"item","price":"0.0001","maxPrice":"0.02","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"WHO"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/users/get":{"get":{"operationId":"catalog-x-users-get","summary":"X users details","description":"X users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"x.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.get","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.04","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","username"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username.","example":"11348282"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username.","example":"NASA"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]},"post":{"operationId":"catalog-x-users-get-batch","summary":"X batch users details","description":"X batch users details. Looks up up to 100 submitted IDs in one batch, returning data.items without pagination.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nThe JSON body limit is 16,000 bytes. Send fields as a JSON array such as [\"id\",\"metrics.followers\"].\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-get-batch/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-get-batch/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"warnings":[],"meta":{"capability":"x.users.get.batch","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"partially-matched":{"summary":"200 · Some IDs not found","description":"Use data.missing to reconcile missing IDs when a batch has results. An entirely empty batch has a DataXAPI price of $0.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}],"missing":[{"id":"415859364","reason":"not_found"}]},"warnings":[],"meta":{"capability":"x.users.get.batch","result_status":"partial","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"415":{"description":"Use application/json for the request body.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.get.batch","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.04","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["ids"],"properties":{"ids":{"type":"array","items":{"type":"string","pattern":"^\\d+$"},"minItems":1,"maxItems":100},"view":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"fields":{"type":"array","items":{"type":"string"},"minItems":1}}},"example":{"ids":["11348282","415859364"]}}}}}},"/v1/x/users/mentions/list":{"get":{"operationId":"catalog-x-users-mentions-list","summary":"X users mentions","description":"X users mentions. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0003 per returned item, with a USD 0.0003 minimum per request. Social2api caps DataXAPI at USD 0.006 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-mentions-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-mentions-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.users.mentions.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.users.mentions.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.mentions.list","x-upstream-pricing":{"unit":"item","price":"0.0003","maxPrice":"0.006","currency":"USD","provider":"dataxapi","minimum":"0.0003","chargeWhenEmpty":"0.0003","chargeWhenNotFound":"0.0003"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"NASA"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/users/posts/list":{"get":{"operationId":"catalog-x-users-posts-list","summary":"X users posts","description":"X users posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 60 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.x.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2108662426606395572","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.users.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"NASA"},{"name":"tab","in":"query","required":false,"schema":{"type":"string","enum":["posts","replies","media"],"default":"posts"},"description":"Platform tab to query. Defaults to posts.","example":"posts"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/x/users/search":{"get":{"operationId":"catalog-x-users-search","summary":"X users search","description":"X users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.0004 per returned item, with a USD 0.0004 minimum per request. Social2api caps DataXAPI at USD 0.008 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["X API"],"x-docs-url":"/docs/api/catalog-x-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-x-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"x.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"11348282","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"x.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"x.users.search","x-upstream-pricing":{"unit":"item","price":"0.0004","maxPrice":"0.008","currency":"USD","provider":"dataxapi","minimum":"0.0004","chargeWhenEmpty":"0.0004","chargeWhenNotFound":"0.0004"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"Smithsonian"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/comments/replies/list":{"get":{"operationId":"catalog-xiaohongshu-comments-replies-list","summary":"REDnote comments replies","description":"REDnote comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 5 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.comment"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"6a9c5884000000002b002d95","parent_id":"6a9c5c160000000015022a5c"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"6a9c5884000000002b002d95","parent_id":"6a9c5c160000000015022a5c"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"6a9c5c160000000015022a5c"},{"name":"post_id","in":"query","required":true,"schema":{"type":"string"},"description":"Original platform ID of the parent post.","example":"6a9c5884000000002b002d95"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/images/search":{"get":{"operationId":"catalog-xiaohongshu-images-search","summary":"REDnote images search","description":"REDnote images search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-images-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-images-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.images.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.images.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.images.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"壁纸"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/notes/comments/list":{"get":{"operationId":"catalog-xiaohongshu-notes-comments-list","summary":"REDnote notes comments","description":"REDnote notes comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-notes-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-notes-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"6a9c5884000000002b002d95"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.notes.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"6a9c5884000000002b002d95"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.notes.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.notes.comments.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"6a9c5884000000002b002d95"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.xiaohongshu.com/explore/6a9c5884000000002b002d95?xsec_token=ABx1y2z3"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["latest","popular"],"default":"latest"},"description":"Sort order for the results. Defaults to latest.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/notes/get":{"get":{"operationId":"catalog-xiaohongshu-notes-get","summary":"REDnote notes details","description":"REDnote notes details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nOn DataXAPI the declared sponsorship flag refers to a brand collaboration declared on the platform. Treat a missing flag as unknown. When ext.subtitle_url is available, check if the existing subtitles meet your needs before requesting speech recognition.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-notes-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-notes-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"6ac76250000000000a021233","type":"video","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z","ext":{"is_sponsored":true,"cover_url":"https://example.com/illustration.jpg","subtitle_url":"https://example.com/subtitles.vtt"}}},"warnings":[],"meta":{"capability":"xiaohongshu.notes.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.notes.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Use the note identifier from note search or the note URL. The author ID cannot replace it. Supply one of id, url.","example":"6ac76250000000000a021233"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Use the public HTTPS note URL or an official xhslink.com share URL. Pass just the URL from share text. Supply one of id, url.","example":"https://www.xiaohongshu.com/explore/6ac76250000000000a021233?xsec_token=ABx1y2z3"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/notes/search":{"get":{"operationId":"catalog-xiaohongshu-notes-search","summary":"REDnote notes search","description":"REDnote notes search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-notes-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-notes-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.notes.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.notes.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.notes.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular","most_comments","most_favorites"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["video","image"]},"description":"Content type to include in the results.","example":"video"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","half_year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/creators/audience/get":{"get":{"operationId":"catalog-xiaohongshu-pgy-creators-audience-get","summary":"REDnote Pugongying creators audience details","description":"REDnote Pugongying creators audience details. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-creators-audience-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-creators-audience-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.audience"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"creator_id":"5c0017ef6b58b740c92463fb","age":[{"name":"25-34","share":0.32}]}},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.audience.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.creators.audience.get","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"5c0017ef6b58b740c92463fb"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/creators/costs/metrics":{"get":{"operationId":"catalog-xiaohongshu-pgy-creators-costs-metrics","summary":"REDnote Pugongying creators costs metrics","description":"REDnote Pugongying creators costs metrics. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-creators-costs-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-creators-costs-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.pgy_creator_costs"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"example-topic","name":"Example topic","rank":1}},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.costs.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.creators.costs.metrics","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"5c0017ef6b58b740c92463fb"},{"name":"tab","in":"query","required":false,"schema":{"type":"string","enum":["everyday","sponsored"],"default":"everyday"},"description":"Platform tab to query. Defaults to everyday.","example":"sponsored"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/creators/get":{"get":{"operationId":"catalog-xiaohongshu-pgy-creators-get","summary":"REDnote Pugongying creator profile and rates API","description":"REDnote Pugongying creator profile and rates API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nRequest view=full for ext.rate_image_note and ext.rate_video_note, the RMB rates for an image note and a video note. Check field coverage on the route that serves your request.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-creators-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-creators-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.creator"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.creator"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"5c0017ef6b58b740c92463fb","name":"Example creator","metrics":{"followers":12000},"ext":{"rate_image_note":"1000","rate_video_note":"2500"}}},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.creators.get","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.04"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the 24-character hexadecimal id from Pugongying creator search.","example":"5c0017ef6b58b740c92463fb"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/creators/metrics":{"get":{"operationId":"catalog-xiaohongshu-pgy-creators-metrics","summary":"REDnote Pugongying creator performance API","description":"REDnote Pugongying creator performance API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nCompare median impressions, reads, and engagements with the same tab and a 30d or 90d window. The TikHub route maps these three medians. See meta.unavailable for other fields. An explicit fields selection of an unsupported field skips TikHub.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-creators-metrics/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-creators-metrics/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.pgy_creator_metrics"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"creator_id":"5c0017ef6b58b740c92463fb","median_impressions":12000,"median_reads":3100,"median_engagements":170}},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.metrics","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.creators.metrics","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.04"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Use the 24-character hexadecimal id from Pugongying creator search.","example":"5c0017ef6b58b740c92463fb"},{"name":"window","in":"query","required":false,"schema":{"type":"string","enum":["30d","90d"],"default":"30d"},"description":"Time window for the platform’s statistics. Defaults to 30d.","example":"30d"},{"name":"tab","in":"query","required":false,"schema":{"type":"string","enum":["everyday","sponsored"],"default":"everyday"},"description":"Use everyday for regular notes or sponsored for commercial notes. Defaults to everyday.","example":"everyday"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/creators/search":{"get":{"operationId":"catalog-xiaohongshu-pgy-creators-search","summary":"REDnote Pugongying creators search","description":"REDnote Pugongying creators search. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v30 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-creators-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-creators-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.creator"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.creator"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5a587e6111be106c3b3fe89e","name":"Example creator","metrics":{"followers":12000}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5a587e6111be106c3b3fe89e","name":"Example creator","metrics":{"followers":12000}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.creators.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.creators.search","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi"},"x-upstream-providers":["dataxapi"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":false,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","most_followers","lowest_rate","highest_rate","most_reads","most_engagements","most_impressions","most_sponsored_reads","most_sponsored_engagements","most_sponsored_impressions","most_shop_visits","lowest_read_cost_image","lowest_read_cost_video","highest_reply_rate","fastest_growth","most_active_followers","most_thousand_like_notes","highest_completion_rate"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"lowest_rate"},{"name":"followers_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":10000},{"name":"followers_max","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":50000},{"name":"rate_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":3000},{"name":"rate_max","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":8000},{"name":"cpm_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":20},{"name":"cpm_max","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":150},{"name":"median_reads_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":5000},{"name":"median_engagements_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":300},{"name":"sponsored_median_reads_min","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Platform query input.","example":8000},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["image","video"]},"description":"Content type to include in the results.","example":"video"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"Platform query input.","example":"护肤"},{"name":"feature_tag","in":"query","required":false,"schema":{"type":"string"},"description":"Platform query input.","example":"探店"},{"name":"persona","in":"query","required":false,"schema":{"type":"string"},"description":"Platform query input.","example":"妈妈"},{"name":"location","in":"query","required":false,"schema":{"type":"string"},"description":"Platform query input.","example":"杭州"},{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["female","male"]},"description":"Creator gender filter.","example":"female"},{"name":"audience_gender","in":"query","required":false,"schema":{"type":"string","enum":["female","male"]},"description":"Platform query input.","example":"female"},{"name":"audience_age","in":"query","required":false,"schema":{"type":"string","enum":["under_18","18_24","25_34","35_44","over_44"]},"description":"Platform query input.","example":"25_34"},{"name":"industry","in":"query","required":false,"schema":{"type":"string","enum":["beauty","food_drink","mother_baby","electronics","household","fashion","internet","local_services","home_building","auto"]},"description":"Platform query input.","example":"beauty"},{"name":"exclude","in":"query","required":false,"schema":{"type":"string","enum":["low_active","follower_drop","both"]},"description":"Platform query input.","example":"both"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false}]}},"/v1/xiaohongshu/pgy/keywords/history":{"get":{"operationId":"catalog-xiaohongshu-pgy-keywords-history","summary":"REDnote Pugongying daily keyword search index API","description":"REDnote Pugongying daily keyword search index API. The upstream preview requires an authorized provider key.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nReturns the platform-defined history, typically around three months. The TikHub route maps daily search index and note counts.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v32 (2026-11-28 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-keywords-history/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-keywords-history/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.keyword_history"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"keyword":"面膜","points":[{"date":"2026-11-01T00:00:00Z","search_index":1200,"notes":30,"impressions":125000,"views":16000,"engagements":380}]}},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.keywords.history","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.keywords.history","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.04"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"keyword","in":"query","required":true,"schema":{"type":"string"},"description":"Keyword whose index is requested.","example":"面膜"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/pgy/notes/trending":{"get":{"operationId":"catalog-xiaohongshu-pgy-notes-trending","summary":"REDnote Pugongying notes trending","description":"REDnote Pugongying notes trending. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 34 results. Maximum 34 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.04 per request. Social2api caps DataXAPI at USD 0.04 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-pgy-notes-trending/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-pgy-notes-trending/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.notes.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.pgy.notes.trending","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.pgy.notes.trending","x-upstream-pricing":{"unit":"call","price":"0.04","maxPrice":"0.04","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.04","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot","seeding","shop_promo","pgy","leads","shop_hot","direct_seeding","app_promo"],"default":"hot"},"description":"Name of the trend board. Defaults to hot.","example":"hot"},{"name":"query","in":"query","required":false,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡"},{"name":"window","in":"query","required":false,"schema":{"type":"string","enum":["3d","7d","14d","30d"],"default":"7d"},"description":"Time window for the platform’s statistics. Defaults to 7d.","example":"7d"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["image","video"]},"description":"Content type to include in the results.","example":"video"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/topics/notes/list":{"get":{"operationId":"catalog-xiaohongshu-topics-notes-list","summary":"REDnote topics notes","description":"REDnote topics notes. Returns data.items in one request, up to 10 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-topics-notes-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-topics-notes-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.topics.notes.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.topics.notes.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"5eb2e2ffbd997100014327bc"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/trends/list":{"get":{"operationId":"catalog-xiaohongshu-trends-list","summary":"REDnote trends","description":"REDnote trends. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.trend"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.trends.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["inspiration"],"default":"inspiration"},"description":"Name of the trend board. Defaults to inspiration.","example":"inspiration"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/users/get":{"get":{"operationId":"catalog-xiaohongshu-users-get","summary":"REDnote users details","description":"REDnote users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"63bed214000000002702b862","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"xiaohongshu.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.users.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"63bed214000000002702b862"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.xiaohongshu.com/user/profile/63bed214000000002702b862?xsec_token=ABx1y2z3"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/users/notes/list":{"get":{"operationId":"catalog-xiaohongshu-users-notes-list","summary":"REDnote users notes","description":"REDnote users notes. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 30 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-users-notes-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-users-notes-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.users.notes.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"6ac76250000000000a021233","type":"image","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.users.notes.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.users.notes.list","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"63bed214000000002702b862"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.xiaohongshu.com/user/profile/63bed214000000002702b862?xsec_token=ABx1y2z3"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/users/search":{"get":{"operationId":"catalog-xiaohongshu-users-search","summary":"REDnote users search","description":"REDnote users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5a587e6111be106c3b3fe89e","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"5a587e6111be106c3b3fe89e","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"xiaohongshu.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.users.search","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.02","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"Nike"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/videos/get":{"get":{"operationId":"catalog-xiaohongshu-videos-get","summary":"REDnote videos details","description":"REDnote videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.02 per request. Social2api caps DataXAPI at USD 0.02 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"6ac7701f000000001800508c","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"xiaohongshu.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.videos.get","x-upstream-pricing":{"unit":"call","price":"0.02","maxPrice":"0.02","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.02"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"6ac7701f000000001800508c"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/xiaohongshu/videos/transcript/get":{"get":{"operationId":"catalog-xiaohongshu-videos-transcript-get","summary":"REDnote videos transcript","description":"REDnote videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nCheck ext.subtitle_url in the full note details first. When available, transcription ext.source distinguishes platform subtitles from speech recognition. Confirm minute fees with the provider receipt. The Social2api DataXAPI route has a $0.039 cap per request.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nStart with id or url and read data.item.status. For processing, wait data.item.retry_after_seconds and replace id or url with job. For done, read the text and segments. Keep the same provider and key. A SocialToAI job starts with socialtoai:. A missing original SocialToAI key returns 401 missing_catalog_job_key. Sending a DataXAPI price or idempotency header returns 400 catalog_job_provider_conflict. End polling on expiry or a permanent error.\n\nThe default DataXAPI rate is USD 0.02 per base request plus USD 0.0038 per recognized minute, rounding partial minutes up. Social2api caps DataXAPI at USD 0.039 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["REDnote API"],"x-docs-url":"/docs/api/catalog-xiaohongshu-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-xiaohongshu-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.xiaohongshu.transcript"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"6ac7701f000000001800508c","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}],"ext":{"srt":"1\n00:00:00,000 --> 00:00:01,600\nA sample transcript.","source":"platform_subtitle"}}},"warnings":[],"meta":{"capability":"xiaohongshu.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"processing":{"summary":"200 · Transcript processing","description":"EXAMPLE_TRANSCRIPT_JOB is illustrative. Wait retry_after_seconds, then replace the original id or url with job from the actual response.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"6ac7701f000000001800508c","status":"processing","job":"EXAMPLE_TRANSCRIPT_JOB","retry_after_seconds":30}},"warnings":[],"meta":{"capability":"xiaohongshu.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"speech-recognition":{"summary":"200 · Speech recognition complete","description":"Existing platform subtitles use the base request rate. If speech recognition bills two minutes, the DataXAPI reference total is $0.02 + 2 × $0.0038 = $0.0276, with a $0.039 request cap.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"6ac7701f000000001800508c","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}],"ext":{"srt":"1\n00:00:00,000 --> 00:00:01,600\nA sample transcript.","source":"speech_recognition"}}},"warnings":[],"meta":{"capability":"xiaohongshu.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"transcript-unavailable":{"summary":"200 · No transcript available","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":null},"warnings":[],"meta":{"capability":"xiaohongshu.videos.transcript.get","result_status":"not_found","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"xiaohongshu.videos.transcript.get","x-upstream-pricing":{"unit":"minute","price":"0.02","maxPrice":"0.039","currency":"USD","provider":"dataxapi","minutePrice":"0.0038","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url","job"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url, job.","example":"6ac7701f000000001800508c"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url, job.","example":"https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3"},{"name":"speakers","in":"query","required":false,"schema":{"type":"string","enum":["yes","no"],"default":"no"},"description":"Select whether to label speakers in transcript segments. Defaults to no.","example":"no"},{"name":"job","in":"query","required":false,"schema":{"type":"string"},"description":"Transcript job identifier returned while transcription is processing. Supply one of id, url, job.","example":"tr_047_XhsExampleJob0000000"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/channels/get":{"get":{"operationId":"catalog-youtube-channels-get","summary":"YouTube channels details","description":"YouTube channels details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-channels-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-channels-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"UC_x5XG1OV2P6uZZ5FSM9Ttw","name":"Example contributor","metrics":{"followers":120}}},"warnings":[],"meta":{"capability":"youtube.channels.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.channels.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","username"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username.","example":"UC_x5XG1OV2P6uZZ5FSM9Ttw"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username.","example":"NASA"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/channels/posts/list":{"get":{"operationId":"catalog-youtube-channels-posts-list","summary":"YouTube channels posts","description":"YouTube channels posts. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-channels-posts-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-channels-posts-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.posts.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.channels.posts.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","username"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username.","example":"UC_x5XG1OV2P6uZZ5FSM9Ttw"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username.","example":"NASA"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/channels/search":{"get":{"operationId":"catalog-youtube-channels-search","summary":"YouTube channels search","description":"YouTube channels search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 40 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-channels-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-channels-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.account"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"UC_x5XG1OV2P6uZZ5FSM9Ttw","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"UC_x5XG1OV2P6uZZ5FSM9Ttw","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.channels.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"nasa"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/channels/videos/list":{"get":{"operationId":"catalog-youtube-channels-videos-list","summary":"YouTube channels videos","description":"YouTube channels videos. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 30 results. Maximum 60 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-channels-videos-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-channels-videos-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.channels.videos.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.channels.videos.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","username"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, username.","example":"UC_x5XG1OV2P6uZZ5FSM9Ttw"},{"name":"username","in":"query","required":false,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform. Supply one of id, username.","example":"NASA"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["video","short"],"default":"video"},"description":"Content type to include in the results. Defaults to video.","example":"video"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["latest","popular"],"default":"latest"},"description":"Sort order for the results. Defaults to latest.","example":"latest"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/comments/replies/list":{"get":{"operationId":"catalog-youtube-comments-replies-list","summary":"YouTube comments replies","description":"YouTube comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nFor DataXAPI replies, you can pin both calls to DataXAPI with X-Max-Price: 0.002. Keep the source comment ID for joins. If that comment has no reply token, skip the DataXAPI reply call for it.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 50 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.comment"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"dQw4w9WgXcQ","parent_id":"UgExampleParentCommentID"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"dQw4w9WgXcQ","parent_id":"UgExampleParentCommentID"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"On DataXAPI send ext.replies_token from the parent video comment (request view=full). SocialToAI takes the parent comment ID. These values are not interchangeable.","example":"Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6Z2UzNDBkQmdCNzVoV0JtNTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQABICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pnZTM0MGRCZ0I3NWhXQm01NEFhQUJBZw%3D%3D"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/posts/get":{"get":{"operationId":"catalog-youtube-posts-get","summary":"YouTube posts details","description":"YouTube posts details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-posts-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-posts-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"UgkxYEgmAc4YqqFhbP9FnxTlU0LxEi2TRKNT","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"youtube.posts.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.posts.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"UgkxYEgmAc4YqqFhbP9FnxTlU0LxEi2TRKNT"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.youtube.com/post/UgkxYEgmAc4YqqFhbP9FnxTlU0LxEi2TRKNT"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/videos/comments/list":{"get":{"operationId":"catalog-youtube-videos-comments-list","summary":"YouTube videos comments","description":"YouTube videos comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nOn DataXAPI request view=full for ext.replies_token and pass it to the replies endpoint as id. Keep the comment’s own id for joins. The TikHub adapter does not supply ext.replies_token. If it is missing, check meta.provider and meta.unavailable.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-videos-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-videos-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"UgExampleParentCommentID","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"dQw4w9WgXcQ","ext":{"replies_token":"EXAMPLE_YOUTUBE_REPLIES_TOKEN"}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"UgExampleParentCommentID","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"dQw4w9WgXcQ","ext":{"replies_token":"EXAMPLE_YOUTUBE_REPLIES_TOKEN"}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.videos.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"tikhub-partial":{"summary":"200 · TikHub partial result","description":"The TikHub route does not supply the DataXAPI reply token. Use meta.provider to identify the actual route and meta.unavailable to record field coverage.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"UgExampleParentCommentID","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"dQw4w9WgXcQ"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.videos.comments.list","result_status":"partial","fetched_at":"2026-11-15T12:00:00Z","provider":"tikhub","unavailable":{"ext.replies_token":"upstream_unavailable"}}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.videos.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"dQw4w9WgXcQ"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["popular","latest"],"default":"popular"},"description":"Sort order for the results. Defaults to popular.","example":"popular"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/videos/get":{"get":{"operationId":"catalog-youtube-videos-get","summary":"YouTube videos details","description":"YouTube videos details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-videos-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-videos-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","published_at":"2026-11-15T12:00:00Z","url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","ext":{"video_id":"dQw4w9WgXcQ","duration":213,"category":"Music","chapters":[{"title":"Opening","start":0}]}}},"warnings":[],"meta":{"capability":"youtube.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"field-projection":{"summary":"200 · With field projection","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"dQw4w9WgXcQ","ext":{"duration":213,"chapters":[{"title":"Opening","start":0}]}}},"warnings":[],"meta":{"capability":"youtube.videos.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]},"example":{"error":"查询参数 fields 只能传一次。","code":"invalid_params","requestCount":0}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]},"example":{"error":"请求参数过长。","code":"payload_too_large","requestCount":0}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.videos.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"YouTube video ID, such as dQw4w9WgXcQ. A channel ID is a different identifier. Supply one of id, url.","example":"dQw4w9WgXcQ"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS YouTube video URL. DataXAPI accepts watch, shorts, embed, live, and youtu.be formats. Supply one of id, url.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard.","example":"full"},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/videos/search":{"get":{"operationId":"catalog-youtube-videos-search","summary":"YouTube videos search","description":"YouTube videos search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 100 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-videos-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-videos-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.youtube.post"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"youtube.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"dQw4w9WgXcQ","type":"video","title":"Example public result","url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"youtube.videos.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.videos.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"meteor shower"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"published_within","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month","year"]},"description":"Limit results to a relative publication window.","example":"week"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/youtube/videos/transcript/get":{"get":{"operationId":"catalog-youtube-videos-transcript-get","summary":"YouTube videos transcript","description":"YouTube videos transcript. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["YouTube API"],"x-docs-url":"/docs/api/catalog-youtube-videos-transcript-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-youtube-videos-transcript-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.transcript"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"post_id":"dQw4w9WgXcQ","status":"done","text":"A sample transcript.","lang":"en","segments":[{"start":0,"end":1.6,"text":"A sample transcript."}]}},"warnings":[],"meta":{"capability":"youtube.videos.transcript.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"youtube.videos.transcript.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"dQw4w9WgXcQ"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"Result language or language filter.","example":"en"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/answers/comments/list":{"get":{"operationId":"catalog-zhihu-answers-comments-list","summary":"Zhihu answers comments","description":"Zhihu answers comments. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 10 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-answers-comments-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-answers-comments-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"2509154330"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.answers.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"1234567890","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"2509154330"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.answers.comments.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.answers.comments.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"2509154330"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/answers/get":{"get":{"operationId":"catalog-zhihu-answers-get","summary":"Zhihu answers details","description":"Zhihu answers details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-answers-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-answers-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"2430879961","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"zhihu.answers.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.answers.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"2430879961"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.zhihu.com/answer/2430879961"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/articles/get":{"get":{"operationId":"catalog-zhihu-articles-get","summary":"Zhihu articles details","description":"Zhihu articles details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-articles-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-articles-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"521711978","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"zhihu.articles.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.articles.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"521711978"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://zhuanlan.zhihu.com/p/431119887"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/columns/articles/list":{"get":{"operationId":"catalog-zhihu-columns-articles-list","summary":"Zhihu columns articles","description":"Zhihu columns articles. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-columns-articles-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-columns-articles-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.columns.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.columns.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.columns.articles.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"intelligentunit"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/comments/replies/list":{"get":{"operationId":"catalog-zhihu-comments-replies-list","summary":"Zhihu comments replies","description":"Zhihu comments replies. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-comments-replies-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-comments-replies-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.comment"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.comment"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"614876163","parent_id":"10114474814"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"2345678901","text":"A sample comment.","published_at":"2026-11-15T12:00:00Z","metrics":{"likes":4},"post_id":"614876163","parent_id":"10114474814"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.comments.replies.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.comments.replies.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format.","example":"10114474814"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/pins/get":{"get":{"operationId":"catalog-zhihu-pins-get","summary":"Zhihu pins details","description":"Zhihu pins details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-pins-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-pins-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"2042267446984402904","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"zhihu.pins.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.pins.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"2042267446984402904"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://www.zhihu.com/pin/2042267446984402904"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/posts/search":{"get":{"operationId":"catalog-zhihu-posts-search","summary":"Zhihu posts search","description":"Zhihu posts search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 18 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-posts-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-posts-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.posts.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.posts.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"咖啡机推荐"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["answer","article"]},"description":"Content type to include in the results.","example":"answer"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["relevance","latest","popular"],"default":"relevance"},"description":"Sort order for the results. Defaults to relevance.","example":"relevance"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/questions/answers/list":{"get":{"operationId":"catalog-zhihu-questions-answers-list","summary":"Zhihu questions answers","description":"Zhihu questions answers. Returns data.items in one request, up to 20 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-questions-answers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-questions-answers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.questions.answers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.questions.answers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"55043447"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://zhihu.com/question/55043447"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/questions/get":{"get":{"operationId":"catalog-zhihu-questions-get","summary":"Zhihu questions details","description":"Zhihu questions details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-questions-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-questions-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.post"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.post"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"55043447","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}},"warnings":[],"meta":{"capability":"zhihu.questions.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.questions.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"x-query-exactly-one":["id","url"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Target identifier on the platform. Preserve its original string format. Supply one of id, url.","example":"55043447"},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Public HTTPS link on the official platform. Use the default port and omit user credentials. Supply one of id, url.","example":"https://zhihu.com/question/55043447"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/trends/list":{"get":{"operationId":"catalog-zhihu-trends-list","summary":"Zhihu trends","description":"Zhihu trends. Returns data.items in one request, up to 50 results. This route has no cursor.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-trends-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-trends-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.trend"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.trend"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-topic","name":"Example topic","rank":1}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.trends.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.trends.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"board","in":"query","required":false,"schema":{"type":"string","enum":["hot"],"default":"hot"},"description":"Name of the trend board. Defaults to hot.","example":"hot"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/answers/list":{"get":{"operationId":"catalog-zhihu-users-answers-list","summary":"Zhihu users answers","description":"Zhihu users answers. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 40 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-answers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-answers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.answers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.answers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.answers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"zhihuadmin"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/articles/list":{"get":{"operationId":"catalog-zhihu-users-articles-list","summary":"Zhihu users articles","description":"Zhihu users articles. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-articles-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-articles-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"article","title":"Example public result","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.articles.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.articles.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"zhihuadmin"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/followers/list":{"get":{"operationId":"catalog-zhihu-users-followers-list","summary":"Zhihu users followers","description":"Zhihu users followers. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-followers-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-followers-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-user","name":"Example contributor","metrics":{"followers":120},"username":"zhihuadmin"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-user","name":"Example contributor","metrics":{"followers":120},"username":"zhihuadmin"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.followers.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.followers.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"zhihuadmin"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/get":{"get":{"operationId":"catalog-zhihu-users-get","summary":"Zhihu users details","description":"Zhihu users details. Returns a single data.item object or null.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-get/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-get/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["item"],"properties":{"item":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.account"}}}]},{"type":"null"}]}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"example":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"item":{"id":"example-user","name":"Example contributor","metrics":{"followers":120},"username":"zhihuadmin"}},"warnings":[],"meta":{"capability":"zhihu.users.get","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.get","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0","chargeWhenNotFound":"0.002"},"x-upstream-providers":["tikhub","dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"zhihuadmin"},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-TikHub-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s TikHub route with your own TikHub key."},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/pins/list":{"get":{"operationId":"catalog-zhihu-users-pins-list","summary":"Zhihu users pins","description":"Zhihu users pins. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-pins-list/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-pins-list/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.post"}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.pins.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"614876163","type":"text","text":"A sample public post.","published_at":"2026-11-15T12:00:00Z"}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.pins.list","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.pins.list","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0.002"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"username","in":"query","required":true,"schema":{"type":"string"},"description":"Public user, page or channel handle on the platform.","example":"zhihuadmin"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}},"/v1/zhihu/users/search":{"get":{"operationId":"catalog-zhihu-users-search","summary":"Zhihu users search","description":"Zhihu users search. Returns one page of data.items and a continuation cursor when available.\n\nUse a Social2api API key with the catalog scope and supply your own DataXAPI key in X-DataXAPI-Key. Both remain required when enabling an optional TikHub or SocialToAI route.\n\nEach Social2api account can have up to 300 extended API attempts in flight upstream across its keys and service instances sharing the database. At capacity, each instance can queue up to 4 attempts per account in arrival order. The admission deadline is 250 milliseconds after queuing. Daily quotas still apply.\n\nRetry an identical DataXAPI request with the same Idempotency-Key to replay an existing result. Each page is a separate request. Each upstream attempt counts toward the Social2api quota.\n\nResponse examples are synthetic. Actual results and field availability depend on public access, region, provider and view. Keep request_id and meta.provider for troubleshooting.\n\nUse meta.result_status to distinguish an empty list (data.items: []) from a missing object (data.item: null). data.missing identifies requested IDs that were omitted. Handle HTTP errors separately and check the provider receipt for actual charges.\n\nEach GET parameter name can occur once. Repeating fields returns 400. An encoded query string exceeding 16,000 bytes, including the question mark, returns 413 payload_too_large.\n\nProvider choice depends on eligibility, supplied keys and the account failover setting. DataXAPI, TikHub and SocialToAI each bill the account of the provider used. The USD price, X-Max-Price and Idempotency-Key shown here apply to DataXAPI. Either header selects DataXAPI.\n\nAlternate-route cursors start with s2a1. Keep the original Social2api key, upstream key and parameters. A DataXAPI price or idempotency header with an alternate cursor returns 400 catalog_cursor_provider_conflict. A missing alternate key returns 401 missing_catalog_cursor_key, a mismatched cursor returns 400 invalid_catalog_cursor, and expiry returns 410 catalog_cursor_expired. If the result is partial with page.next_cursor in meta.unavailable, keep the returned items and record incomplete coverage. Pass DataXAPI cursors through unchanged.\n\nKeep the original parameters and continue with page.next_cursor. Each page is a separate call. Use page.cursor_expires_at as the deadline and restart from the first page if it expires. A typical page contains 20 results. Maximum 20 results. The catalog lists a 3600-second lifetime. An alternate route can expire sooner.\n\nThe default DataXAPI rate is USD 0.002 per request. Social2api caps DataXAPI at USD 0.002 per request. Price book v22 (2026-11-25 UTC). Upstream attempts count toward Social2api usage.","tags":["Zhihu API"],"x-docs-url":"/docs/api/catalog-zhihu-users-search/","externalDocs":{"url":"https://social2api.com/docs/api/catalog-zhihu-users-search/"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","request_id","data","warnings","meta"],"properties":{"code":{"type":"string","const":"ok"},"request_id":{"type":["string","null"]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Catalog.account"},{"type":"object","properties":{"ext":{"$ref":"#/components/schemas/Catalog.ext.zhihu.account"}}}]}},"missing":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Missing"}}}},"page":{"$ref":"#/components/schemas/Catalog.Page"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/Catalog.Warning"}},"meta":{"type":"object","required":["capability"],"properties":{"capability":{"type":"string"},"provider":{"type":"string","enum":["tikhub","dataxapi","socialtoai"]},"result_status":{"type":"string"},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"replayed":{"type":"boolean"},"unavailable":{"type":"object","additionalProperties":{"type":"string"}}}}}},"examples":{"default":{"summary":"Synthetic response example","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-user","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":null,"cursor_expires_at":null,"has_more":false,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}},"continuation":{"summary":"200 · More results available","description":"EXAMPLE_NEXT_CURSOR is illustrative. On the next request, keep the URL path, filters, view, fields and keys. Add or replace cursor with page.next_cursor from the actual response and URL-encode it once. Stop when has_more is false.","value":{"code":"ok","request_id":"3f022215-9708-4eef-9878-cc67b31f3d6b","data":{"items":[{"id":"example-user","name":"Example contributor","metrics":{"followers":120}}]},"page":{"next_cursor":"EXAMPLE_NEXT_CURSOR","cursor_expires_at":"2026-11-15T12:20:00.000Z","has_more":true,"returned":1},"warnings":[],"meta":{"capability":"zhihu.users.search","result_status":"complete","fetched_at":"2026-11-15T12:00:00Z"}}}}}}},"400":{"description":"A parameter, JSON body or provider key is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"401":{"description":"A valid Social2api API key or DataXAPI key is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"402":{"description":"The DataXAPI balance or key budget was insufficient.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"403":{"description":"The key lacks the catalog scope, the origin was disallowed, or DataXAPI denied access.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"404":{"description":"The target could not be found or is no longer available.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"405":{"description":"The request method does not match the endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"409":{"description":"The provider is processing an identical request, or the idempotency key was used for another request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"410":{"description":"The pagination cursor or upstream result has expired.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"413":{"description":"The encoded query string or JSON body exceeds 16,000 bytes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"422":{"description":"The provider could not process the requested target or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"429":{"description":"A full queue or expired admission deadline returns HTTP 429 with catalog_concurrency_limit and Retry-After: 1. Attempts canceled or rejected while waiting are not metered. The requestCount reports metered upstream attempts. Daily account quotas, daily API key quotas, and upstream rate limits can also return 429.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Social2api sends 1 when the queue is full or the admission deadline expires. The provider can supply a different delay for upstream rate limits.","schema":{"type":"integer","minimum":0},"example":1}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"502":{"description":"An upstream access, request or response error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"503":{"description":"The API service is temporarily unavailable in this deployment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}},"504":{"description":"The upstream request timed out or the query was canceled.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"requestCount":{"type":"integer","minimum":0}},"required":["error"]}}}}},"security":[{"bearerAuth":[],"dataxapiKey":[]},{"apiKeyHeader":[],"dataxapiKey":[]}],"x-social2api-scope":"catalog","x-catalog-id":"zhihu.users.search","x-upstream-pricing":{"unit":"call","price":"0.002","maxPrice":"0.002","currency":"USD","provider":"dataxapi","chargeWhenEmpty":"0.002","chargeWhenNotFound":"0"},"x-upstream-providers":["dataxapi","socialtoai"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,255}$"},"description":"Pins the request to DataXAPI. Reuse this 1–255 character visible ASCII key for identical requests."},{"name":"X-Max-Price","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,6})(?:\\.[0-9]{1,6})?$"},"description":"Pins the request to DataXAPI and sets a lower price cap in USD with up to six decimal places."},{"name":"query","in":"query","required":true,"schema":{"type":"string"},"description":"Search keyword or phrase.","example":"人民日报"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pass page.next_cursor unchanged from the previous response."},{"name":"view","in":"query","required":false,"schema":{"type":"string","enum":["compact","standard","full"],"default":"standard"},"description":"Use compact for common fields, standard for the standard representation, or full for available platform extensions. Defaults to standard."},{"name":"fields","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Use 1–100 dot-separated field paths, each at most 256 characters. Segments start with an ASCII letter or underscore and may contain digits thereafter. For GET, send one comma-separated fields parameter such as id,author.name. For a POST JSON body, send a string array. Request view=full when selecting extension fields.","explode":false},{"name":"X-SocialToAI-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Enable this endpoint’s SocialToAI route with your own SocialToAI key."}]}}},"components":{"schemas":{"Catalog.Missing":{"type":"object","required":["id","reason"],"properties":{"id":{"type":"string"},"reason":{"type":"string","enum":["not_found","invalid"]}}},"Catalog.Page":{"type":"object","required":["next_cursor","cursor_expires_at","has_more","returned"],"properties":{"next_cursor":{"type":["string","null"]},"cursor_expires_at":{"type":["string","null"],"format":"date-time"},"has_more":{"type":"boolean"},"returned":{"type":"integer"}}},"Catalog.Warning":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["items_dropped","items_not_requested","fields_unparsed","text_truncated"]},"count":{"type":"integer"},"item":{"type":"integer"},"fields":{"type":"array","items":{"type":"string"}}}},"Catalog.account":{"type":"object","properties":{"id":{"type":["string","null"]},"username":{"type":["string","null"]},"name":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"bio":{"type":["string","null"]},"avatar_url":{"type":["string","null"],"format":"uri"},"verified":{"type":["boolean","null"]},"created_at":{"type":["string","null"],"format":"date-time"},"metrics":{"type":["object","null"],"properties":{"followers":{"type":["integer","null"]},"following":{"type":["integer","null"]},"posts":{"type":["integer","null"]}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.ad":{"type":"object","properties":{"id":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"format":{"type":["string","null"],"enum":["video","image","carousel","text","other",null]},"title":{"type":["string","null"]},"text":{"type":["string","null"]},"landing_url":{"type":["string","null"],"format":"uri"},"advertiser":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"avatar_url":{"type":["string","null"],"format":"uri"}}},"images":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}},"videos":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}},"first_shown_at":{"type":["string","null"],"format":"date-time"},"last_shown_at":{"type":["string","null"],"format":"date-time"},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.advertiser":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"avatar_url":{"type":["string","null"],"format":"uri"},"region":{"type":["string","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.audience":{"type":"object","properties":{"creator_id":{"type":["string","null"]},"measured_at":{"type":["string","null"],"format":"date-time"},"gender":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"age":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"province":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"city":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"interest":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"device":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"city_tier":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"crowd":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"purchase_category":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"purchase_amount":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"share":{"type":["number","null"]},"count":{"type":["integer","null"]}}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.comment":{"type":"object","properties":{"id":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"text":{"type":["string","null"]},"published_at":{"type":["string","null"],"format":"date-time"},"author":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"username":{"type":["string","null"]},"name":{"type":["string","null"]},"avatar_url":{"type":["string","null"],"format":"uri"}}},"metrics":{"type":["object","null"],"properties":{"likes":{"type":["integer","null"]},"comments":{"type":["integer","null"]}}},"post_id":{"type":["string","null"]},"parent_id":{"type":["string","null"]},"root_id":{"type":["string","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.creator":{"type":"object","properties":{"id":{"type":["string","null"]},"account_id":{"type":["string","null"]},"username":{"type":["string","null"]},"name":{"type":["string","null"]},"avatar_url":{"type":["string","null"],"format":"uri"},"location":{"type":["string","null"]},"categories":{"type":["array","null"],"items":{"type":["string","null"]}},"subcategories":{"type":["array","null"],"items":{"type":["string","null"]}},"metrics":{"type":["object","null"],"properties":{"followers":{"type":["integer","null"]}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.creator_rates":{"type":"object","properties":{"creator_id":{"type":["string","null"]},"currency":{"type":["string","null"]},"rates":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"amount":{"type":["string","null"]},"settlement":{"type":["string","null"]},"open":{"type":["boolean","null"]}}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.ext.bilibili.account":{"type":"object","properties":{"likes":{"type":["integer","null"]},"verified_reason":{"type":["string","null"]},"level":{"type":["integer","null"]},"live_room_url":{"type":["string","null"],"format":"uri"}}},"Catalog.ext.bilibili.comment":{"type":"object","properties":{"author_level":{"type":["integer","null"]}}},"Catalog.ext.bilibili.post":{"type":"object","properties":{"aid":{"type":["string","null"]},"coins":{"type":["integer","null"]},"danmaku":{"type":["integer","null"]},"duration":{"type":["number","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"category":{"type":["string","null"]},"ip_location":{"type":["string","null"]},"cid":{"type":["string","null"]},"parts":{"type":["integer","null"]},"recommend_reason":{"type":["string","null"]}}},"Catalog.ext.bilibili.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.bilibili.trend":{"type":"object","properties":{"display_name":{"type":["string","null"]}}},"Catalog.ext.douyin.account":{"type":"object","properties":{"likes":{"type":["integer","null"]},"uid":{"type":["string","null"]},"is_live":{"type":["boolean","null"]},"live_room_id":{"type":["string","null"]},"has_shop":{"type":["boolean","null"]},"live_commerce":{"type":["boolean","null"]},"verified_label":{"type":["string","null"]},"is_business":{"type":["boolean","null"]},"ip_location":{"type":["string","null"]}}},"Catalog.ext.douyin.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.douyin.creator":{"type":"object","properties":{"uid":{"type":["string","null"]},"rate_integrated":{"type":["string","null"]},"rate_custom":{"type":["string","null"]},"expected_views":{"type":["integer","null"]},"agency":{"type":["string","null"]},"cpm_integrated":{"type":["string","null"]},"cpm_custom":{"type":["string","null"]},"cpm_promoted":{"type":["string","null"]},"interaction_rate_30d":{"type":["number","null"]},"completion_rate_30d":{"type":["number","null"]},"views_median_30d":{"type":["number","null"]},"ecommerce_level":{"type":["string","null"]},"gender":{"type":["string","null"],"enum":["female","male",null]},"content_labels":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Catalog.ext.douyin.keyword_history":{"type":"object","properties":{"composite_average":{"type":["integer","null"]},"search_average":{"type":["integer","null"]},"previous_composite_average":{"type":["integer","null"]},"previous_search_average":{"type":["integer","null"]},"year_ago_composite_average":{"type":["integer","null"]},"year_ago_search_average":{"type":["integer","null"]}}},"Catalog.ext.douyin.post":{"type":"object","properties":{"new_followers":{"type":["integer","null"]},"like_rate":{"type":["number","null"]},"follow_rate":{"type":["number","null"]},"index":{"type":["integer","null"]},"category":{"type":["string","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"duration":{"type":["number","null"]},"video_url":{"type":["string","null"],"format":"uri"},"images_jpeg":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}},"finish_rate":{"type":["number","null"]},"interaction_rate":{"type":["number","null"]},"categories":{"type":["array","null"],"items":{"type":["string","null"]}},"author_xingtu_id":{"type":["string","null"]},"author_uid":{"type":["string","null"]}}},"Catalog.ext.douyin.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.douyin.trend":{"type":"object","properties":{"views":{"type":["integer","null"]},"videos":{"type":["integer","null"]},"artist":{"type":["string","null"]},"category":{"type":["string","null"]}}},"Catalog.ext.facebook.account":{"type":"object","properties":{"likes":{"type":["integer","null"]},"talking_about":{"type":["integer","null"]},"category":{"type":["string","null"]},"website":{"type":["string","null"],"format":"uri"},"ad_library_id":{"type":["string","null"]}}},"Catalog.ext.google.ad":{"type":"object","properties":{"regions":{"type":["array","null"],"items":{"type":["string","null"]}},"impressions_min":{"type":["integer","null"]},"impressions_max":{"type":["integer","null"]},"variations":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"title":{"type":["string","null"]},"text":{"type":["string","null"]},"destination":{"type":["string","null"]},"image_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"}}}}}},"Catalog.ext.google.advertiser":{"type":"object","properties":{"ads_estimate":{"type":["integer","null"]}}},"Catalog.ext.instagram.account":{"type":"object","properties":{"is_private":{"type":["boolean","null"]},"website":{"type":["string","null"],"format":"uri"},"links":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}}}},"Catalog.ext.instagram.post":{"type":"object","properties":{"media_id":{"type":["string","null"]},"duration":{"type":["number","null"]},"video_url":{"type":["string","null"],"format":"uri"},"collaborators":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Catalog.ext.kuaishou.account":{"type":"object","properties":{"likes":{"type":["integer","null"]},"ip_location":{"type":["string","null"]},"gender":{"type":["string","null"],"enum":["female","male",null]},"has_shop":{"type":["boolean","null"]},"verified_label":{"type":["string","null"]}}},"Catalog.ext.kuaishou.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.kuaishou.post":{"type":"object","properties":{"duration":{"type":["number","null"]},"video_url":{"type":["string","null"],"format":"uri"}}},"Catalog.ext.kuaishou.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.linkedin.account":{"type":"object","properties":{"employees":{"type":["integer","null"]},"company_size":{"type":["string","null"]},"company_type":{"type":["string","null"]},"industry":{"type":["string","null"]},"headquarters":{"type":["string","null"]},"website":{"type":["string","null"],"format":"uri"},"founded":{"type":["integer","null"]}}},"Catalog.ext.pinterest.post":{"type":"object","properties":{"link":{"type":["string","null"],"format":"uri"},"saves":{"type":["integer","null"]},"duration":{"type":["number","null"]}}},"Catalog.ext.reddit.account":{"type":"object","properties":{"karma":{"type":["integer","null"]},"post_karma":{"type":["integer","null"]},"comment_karma":{"type":["integer","null"]},"comments":{"type":["integer","null"]}}},"Catalog.ext.reddit.comment":{"type":"object","properties":{"score":{"type":["integer","null"]}}},"Catalog.ext.reddit.post":{"type":"object","properties":{"score":{"type":["integer","null"]},"upvote_ratio":{"type":["number","null"]},"subreddit":{"type":["string","null"]},"link":{"type":["string","null"],"format":"uri"},"nsfw":{"type":["boolean","null"]}}},"Catalog.ext.telegram.post":{"type":"object","properties":{"number":{"type":["integer","null"]}}},"Catalog.ext.threads.post":{"type":"object","properties":{"quotes":{"type":["integer","null"]},"media_id":{"type":["string","null"]}}},"Catalog.ext.tiktok.account":{"type":"object","properties":{"sec_uid":{"type":["string","null"]},"likes":{"type":["integer","null"]},"region":{"type":["string","null"]},"language":{"type":["string","null"]}}},"Catalog.ext.tiktok.comment":{"type":"object","properties":{"region":{"type":["string","null"]}}},"Catalog.ext.tiktok.post":{"type":"object","properties":{"duration":{"type":["number","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"collaborators":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Catalog.ext.wechat.account":{"type":"object","properties":{"owner_name":{"type":["string","null"]},"original_articles":{"type":["integer","null"]}}},"Catalog.ext.wechat.post":{"type":"object","properties":{"duration":{"type":["number","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"reads_label":{"type":["string","null"]}}},"Catalog.ext.wechat_channels.account":{"type":"object","properties":{"ip_location":{"type":["string","null"]},"verification":{"type":["string","null"]}}},"Catalog.ext.wechat_channels.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.wechat_channels.post":{"type":"object","properties":{"duration":{"type":["number","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"decode_key":{"type":["string","null"]},"counted_at":{"type":["string","null"],"format":"date-time"}}},"Catalog.ext.wechat_channels.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.wechat_mp.account":{"type":"object","properties":{"ip_location":{"type":["string","null"]},"original_articles":{"type":["integer","null"]},"channels_id":{"type":["string","null"]},"biz":{"type":["string","null"]},"owner_name":{"type":["string","null"]},"estimated_followers":{"type":["integer","null"]},"estimated_headline_reads":{"type":["integer","null"]},"estimated_headline_likes":{"type":["integer","null"]},"estimated_weekly_articles":{"type":["integer","null"]},"estimated_last_published_at":{"type":["string","null"],"format":"date-time"},"banned":{"type":["boolean","null"]}}},"Catalog.ext.wechat_mp.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]},"is_pinned":{"type":["boolean","null"]}}},"Catalog.ext.wechat_mp.post":{"type":"object","properties":{"recommends":{"type":["integer","null"]},"position":{"type":["integer","null"]},"content_type":{"type":["string","null"],"enum":["article","video","audio","images","text","repost",null]},"cover_url":{"type":["string","null"],"format":"uri"},"digest":{"type":["string","null"]},"byline":{"type":["string","null"]},"source_url":{"type":["string","null"],"format":"uri"},"ip_location":{"type":["string","null"]},"markdown":{"type":["string","null"]}}},"Catalog.ext.weibo.account":{"type":"object","properties":{"interactions":{"type":["integer","null"]},"likes":{"type":["integer","null"]},"comments_received":{"type":["integer","null"]},"reposts_received":{"type":["integer","null"]},"verified_type":{"type":["string","null"],"enum":["person","organization",null]},"verified_reason":{"type":["string","null"]},"gender":{"type":["string","null"],"enum":["female","male",null]},"location":{"type":["string","null"]}}},"Catalog.ext.weibo.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.weibo.post":{"type":"object","properties":{"text_truncated":{"type":["boolean","null"]},"ip_location":{"type":["string","null"]},"reposted_id":{"type":["string","null"]},"video_url":{"type":["string","null"],"format":"uri"}}},"Catalog.ext.weibo.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.weibo.trend":{"type":"object","properties":{"label":{"type":["string","null"]}}},"Catalog.ext.x.account":{"type":"object","properties":{"verified_type":{"type":["string","null"],"enum":["business","government",null]},"location":{"type":["string","null"]},"website":{"type":["string","null"],"format":"uri"}}},"Catalog.ext.x.post":{"type":"object","properties":{"quotes":{"type":["integer","null"]},"quoted_id":{"type":["string","null"]},"is_retweet":{"type":["boolean","null"]},"retweeted_id":{"type":["string","null"]},"retweeted_author_id":{"type":["string","null"]}}},"Catalog.ext.xiaohongshu.account":{"type":"object","properties":{"ip_location":{"type":["string","null"]},"likes":{"type":["integer","null"]},"favorites":{"type":["integer","null"]},"gender":{"type":["string","null"],"enum":["female","male",null]},"location":{"type":["string","null"]}}},"Catalog.ext.xiaohongshu.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.xiaohongshu.creator":{"type":"object","properties":{"rate_image_note":{"type":["string","null"]},"rate_video_note":{"type":["string","null"]},"rate_lowest":{"type":["string","null"]},"sponsored_notes":{"type":["integer","null"]},"median_reads":{"type":["integer","null"]},"median_engagements":{"type":["integer","null"]},"gender":{"type":["string","null"],"enum":["female","male",null]},"feature_tags":{"type":["array","null"],"items":{"type":["string","null"]}},"personal_tags":{"type":["array","null"],"items":{"type":["string","null"]}},"industries":{"type":["array","null"],"items":{"type":["string","null"]}},"agency":{"type":["string","null"]},"likes_and_favorites":{"type":["integer","null"]},"accepts_sponsorship":{"type":["boolean","null"]},"accepts_image_notes":{"type":["boolean","null"]},"accepts_video_notes":{"type":["boolean","null"]},"sponsored_notes_30d":{"type":["integer","null"]},"travel_areas":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Catalog.ext.xiaohongshu.post":{"type":"object","properties":{"ip_location":{"type":["string","null"]},"duration":{"type":["number","null"]},"cover_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"subtitle_url":{"type":["string","null"],"format":"uri"},"is_sponsored":{"type":["boolean","null"]}}},"Catalog.ext.xiaohongshu.transcript":{"type":"object","properties":{"source":{"type":["string","null"],"enum":["platform_subtitle","speech_recognition",null]},"srt":{"type":["string","null"]},"charged_in":{"type":["string","null"]}}},"Catalog.ext.youtube.account":{"type":"object","properties":{"views":{"type":["integer","null"]},"links":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}},"keywords":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Catalog.ext.youtube.comment":{"type":"object","properties":{"replies_token":{"type":["string","null"]}}},"Catalog.ext.youtube.post":{"type":"object","properties":{"duration":{"type":["number","null"]},"video_id":{"type":["string","null"]},"keywords":{"type":["array","null"],"items":{"type":["string","null"]}},"category":{"type":["string","null"]},"chapters":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"title":{"type":["string","null"]},"start":{"type":["number","null"]}}}}}},"Catalog.ext.zhihu.account":{"type":"object","properties":{"answers":{"type":["integer","null"]},"articles":{"type":["integer","null"]},"ip_location":{"type":["string","null"]},"is_organization":{"type":["boolean","null"]},"upvotes":{"type":["integer","null"]},"last_posted_at":{"type":["string","null"],"format":"date-time"}}},"Catalog.ext.zhihu.comment":{"type":"object","properties":{"ip_location":{"type":["string","null"]}}},"Catalog.ext.zhihu.post":{"type":"object","properties":{"answers":{"type":["integer","null"]},"followers":{"type":["integer","null"]}}},"Catalog.ext.zhihu.trend":{"type":"object","properties":{"answers":{"type":["integer","null"]},"followers":{"type":["integer","null"]},"excerpt":{"type":["string","null"]},"created_at":{"type":["string","null"],"format":"date-time"},"cover_url":{"type":["string","null"],"format":"uri"}}},"Catalog.keyword_history":{"type":"object","properties":{"keyword":{"type":["string","null"]},"points":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"date":{"type":["string","null"],"format":"date-time"},"search_index":{"type":["integer","null"]},"composite_index":{"type":["integer","null"]},"notes":{"type":["integer","null"]},"impressions":{"type":["integer","null"]},"views":{"type":["integer","null"]},"engagements":{"type":["integer","null"]}}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.music":{"type":"object","properties":{"id":{"type":["string","null"]},"title":{"type":["string","null"]},"author":{"type":["string","null"]},"duration":{"type":["number","null"]},"audio_url":{"type":["string","null"],"format":"uri"},"cover_url":{"type":["string","null"],"format":"uri"},"is_commercial":{"type":["boolean","null"]},"is_original":{"type":["boolean","null"]},"users":{"type":["integer","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.pgy_creator_costs":{"type":"object","properties":{"creator_id":{"type":["string","null"]},"date":{"type":["string","null"],"format":"date-time"},"currency":{"type":["string","null"]},"image_cpm":{"type":["string","null"]},"image_cpm_percentile":{"type":["number","null"]},"video_cpm":{"type":["string","null"]},"video_cpm_percentile":{"type":["number","null"]},"image_cpe":{"type":["string","null"]},"image_cpe_percentile":{"type":["number","null"]},"video_cpe":{"type":["string","null"]},"video_cpe_percentile":{"type":["number","null"]},"image_read_cost":{"type":["string","null"]},"image_read_cost_percentile":{"type":["number","null"]},"video_read_cost":{"type":["string","null"]},"video_read_cost_percentile":{"type":["number","null"]},"image_shop_visit_cost":{"type":["string","null"]},"image_shop_visit_cost_percentile":{"type":["number","null"]},"video_shop_visit_cost":{"type":["string","null"]},"video_shop_visit_cost_percentile":{"type":["number","null"]},"median_impressions":{"type":["integer","null"]},"median_impressions_percentile":{"type":["number","null"]},"median_reads":{"type":["integer","null"]},"median_reads_percentile":{"type":["number","null"]},"median_engagements":{"type":["integer","null"]},"median_engagements_percentile":{"type":["number","null"]},"median_shop_visits":{"type":["integer","null"]},"median_shop_visits_percentile":{"type":["number","null"]},"follower_growth":{"type":["number","null"]},"follower_growth_percentile":{"type":["number","null"]},"invite_reply_rate":{"type":["number","null"]},"easy_to_reach":{"type":["boolean","null"]},"active_days_7d":{"type":["integer","null"]},"is_active":{"type":["boolean","null"]},"notes_30d":{"type":["integer","null"]},"highlight":{"type":["string","null"]},"highlight_reason":{"type":["string","null"]},"content_mix":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"category":{"type":["string","null"]},"share":{"type":["number","null"]}}}},"industries":{"type":["array","null"],"items":{"type":["string","null"]}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.pgy_creator_metrics":{"type":"object","properties":{"creator_id":{"type":["string","null"]},"notes":{"type":["integer","null"]},"median_impressions":{"type":["integer","null"]},"median_reads":{"type":["integer","null"]},"median_engagements":{"type":["integer","null"]},"median_likes":{"type":["integer","null"]},"median_favorites":{"type":["integer","null"]},"median_comments":{"type":["integer","null"]},"median_shares":{"type":["integer","null"]},"engagement_rate":{"type":["number","null"]},"video_completion_rate":{"type":["number","null"]},"image_3s_read_rate":{"type":["number","null"]},"hundred_like_share":{"type":["number","null"]},"thousand_like_share":{"type":["number","null"]},"impressions_percentile":{"type":["number","null"]},"reads_percentile":{"type":["number","null"]},"engagements_percentile":{"type":["number","null"]},"video_notes":{"type":["integer","null"]},"video_completion_percentile":{"type":["number","null"]},"median_follows":{"type":["integer","null"]},"traffic_sources":{"type":["object","null"],"properties":{"impressions":{"type":["object","null"],"properties":{"homefeed":{"type":["number","null"]},"search":{"type":["number","null"]},"follow":{"type":["number","null"]},"detail":{"type":["number","null"]},"nearby":{"type":["number","null"]},"other":{"type":["number","null"]}}},"reads":{"type":["object","null"],"properties":{"homefeed":{"type":["number","null"]},"search":{"type":["number","null"]},"follow":{"type":["number","null"]},"detail":{"type":["number","null"]},"nearby":{"type":["number","null"]},"other":{"type":["number","null"]}}}}},"long_term":{"type":["object","null"],"properties":{"published_from":{"type":["string","null"],"format":"date-time"},"published_to":{"type":["string","null"],"format":"date-time"},"notes":{"type":["integer","null"]},"recent_reads":{"type":["integer","null"]},"recent_reads_percentile":{"type":["number","null"]},"long_term_reads":{"type":["integer","null"]},"long_term_reads_percentile":{"type":["number","null"]},"recent_sources":{"type":["object","null"],"properties":{"homefeed":{"type":["number","null"]},"search":{"type":["number","null"]},"profile":{"type":["number","null"]},"follow":{"type":["number","null"]},"other":{"type":["number","null"]}}},"long_term_sources":{"type":["object","null"],"properties":{"homefeed":{"type":["number","null"]},"search":{"type":["number","null"]},"profile":{"type":["number","null"]},"follow":{"type":["number","null"]},"other":{"type":["number","null"]}}}}},"note_list":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"title":{"type":["string","null"]},"type":{"type":["string","null"],"enum":["image","video",null]},"published_at":{"type":["string","null"],"format":"date-time"},"cover_url":{"type":["string","null"],"format":"uri"},"impressions":{"type":["integer","null"]},"reads":{"type":["integer","null"]},"engagements":{"type":["integer","null"]},"likes":{"type":["integer","null"]},"favorites":{"type":["integer","null"]},"impressions_vs_median":{"type":["number","null"]},"reads_vs_median":{"type":["number","null"]},"engagements_vs_median":{"type":["number","null"]},"likes_vs_median":{"type":["number","null"]},"favorites_vs_median":{"type":["number","null"]}}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.post":{"type":"object","properties":{"id":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"type":{"type":["string","null"],"enum":["video","image","text","article",null]},"title":{"type":["string","null"]},"text":{"type":["string","null"]},"lang":{"type":["string","null"]},"published_at":{"type":["string","null"],"format":"date-time"},"author":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"username":{"type":["string","null"]},"name":{"type":["string","null"]},"avatar_url":{"type":["string","null"],"format":"uri"},"verified":{"type":["boolean","null"]},"followers":{"type":["integer","null"]}}},"metrics":{"type":["object","null"],"properties":{"likes":{"type":["integer","null"]},"comments":{"type":["integer","null"]},"shares":{"type":["integer","null"]},"favorites":{"type":["integer","null"]},"views":{"type":["integer","null"]},"reposts":{"type":["integer","null"]}}},"images":{"type":["array","null"],"items":{"type":["string","null"],"format":"uri"}},"hashtags":{"type":["array","null"],"items":{"type":["string","null"]}},"mentions":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"username":{"type":["string","null"]},"name":{"type":["string","null"]}}}},"is_pinned":{"type":["boolean","null"]},"post_id":{"type":["string","null"]},"parent_id":{"type":["string","null"]},"root_id":{"type":["string","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.transcript":{"type":"object","properties":{"post_id":{"type":["string","null"]},"status":{"type":["string","null"],"enum":["done","processing",null]},"job":{"type":["string","null"]},"retry_after_seconds":{"type":["integer","null"]},"lang":{"type":["string","null"]},"text":{"type":["string","null"]},"segments":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"start":{"type":["number","null"]},"end":{"type":["number","null"]},"text":{"type":["string","null"]},"speaker":{"type":["string","null"]},"words":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"start":{"type":["number","null"]},"end":{"type":["number","null"]},"text":{"type":["string","null"]}}}}}}},"duration":{"type":["number","null"]},"post":{"type":["object","null"],"properties":{"title":{"type":["string","null"]},"text":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"},"published_at":{"type":["string","null"],"format":"date-time"},"duration":{"type":["number","null"]},"author":{"type":["object","null"],"properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}}},"metrics":{"type":["object","null"],"properties":{"likes":{"type":["integer","null"]},"comments":{"type":["integer","null"]}}}}},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.trend":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"rank":{"type":["integer","null"]},"heat":{"type":["integer","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}},"Catalog.xingtu_creator_metrics":{"type":"object","properties":{"creator_id":{"type":["string","null"]},"videos":{"type":["integer","null"]},"median_views":{"type":["integer","null"]},"average_likes":{"type":["integer","null"]},"average_comments":{"type":["integer","null"]},"average_shares":{"type":["integer","null"]},"engagement_rate":{"type":["number","null"]},"engagement_rate_percentile":{"type":["number","null"]},"completion_rate":{"type":["number","null"]},"completion_rate_percentile":{"type":["number","null"]},"currency":{"type":["string","null"]},"cpm_integrated":{"type":["string","null"]},"cpm_custom":{"type":["string","null"]},"cpe_integrated":{"type":["string","null"]},"cpe_custom":{"type":["string","null"]},"approximate":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"field":{"type":["string","null"]},"kind":{"type":["string","null"],"enum":["approximate","lower_bound",null]}}}},"ext":{"type":"object"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key from the console, or an OAuth access token for MCP."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"},"dataxapiKey":{"type":"apiKey","in":"header","name":"X-DataXAPI-Key","description":"DataXAPI key from your own provider account, required for the extended catalog."},"consoleSession":{"type":"apiKey","in":"cookie","name":"__Host-shishu_session"},"localhostSession":{"type":"apiKey","in":"cookie","name":"shishu_session"}}}}