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

# /lemonde/articles

> Get one Le Monde article by its URL: headline, standfirst, body text, publication and update times, authors, section breadcrumb, keywords, lead image with caption and credit, in-body images, embedded video ids, related links and, on live pages, the timeline of live updates. Works for the French site and for Le Monde in English, and for article, live, video and podcast pages. Le Monde is metered: for subscriber-only articles the body is the free opening extract and the share of the text withheld is reported.

**Price:** 1 credit

**⚠️ Common errors:** 412: Article not found at this URL, or the URL redirected to a different article, 422: Not a Le Monde article URL



## OpenAPI

````yaml /openapi/news-publishing.json post /api/lemonde/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/lemonde/articles:
    post:
      tags:
        - /lemonde
      summary: /lemonde/articles
      description: >-
        Get one Le Monde article by its URL: headline, standfirst, body text,
        publication and update times, authors, section breadcrumb, keywords,
        lead image with caption and credit, in-body images, embedded video ids,
        related links and, on live pages, the timeline of live updates. Works
        for the French site and for Le Monde in English, and for article, live,
        video and podcast pages. Le Monde is metered: for subscriber-only
        articles the body is the free opening extract and the share of the text
        withheld is reported.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Article not found at this URL, or the URL
        redirected to a different article, 422: Not a Le Monde article URL
      operationId: __api_lemonde_articles_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LemondeArticlesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LemondeArticle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LemondeArticlesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        article:
          type: string
          minLength: 1
      type: object
      required:
        - article
    LemondeArticle:
      properties:
        '@type':
          type: string
          default: LemondeArticle
        id:
          type: string
        article_title:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          type: string
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        language:
          type: string
        content_type:
          type: string
        label:
          anyOf:
            - type: string
            - type: 'null'
        section:
          anyOf:
            - type: string
            - type: 'null'
        sections:
          items:
            $ref: '#/components/schemas/LemondeTerm'
          type: array
          default: []
        keywords:
          items:
            type: string
          type: array
          default: []
        byline:
          anyOf:
            - type: string
            - type: 'null'
        dateline:
          anyOf:
            - type: string
            - type: 'null'
        authors:
          items:
            $ref: '#/components/schemas/LemondeAuthor'
          type: array
          default: []
        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/LemondeImage'
          type: array
          default: []
        videos:
          items:
            $ref: '#/components/schemas/LemondeVideo'
          type: array
          default: []
        video_duration:
          anyOf:
            - type: string
            - type: 'null'
        audio_url:
          anyOf:
            - type: string
            - type: 'null'
        is_premium:
          type: boolean
          default: false
        is_truncated:
          type: boolean
          default: false
        remaining_percent:
          anyOf:
            - type: number
            - type: 'null'
        reading_time:
          anyOf:
            - type: integer
            - type: 'null'
        translation_url:
          anyOf:
            - type: string
            - type: 'null'
        related_articles:
          items:
            $ref: '#/components/schemas/LemondeRelatedArticle'
          type: array
          default: []
        live_updates:
          items:
            $ref: '#/components/schemas/LemondeLiveUpdate'
          type: array
          default: []
      type: object
      required:
        - id
        - article_title
        - web_url
        - language
        - content_type
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    LemondeTerm:
      properties:
        '@type':
          type: string
          default: LemondeTerm
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LemondeAuthor:
      properties:
        '@type':
          type: string
          default: LemondeAuthor
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        job_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LemondeImage:
      properties:
        '@type':
          type: string
          default: LemondeImage
        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
    LemondeVideo:
      properties:
        '@type':
          type: string
          default: LemondeVideo
        id:
          type: string
        provider:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    LemondeRelatedArticle:
      properties:
        '@type':
          type: string
          default: LemondeRelatedArticle
        id:
          anyOf:
            - type: string
            - type: 'null'
        article_title:
          type: string
        web_url:
          type: string
        is_premium:
          type: boolean
          default: false
      type: object
      required:
        - article_title
        - web_url
    LemondeLiveUpdate:
      properties:
        '@type':
          type: string
          default: LemondeLiveUpdate
        id:
          type: string
        update_title:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        images:
          items:
            $ref: '#/components/schemas/LemondeImage'
          type: array
          default: []
      type: object
      required:
        - id
    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

````