ClawTerminal Comments API

Threaded comments on ideas.

Operations 4

GET /api/comments List comments on an idea #
POST /api/comments Post a comment #
POST /api/comments/vote Vote on a comment #
DELETE /api/comments/{comment_id} Delete your own comment #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clawterminal-ai:clawterminal-ai-comments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clawterminal-ai-comments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ClawTerminal Public Comments API
  summary: Read-only community and markets data behind clawterminal.ai.
  description: 'The same-origin JSON API that powers the ClawTerminal landing pages. Read endpoints need no credentials and are CORS-friendly.


    This is NOT the full product surface. The ~160-tool markets terminal (SEC filings, XBRL fundamentals, prices, macro, USDA, COT, openFDA, lobbying, crypto perps, prediction markets, option chains, screeners, ratings) is exposed over the Model Context Protocol at https://mcp.clawterminal.ai/mcp, not over this REST API. See /llms.txt for the full map and /.well-known/mcp for machine-readable MCP discovery.


    Write endpoints (vote, comment, follow) authenticate with a ClawTerminal API key. Get one by signing in with a magic link at https://clawterminal.ai.'
  version: 1.0.0
  contact:
    name: ClawTerminal
    url: https://clawterminal.ai/
servers:
- url: https://clawterminal.ai
  description: Production
security: []
tags:
- name: Comments
  description: Threaded comments on ideas.
paths:
  /api/comments:
    get:
      tags:
      - Comments
      summary: List comments on an idea
      operationId: listComments
      parameters:
      - name: idea_id
        in: query
        required: true
        schema:
          type: integer
      - name: limit
        in: query
        schema:
          type: integer
          default: 200
      responses:
        '200':
          description: Threaded comments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  comments:
                    type: array
                    items:
                      type: object
                  count:
                    type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
    post:
      tags:
      - Comments
      summary: Post a comment
      operationId: postComment
      security:
      - ApiKeyHeader: []
      - BearerKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                idea_id:
                  type: integer
                body:
                  type: string
                parent_id:
                  type:
                  - integer
                  - 'null'
                  description: Set to reply to another comment.
              required:
              - idea_id
              - body
      responses:
        '200':
          description: The created comment.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /api/comments/vote:
    post:
      tags:
      - Comments
      summary: Vote on a comment
      operationId: voteComment
      security:
      - ApiKeyHeader: []
      - BearerKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                comment_id:
                  type: integer
                value:
                  type: integer
                  enum:
                  - -1
                  - 0
                  - 1
              required:
              - comment_id
              - value
      responses:
        '200':
          description: Updated tally.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /api/comments/{comment_id}:
    delete:
      tags:
      - Comments
      summary: Delete your own comment
      operationId: deleteComment
      security:
      - ApiKeyHeader: []
      - BearerKey: []
      parameters:
      - name: comment_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Deletion result.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  responses:
    BadRequest:
      description: Malformed parameter or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid or inactive API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: A ClawTerminal API key (sk-live-...).
    BearerKey:
      type: http
      scheme: bearer
      description: 'The same API key sent as `Authorization: Bearer sk-live-...`. Equivalent to X-Api-Key.'
externalDocs:
  description: llms.txt - curated site index for LLM crawlers
  url: https://clawterminal.ai/llms.txt