> ## 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.

# 記事データ

> URLからTwitter/X記事（長文投稿）の全情報を取得します。全文、短い抜粋、カバー画像URL、公開日、エンゲージメント指標、投稿者プロフィールを返します。



## OpenAPI

````yaml /openapi-ja.json post /article
openapi: 3.0.3
info:
  contact: {}
  title: Sorsa.io API
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /article:
    post:
      tags:
        - ツイート
      summary: 記事データ
      description: >-
        URLからTwitter/X記事（長文投稿）の全情報を取得します。全文、短い抜粋、カバー画像URL、公開日、エンゲージメント指標、投稿者プロフィールを返します。
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tweets.ArticleReq'
        description: 記事の取得リクエスト
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tweets.ArticleRes'
          description: 成功
        '400':
          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: 見つかりません
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 内部サーバーエラー
      security:
        - ApiKeyAuth: []
components:
  schemas:
    tweets.ArticleReq:
      properties:
        tweet_link:
          description: ツイート・記事の完全なURL（例：`https://x.com/user/status/123`）またはツイートID。
          type: string
      type: object
    tweets.ArticleRes:
      properties:
        author:
          allOf:
            - $ref: '#/components/schemas/common.User'
          description: 投稿者のプロフィール情報。
        bookmark_count:
          description: ブックマーク数。
          type: integer
        cover_image_url:
          description: 記事のカバー画像のURL。
          type: string
        full_text:
          description: 記事の全文。
          type: string
        likes_count:
          description: 「いいね」の数。
          type: integer
        preview_text:
          description: 記事の短いプレビューまたは抜粋。
          type: string
        published_at:
          description: 公開日時。ISO 8601形式。
          type: string
        quote_count:
          description: 引用ツイート数。
          type: integer
        reply_count:
          description: 返信数。
          type: integer
        retweet_count:
          description: リツイート数。
          type: integer
        views_count:
          description: 表示回数（インプレッション）。
          type: integer
      type: object
    handler.ErrorResponse:
      properties:
        message:
          type: string
      type: object
    common.User:
      properties:
        bio_urls:
          description: 自己紹介内のURL。
          items:
            type: string
          type: array
        can_dm:
          description: アカウントがDMを受け付けているか。
          example: false
          type: boolean
        created_at:
          description: アカウント作成日時。ISO 8601形式。
          example: '2009-06-02T20:12:29Z'
          type: string
        description:
          description: プロフィールの自己紹介文。
          example: Bio text
          type: string
        display_name:
          description: ユーザーの表示名。
          example: Elon Musk
          type: string
        favourites_count:
          description: このユーザーが「いいね」したツイートの総数。
          example: 1200
          type: integer
        followers_count:
          description: このユーザーをフォローしているアカウント数。
          example: 100000
          type: integer
        followings_count:
          description: このユーザーがフォローしているアカウント数。
          example: 500
          type: integer
        id:
          description: 一意のTwitter/XユーザーID。
          example: '44196397'
          type: string
        location:
          description: ユーザーがプロフィールに記載した所在地。
          example: Austin, TX
          type: string
        media_count:
          description: このユーザーが投稿したメディアの総数。
          example: 300
          type: integer
        pinned_tweet_ids:
          description: ユーザーの固定ツイートのID。
          items:
            type: string
          type: array
        possibly_sensitive:
          description: センシティブな内容を含む可能性があると指定されているか。
          example: false
          type: boolean
        profile_background_image_url:
          description: ユーザーのプロフィール背景画像のURL。
          example: https://pbs.twimg.com/profile_banners/44196397/123
          type: string
        profile_image_url:
          description: ユーザーのアバター画像のURL。
          example: https://pbs.twimg.com/profile_images/123/photo.jpg
          type: string
        protected:
          description: アカウントのツイートが保護されている（非公開）か。
          example: false
          type: boolean
        tweets_count:
          description: このユーザーが投稿したツイートの総数。
          example: 5000
          type: integer
        username:
          description: 現在のTwitter/Xユーザー名（@なし）。
          example: elonmusk
          type: string
        verified:
          description: アカウントに認証バッジがあるか。
          example: true
          type: boolean
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: ApiKey
      type: apiKey

````