> ## 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/photos

> Get one Yonhap News Agency wire photo by its photo id or URL: the wire caption, every published size of the image, the photographer with their reporter profile id and desk, the filing section and topics, hashtags, dispatch time and the reader reaction and share counters.

**Price:** 1 credit

**⚠️ Common errors:** 412: Photo not found: well-formed photo id that has no photo page (some agency frames are only published inside articles)



## OpenAPI

````yaml /openapi/news-publishing.json post /api/yonhap/photos
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/photos:
    post:
      tags:
        - /yonhap
      summary: /yonhap/photos
      description: >-
        Get one Yonhap News Agency wire photo by its photo id or URL: the wire
        caption, every published size of the image, the photographer with their
        reporter profile id and desk, the filing section and topics, hashtags,
        dispatch time and the reader reaction and share counters.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Photo not found: well-formed photo id that
        has no photo page (some agency frames are only published inside
        articles)
      operationId: __api_yonhap_photos_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YonhapPhotosPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YonhapPhoto'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YonhapPhotosPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        photo:
          type: string
          minLength: 1
      type: object
      required:
        - photo
    YonhapPhoto:
      properties:
        '@type':
          type: string
          default: YonhapPhoto
        id:
          type: string
        photo_title:
          type: string
        caption:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          type: string
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        photographer:
          anyOf:
            - type: string
            - type: 'null'
        photographer_id:
          anyOf:
            - type: string
            - type: 'null'
        photographer_url:
          anyOf:
            - type: string
            - type: 'null'
        photographer_email:
          anyOf:
            - type: string
            - type: 'null'
        desk:
          anyOf:
            - type: string
            - type: 'null'
        section:
          anyOf:
            - type: string
            - type: 'null'
        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: []
        urgency:
          anyOf:
            - type: integer
            - type: 'null'
        reactions:
          anyOf:
            - $ref: '#/components/schemas/YonhapArticleReactions'
            - type: 'null'
        shares:
          anyOf:
            - $ref: '#/components/schemas/YonhapArticleShares'
            - type: 'null'
      type: object
      required:
        - id
        - photo_title
        - web_url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    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

````