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

> Read an RFI RSS feed: the newest stories of the whole edition, of one news section or of one topic tag, with headline, summary, publication time, section, lead image and the photo credit RFI attaches to it. A radio programme's podcast feed is served on the same endpoint and adds the episode's MP3, its running time and its keywords. A feed carries only the newest few dozen items, so it shows what RFI published in the last few hours, in any of its seventeen language editions.

**Price:** 1 credit

**⚠️ Common errors:** 412: RFI publishes no feed at this path, 422: Not an RFI section path, tag path, podcast path or feed URL



## OpenAPI

````yaml /openapi/news-publishing.json post /api/rfi/feeds
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/feeds:
    post:
      tags:
        - /rfi
      summary: /rfi/feeds
      description: >-
        Read an RFI RSS feed: the newest stories of the whole edition, of one
        news section or of one topic tag, with headline, summary, publication
        time, section, lead image and the photo credit RFI attaches to it. A
        radio programme's podcast feed is served on the same endpoint and adds
        the episode's MP3, its running time and its keywords. A feed carries
        only the newest few dozen items, so it shows what RFI published in the
        last few hours, in any of its seventeen language editions.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: RFI publishes no feed at this path, 422: Not
        an RFI section path, tag path, podcast path or feed URL
      operationId: __api_rfi_feeds_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RfiFeedsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RfiFeedItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RfiFeedsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        feed:
          type: string
          default: ''
        count:
          type: integer
          minimum: 1
        lang:
          $ref: '#/components/schemas/RfiLanguage'
          default: en
      type: object
      required:
        - count
    RfiFeedItem:
      properties:
        '@type':
          type: string
          default: RfiFeedItem
        id:
          anyOf:
            - type: string
            - type: 'null'
        article_title:
          type: string
        web_url:
          type: string
        alias:
          type: string
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        language:
          type: string
        section:
          anyOf:
            - type: string
            - type: 'null'
        creator:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        image_credit:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
        season:
          anyOf:
            - type: string
            - type: 'null'
        season_episode:
          anyOf:
            - type: string
            - type: 'null'
        keywords:
          items:
            type: string
          type: array
          default: []
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        episode_type:
          anyOf:
            - type: string
            - type: 'null'
        is_explicit:
          anyOf:
            - type: boolean
            - type: 'null'
        media_url:
          anyOf:
            - type: string
            - type: 'null'
        media_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - article_title
        - web_url
        - alias
        - language
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RfiLanguage:
      type: string
      enum:
        - fr
        - en
        - es
        - pt
        - br
        - cn
        - tw
        - vi
        - km
        - ro
        - sw
        - ha
        - fa
        - ru
        - ff
        - uk
        - ma
    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

````