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

# 检查引用或转推

> 检查用户是否引用或转推过给定推文。返回的 `status` 字段有三个可能值：`quoted`、`retweet` 或 `not_found`。找到引用或转推时，响应还包含互动日期及引用文本（如适用）。通过 `username`、`user_link` 或 `user_id` 指定用户。



## OpenAPI

````yaml openapi-zh-Hans.json POST /check-quoted
openapi: 3.0.3
info:
  contact: {}
  title: Sorsa.io API
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /check-quoted:
    post:
      tags:
        - 行为验证
      summary: 检查引用或转推
      description: >-
        检查用户是否引用或转推过给定推文。返回的 `status` 字段有三个可能值：`quoted`、`retweet` 或
        `not_found`。找到引用或转推时，响应还包含互动日期及引用文本（如适用）。通过 `username`、`user_link` 或
        `user_id` 指定用户。
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/verification.CheckQuotedReq'
        description: 提供推文链接，以及用户链接、username 或 user_id
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/verification.CheckQuotedResp'
          description: 成功
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 请求无效
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 未授权
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 禁止访问
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 未找到
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 请求过多
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 服务器内部错误
      security:
        - ApiKeyAuth: []
components:
  schemas:
    verification.CheckQuotedReq:
      properties:
        tweet_link:
          example: https://twitter.com/TweetScout_io/status/1782368585664626774
          type: string
        user_id:
          example: '44196397'
          type: string
        user_link:
          example: https://twitter.com/elonmusk
          type: string
        username:
          example: elonmusk
          type: string
      type: object
    verification.CheckQuotedResp:
      properties:
        date:
          description: 互动日期（找到互动时）。
          example: '2024-04-27 06:43:09'
          type: string
        status:
          description: 互动类型：`quoted`、`retweet` 或 `not_found`。
          example: quoted
          type: string
        text:
          description: 引用推文的文本（status 为 `quoted` 时）。
          example: Quote text
          type: string
        user_protected:
          description: 被检查用户的账号受保护时为 `true`。
          example: false
          type: boolean
      type: object
    handler.ErrorResponse:
      properties:
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: ApiKey
      type: apiKey

````