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

# /yonhap/articles/rankings

> Read a Yonhap News Agency ranking feed: editor-picked hot news, the desk's major headlines, urgent bulletins, the most viewed and longest-read stories, the most reacted-to stories, and the most viewed wire photos and videos. Every item comes back with the full wire record - headline, sub-headlines, lead, wire photos with captions, dispatch time, desk topics, keywords, byline and the reader reaction and share counters the rankings are built from.

**Price:** 1 credit

**⚠️ Common errors:** 412: Ranking page carries no items



## OpenAPI

````yaml /openapi/news-publishing.json post /api/yonhap/articles/rankings
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/yonhap/articles/rankings:
    post:
      tags:
        - /yonhap
      summary: /yonhap/articles/rankings
      description: >-
        Read a Yonhap News Agency ranking feed: editor-picked hot news, the
        desk's major headlines, urgent bulletins, the most viewed and
        longest-read stories, the most reacted-to stories, and the most viewed
        wire photos and videos. Every item comes back with the full wire record
        - headline, sub-headlines, lead, wire photos with captions, dispatch
        time, desk topics, keywords, byline and the reader reaction and share
        counters the rankings are built from.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Ranking page carries no items
      operationId: __api_yonhap_articles_rankings_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YonhapArticlesRankingsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YonhapRankedArticle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YonhapArticlesRankingsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        ranking:
          $ref: '#/components/schemas/YonhapRankingType'
        section:
          anyOf:
            - $ref: '#/components/schemas/YonhapRankingSection'
            - type: 'null'
        date:
          anyOf:
            - type: string
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - ranking
        - count
    YonhapRankedArticle:
      properties:
        '@type':
          type: string
          default: YonhapRankedArticle
        rank:
          type: integer
        id:
          type: string
        language:
          type: string
        article_title:
          type: string
        subtitles:
          items:
            type: string
          type: array
          default: []
        web_url:
          type: string
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            $ref: '#/components/schemas/YonhapArticleImage'
          type: array
          default: []
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        topics:
          items:
            type: string
          type: array
          default: []
        keywords:
          items:
            type: string
          type: array
          default: []
        writer_name:
          anyOf:
            - type: string
            - type: 'null'
        urgency:
          anyOf:
            - type: integer
            - type: 'null'
        duration:
          anyOf:
            - type: string
            - type: 'null'
        related_articles:
          items:
            $ref: '#/components/schemas/YonhapRelatedArticle'
          type: array
          default: []
        reactions:
          anyOf:
            - $ref: '#/components/schemas/YonhapArticleReactions'
            - type: 'null'
        shares:
          anyOf:
            - $ref: '#/components/schemas/YonhapArticleShares'
            - type: 'null'
      type: object
      required:
        - rank
        - id
        - language
        - article_title
        - web_url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YonhapRankingType:
      type: string
      enum:
        - hot
        - major
        - breaking
        - most_viewed
        - most_read_time
        - most_liked
        - most_viewed_photo
        - most_viewed_video
    YonhapRankingSection:
      type: string
      enum:
        - main
        - politics
        - economy
        - society
        - international
        - sports
        - entertainment
        - north_korea
        - culture
        - health
    YonhapArticleImage:
      properties:
        '@type':
          type: string
          default: YonhapArticleImage
        id:
          anyOf:
            - type: string
            - type: 'null'
        image:
          type: string
        caption:
          anyOf:
            - type: string
            - type: 'null'
        image_title:
          anyOf:
            - type: string
            - type: 'null'
        is_main:
          type: boolean
          default: false
      type: object
      required:
        - image
    YonhapRelatedArticle:
      properties:
        '@type':
          type: string
          default: YonhapRelatedArticle
        id:
          type: string
        article_title:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          type: string
      type: object
      required:
        - id
        - web_url
    YonhapArticleReactions:
      properties:
        '@type':
          type: string
          default: YonhapArticleReactions
        like_count:
          type: integer
          default: 0
        sad_count:
          type: integer
          default: 0
        angry_count:
          type: integer
          default: 0
        follow_up_count:
          type: integer
          default: 0
        total_count:
          type: integer
          default: 0
      type: object
    YonhapArticleShares:
      properties:
        '@type':
          type: string
          default: YonhapArticleShares
        kakao_talk_count:
          type: integer
          default: 0
        kakao_story_count:
          type: integer
          default: 0
        facebook_count:
          type: integer
          default: 0
        facebook_messenger_count:
          type: integer
          default: 0
        x_count:
          type: integer
          default: 0
        naver_band_count:
          type: integer
          default: 0
        naver_blog_count:
          type: integer
          default: 0
        url_count:
          type: integer
          default: 0
        native_count:
          type: integer
          default: 0
        total_count:
          type: integer
          default: 0
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````