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

# Get Article

> Read an Article publicly by its wrapper tweet `id`, or read your own (incl. drafts) by `article_id` (the entity rest_id).



## OpenAPI

````yaml /api-reference/openapi.json get /article/get
openapi: 3.1.0
info:
  title: OmniX API
  version: 1.0.0
  description: >-
    The fastest X (Twitter) API. Read and write tweets, users, lists, media and
    articles with a single API key. Every request runs as a real X account you
    supply via `auth_token`. Flat $0.001 per successful call.
servers:
  - url: https://api.omnixapi.com/api/v1/twitter
security:
  - bearerAuth: []
tags:
  - name: Tweets
    description: Search, read and write tweets.
  - name: Users
    description: Profiles, timelines, networks and profile actions.
  - name: Lists
    description: X List data.
  - name: Media
    description: Upload images, GIFs and video.
  - name: Articles
    description: Long-form X Articles.
  - name: Direct Messages
    description: >-
      Read and send X (XChat) direct messages. Encrypted operations require your
      `encryption_code` (XChat PIN).
  - name: Webhooks
    description: >-
      Real-time event delivery. Register an https URL and OmniX POSTs typed,
      signed events for DMs, mentions, replies, likes and follows.
  - name: Account
    description: >-
      Your OmniX account details, credit balance, usage and payment history.
      Free — no credits deducted, and no X account token required.
paths:
  /article/get:
    get:
      tags:
        - Articles
      summary: Get Article
      description: >-
        Read an Article publicly by its wrapper tweet `id`, or read your own
        (incl. drafts) by `article_id` (the entity rest_id).
      operationId: articleGet
      parameters:
        - $ref: '#/components/parameters/AuthToken'
        - name: id
          in: query
          required: false
          schema:
            type: string
          description: Wrapper tweet ID (public read).
        - name: article_id
          in: query
          required: false
          schema:
            type: string
          description: Article entity rest_id (owner-only read; also needs `auth_token`).
        - $ref: '#/components/parameters/Proxy'
      responses:
        '200':
          description: The article.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          article:
                            $ref: '#/components/schemas/Article'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    AuthToken:
      name: auth_token
      in: query
      required: true
      schema:
        type: string
      description: The X account `auth_token` cookie the action runs as.
      example: YOUR_X_AUTH_TOKEN
    Proxy:
      name: proxy
      in: query
      required: false
      schema:
        type: string
      description: >-
        Optional outbound proxy for this call (`http://` or `https://`,
        optionally `user:pass@host:port`). The X request runs through it —
        useful for geo-routing or spreading calls across IPs. SOCKS proxies are
        not supported.
      example: http://user:pass@host:8080
  schemas:
    Envelope:
      type: object
      properties:
        status:
          type: boolean
          example: true
        data:
          type: object
        error:
          type: string
          nullable: true
          example: null
    Article:
      type: object
      properties:
        id:
          type: string
          nullable: true
        author:
          $ref: '#/components/schemas/Author'
        replyCount:
          type: integer
        likeCount:
          type: integer
        quoteCount:
          type: integer
        viewCount:
          type: integer
          nullable: true
        createdAt:
          type: string
          nullable: true
        title:
          type: string
        preview_text:
          type: string
        cover_media_img_url:
          type: string
          nullable: true
        contents:
          type: array
          items:
            $ref: '#/components/schemas/ArticleContent'
        tweet_id:
          type: string
          nullable: true
          description: Owner-read only.
        lifecycle:
          type: string
          nullable: true
          description: Owner-read only (Draft/Published).
    Author:
      type: object
      properties:
        type:
          type: string
          example: user
        id:
          type: string
          example: '44196397'
        userName:
          type: string
          example: elonmusk
        name:
          type: string
          example: Elon Musk
        url:
          type: string
          nullable: true
        twitterUrl:
          type: string
          nullable: true
        isVerified:
          type: boolean
        isBlueVerified:
          type: boolean
        verifiedType:
          type: string
          nullable: true
        profilePicture:
          type: string
          nullable: true
        coverPicture:
          type: string
          nullable: true
        description:
          type: string
        location:
          type: string
          nullable: true
        followers:
          type: integer
        following:
          type: integer
        favouritesCount:
          type: integer
        statusesCount:
          type: integer
        mediaCount:
          type: integer
        canDm:
          type: boolean
        createdAt:
          type: string
          nullable: true
        pinnedTweetIds:
          type: array
          items:
            type: string
    ArticleContent:
      type: object
      properties:
        type:
          type: string
          example: unstyled
        text:
          type: string
        url:
          type: string
          nullable: true
        width:
          type: integer
          nullable: true
        height:
          type: integer
          nullable: true
        inlineStyleRanges:
          type: array
          items:
            type: object
    Error:
      type: object
      properties:
        status:
          type: boolean
          example: false
        data:
          type: object
          nullable: true
          example: null
        error:
          type: string
  responses:
    NotFound:
      description: The user, tweet or article doesn't exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            status: false
            data: null
            error: 'Tweet not found: 1899999999999999999'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your OmniX API key, e.g. `omnix_live_...`. Billed per call.

````