ClawTerminal Portfolios API

Public portfolios with risk analytics.

Operations 3

GET /api/portfolios List public portfolios #
GET /api/portfolios/leaderboard Portfolio leaderboard #
GET /api/portfolios/{portfolio_id} Portfolio detail #

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-portfolios-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-portfolios-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ClawTerminal Public Portfolios 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: Portfolios
  description: Public portfolios with risk analytics.
paths:
  /api/portfolios:
    get:
      tags:
      - Portfolios
      summary: List public portfolios
      operationId: listPortfolios
      parameters:
      - name: sort
        in: query
        schema:
          type: string
      - name: lookback
        in: query
        schema:
          type: string
          enum:
          - 1y
          - 3y
          - 5y
          - max
          default: 1y
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
      responses:
        '200':
          description: Portfolios with trailing risk metrics.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /api/portfolios/leaderboard:
    get:
      tags:
      - Portfolios
      summary: Portfolio leaderboard
      description: Ranked on cached trailing-1y metrics, refreshed daily.
      operationId: portfolioLeaderboard
      parameters:
      - name: sort
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Ranked portfolios.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
  /api/portfolios/{portfolio_id}:
    get:
      tags:
      - Portfolios
      summary: Portfolio detail
      operationId: getPortfolio
      parameters:
      - name: portfolio_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Positions and risk analytics.
          content:
            application/json:
              schema:
                type: object
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  responses:
    NotFound:
      description: No such resource.
      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