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

# /rfi/articles

> Get one RFI story by its URL: headline, standfirst, body text, publication and update times, section breadcrumb, keywords and topic tags, bylines with the role RFI credits each contributor under, lead image with its caption and photo credit, in-body images, and — on the radio material RFI is built around — the broadcast audio with its MP3 address, running time, programme and episode identity. Works for news articles, agency wire copy, radio editions and video pages, in every one of RFI's seventeen language editions.

**Price:** 10 credits

**⚠️ Common errors:** 412: No RFI story at this URL, or the URL is a listing page rather than a story, 422: Not an RFI content URL



## OpenAPI

````yaml /openapi/news-publishing.json post /api/rfi/articles
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/rfi/articles:
    post:
      tags:
        - /rfi
      summary: /rfi/articles
      description: >-
        Get one RFI story by its URL: headline, standfirst, body text,
        publication and update times, section breadcrumb, keywords and topic
        tags, bylines with the role RFI credits each contributor under, lead
        image with its caption and photo credit, in-body images, and — on the
        radio material RFI is built around — the broadcast audio with its MP3
        address, running time, programme and episode identity. Works for news
        articles, agency wire copy, radio editions and video pages, in every one
        of RFI's seventeen language editions.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: No RFI story at this URL, or the URL is a
        listing page rather than a story, 422: Not an RFI content URL
      operationId: __api_rfi_articles_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RfiArticlesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RfiArticle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RfiArticlesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        article:
          type: string
          minLength: 1
      type: object
      required:
        - article
    RfiArticle:
      properties:
        '@type':
          type: string
          default: RfiArticle
        id:
          anyOf:
            - type: string
            - type: 'null'
        article_title:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          type: string
        language:
          type: string
        content_type:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        section:
          anyOf:
            - type: string
            - type: 'null'
        sections:
          items:
            $ref: '#/components/schemas/RfiSection'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/RfiTag'
          type: array
          default: []
        keywords:
          items:
            type: string
          type: array
          default: []
        authors:
          items:
            $ref: '#/components/schemas/RfiAuthor'
          type: array
          default: []
        dateline:
          anyOf:
            - type: string
            - type: 'null'
        reading_time:
          anyOf:
            - type: integer
            - type: 'null'
        word_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        image_caption:
          anyOf:
            - type: string
            - type: 'null'
        image_credit:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            $ref: '#/components/schemas/RfiImage'
          type: array
          default: []
        audios:
          items:
            $ref: '#/components/schemas/RfiAudio'
          type: array
          default: []
        videos:
          items:
            $ref: '#/components/schemas/RfiVideo'
          type: array
          default: []
        related_articles:
          items:
            $ref: '#/components/schemas/RfiRelatedArticle'
          type: array
          default: []
        is_free:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - article_title
        - web_url
        - language
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RfiSection:
      properties:
        '@type':
          type: string
          default: RfiSection
        name:
          type: string
        web_url:
          type: string
      type: object
      required:
        - name
        - web_url
    RfiTag:
      properties:
        '@type':
          type: string
          default: RfiTag
        name:
          type: string
        alias:
          type: string
        web_url:
          type: string
        language:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
        - alias
        - web_url
    RfiAuthor:
      properties:
        '@type':
          type: string
          default: RfiAuthor
        name:
          type: string
        role:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    RfiImage:
      properties:
        '@type':
          type: string
          default: RfiImage
        image:
          type: string
        caption:
          anyOf:
            - type: string
            - type: 'null'
        credit:
          anyOf:
            - type: string
            - type: 'null'
        alt:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - image
    RfiAudio:
      properties:
        '@type':
          type: string
          default: RfiAudio
        id:
          anyOf:
            - type: string
            - type: 'null'
        audio_url:
          type: string
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        audio_title:
          anyOf:
            - type: string
            - type: 'null'
        content_id:
          anyOf:
            - type: string
            - type: 'null'
        content_type:
          anyOf:
            - type: string
            - type: 'null'
        program_id:
          anyOf:
            - type: string
            - type: 'null'
        program_title:
          anyOf:
            - type: string
            - type: 'null'
        program_url:
          anyOf:
            - type: string
            - type: 'null'
        program_genre:
          anyOf:
            - type: string
            - type: 'null'
        season:
          anyOf:
            - type: string
            - type: 'null'
        season_episode:
          anyOf:
            - type: string
            - type: 'null'
        episode_id:
          anyOf:
            - type: string
            - type: 'null'
        episode_title:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        published_label:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - audio_url
    RfiVideo:
      properties:
        '@type':
          type: string
          default: RfiVideo
        video_url:
          anyOf:
            - type: string
            - type: 'null'
        thumbnail:
          anyOf:
            - type: string
            - type: 'null'
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        video_title:
          anyOf:
            - type: string
            - type: 'null'
        video_description:
          anyOf:
            - type: string
            - type: 'null'
        uploaded_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    RfiRelatedArticle:
      properties:
        '@type':
          type: string
          default: RfiRelatedArticle
        article_title:
          type: string
        web_url:
          type: string
      type: object
      required:
        - article_title
        - web_url
    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

````