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

# /fivech/boards/archive

> List archived (past-log) threads of a 5ch (5ちゃんねる) board back to 2001: thread id, title, creation time and final post count. Walk from the newest or the oldest thread and restrict to a time window.

**Price:** 1 credit

**⚠️ Common errors:** 412: Board not found (well-formed directory name but no such board on 5ch)



## OpenAPI

````yaml /openapi/social-media.json post /api/fivech/boards/archive
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/fivech/boards/archive:
    post:
      tags:
        - /fivech
      summary: /fivech/boards/archive
      description: >-
        List archived (past-log) threads of a 5ch (5ちゃんねる) board back to 2001:
        thread id, title, creation time and final post count. Walk from the
        newest or the oldest thread and restrict to a time window.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Board not found (well-formed directory name
        but no such board on 5ch)
      operationId: __api_fivech_boards_archive_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FivechBoardsArchivePayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FivechThreadSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FivechBoardsArchivePayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        board:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        order:
          $ref: '#/components/schemas/FivechArchiveOrder'
          default: newest
        before:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        after:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
      type: object
      required:
        - board
        - count
    FivechThreadSummary:
      properties:
        '@type':
          type: string
          default: FivechThreadSummary
        id:
          type: string
        board:
          type: string
        url:
          type: string
        thread_title:
          type: string
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        post_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - board
        - url
        - thread_title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    FivechArchiveOrder:
      type: string
      enum:
        - newest
        - oldest
    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

````