4chan · Capability

4chan Read-Only JSON API — Catalog

Boards — Catalog. 1 operation. Lead operation: 4chan Get Board Catalog. Self-contained Naftiko capability covering one 4chan business surface.

Run with Naftiko 4chanImageboardCatalog

What You Can Do

GET
Getboardcatalog — 4chan Get Board Catalog
/v1/boards/{board}/catalog

MCP Tools

get-board-catalog

4chan Get Board Catalog

read-only idempotent

Capability Spec

4chan-api-catalog.yaml Raw ↑
naftiko: "1.0.0-alpha2"

info:
  label: "4chan Read-Only JSON API — Catalog"
  description: >-
    Boards — Catalog. 1 operation. Lead operation: 4chan Get Board Catalog.
    Self-contained Naftiko capability covering one 4chan business surface.
  tags:
    - 4chan
    - Imageboard
    - Catalog
  created: "2026-05-28"
  modified: "2026-05-28"

binds: []

capability:

  consumes:
    - type: http
      namespace: 4chan-api-catalog
      baseUri: https://a.4cdn.org
      description: "4chan Read-Only JSON API — Catalog business capability. Self-contained, no shared references."
      resources:
        - name: board-catalog-json
          path: /{board}/catalog.json
          operations:
            - name: getboardcatalog
              method: GET
              description: 4chan Get Board Catalog
              inputParameters:
                - name: board
                  in: path
                  type: string
                  required: true
                  description: Board directory short name.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: 4chan-api-catalog-rest
      port: 8080
      description: "REST adapter for 4chan Read-Only JSON API — Catalog."
      resources:
        - path: /v1/boards/{board}/catalog
          name: board-catalog
          description: REST surface for the per-board catalog snapshot.
          operations:
            - method: GET
              name: getboardcatalog
              description: 4chan Get Board Catalog
              call: "4chan-api-catalog.getboardcatalog"
              with:
                board: "rest.board"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      namespace: 4chan-api-catalog-mcp
      port: 9090
      transport: http
      description: "MCP adapter for 4chan Read-Only JSON API — Catalog."
      tools:
        - name: get-board-catalog
          description: 4chan Get Board Catalog
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "4chan-api-catalog.getboardcatalog"
          with:
            board: "tools.board"
          outputParameters:
            - type: object
              mapping: "$."