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

# /aljazeera/articles

> Get a full Al Jazeera article by URL or slug: title, subheading, full HTML text, authors, news agency sources, categories, tags, geography, featured image, gallery images, video, audio version and related articles. Supports all article types: news, opinion, video, gallery, longform and liveblog.

**Price:** 1 credit

**⚠️ Common errors:** 412: Article not found (well-formed but nonexistent slug or URL)



## OpenAPI

````yaml /openapi/news-publishing.json post /api/aljazeera/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/aljazeera/articles:
    post:
      tags:
        - /aljazeera
      summary: /aljazeera/articles
      description: >-
        Get a full Al Jazeera article by URL or slug: title, subheading, full
        HTML text, authors, news agency sources, categories, tags, geography,
        featured image, gallery images, video, audio version and related
        articles. Supports all article types: news, opinion, video, gallery,
        longform and liveblog.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Article not found (well-formed but
        nonexistent slug or URL)
      operationId: __api_aljazeera_articles_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AljazeeraArticlesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AljazeeraArticle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AljazeeraArticlesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        article:
          type: string
          minLength: 1
      type: object
      required:
        - article
    AljazeeraArticle:
      properties:
        '@type':
          type: string
          default: AljazeeraArticle
        id:
          type: integer
        replacement_title:
          anyOf:
            - type: string
            - type: 'null'
        post_type:
          anyOf:
            - type: string
            - type: 'null'
        subheading:
          anyOf:
            - type: string
            - type: 'null'
        excerpt:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: string
            - type: 'null'
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        short_url:
          anyOf:
            - type: string
            - type: 'null'
        is_breaking:
          type: boolean
          default: false
        is_developing:
          type: boolean
          default: false
        is_live:
          type: boolean
          default: false
        byline:
          anyOf:
            - type: string
            - type: 'null'
        authors:
          items:
            $ref: '#/components/schemas/AljazeeraAuthor'
          type: array
          default: []
        sources:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        image_caption:
          anyOf:
            - type: string
            - type: 'null'
        image_credit:
          anyOf:
            - type: string
            - type: 'null'
        gallery_images:
          items:
            $ref: '#/components/schemas/AljazeeraGalleryImage'
          type: array
          default: []
        video:
          anyOf:
            - $ref: '#/components/schemas/AljazeeraVideo'
            - type: 'null'
        audio_url:
          anyOf:
            - type: string
            - type: 'null'
        audio_duration:
          anyOf:
            - type: number
            - type: 'null'
        primary_category:
          anyOf:
            - type: string
            - type: 'null'
        primary_tag:
          anyOf:
            - type: string
            - type: 'null'
        primary_where:
          anyOf:
            - type: string
            - type: 'null'
        categories:
          items:
            $ref: '#/components/schemas/AljazeeraTerm'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/AljazeeraTerm'
          type: array
          default: []
        where:
          items:
            $ref: '#/components/schemas/AljazeeraTerm'
          type: array
          default: []
        programs:
          items:
            $ref: '#/components/schemas/AljazeeraTerm'
          type: array
          default: []
        related_articles:
          items:
            $ref: '#/components/schemas/AljazeeraRelatedArticle'
          type: array
          default: []
      type: object
      required:
        - id
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AljazeeraAuthor:
      properties:
        '@type':
          type: string
          default: AljazeeraAuthor
        id:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        twitter_url:
          anyOf:
            - type: string
            - type: 'null'
        facebook_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AljazeeraGalleryImage:
      properties:
        '@type':
          type: string
          default: AljazeeraGalleryImage
        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
    AljazeeraVideo:
      properties:
        '@type':
          type: string
          default: AljazeeraVideo
        id:
          type: string
        duration:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        aspect_ratio:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    AljazeeraTerm:
      properties:
        '@type':
          type: string
          default: AljazeeraTerm
        id:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AljazeeraRelatedArticle:
      properties:
        '@type':
          type: string
          default: AljazeeraRelatedArticle
        id:
          anyOf:
            - type: integer
            - type: 'null'
        replacement_title:
          anyOf:
            - type: string
            - type: 'null'
        post_type:
          anyOf:
            - type: string
            - type: 'null'
        excerpt:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - title
    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

````