Rockmoon segments API

Rockmoon segments API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-11-23); not the provider's own document.

GitHub OpenAPI

Operations 4

GET /v1/segments/{ticker} Every segmented value across income, balance sheet, and cash flow. #
GET /v1/segments/{ticker}/balance-sheet Assets and other balance-sheet lines, broken out per segment. #
GET /v1/segments/{ticker}/cash-flow Cash-flow segments #
GET /v1/segments/{ticker}/trend Segment trend #

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/rockmoon-ai:segments-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

rockmoon-ai-segments-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Rockmoon segments API
  version: '2026-11-23'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-23: 4 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Rockmoon has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 10
    documentation: 0
    pages-with-code: 12
    pages-read: 13
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-23'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api.rockmoon.ai/docs/segments/all
  - https://api.rockmoon.ai/docs/segments/balance-sheet
  - https://api.rockmoon.ai/docs/segments/cash-flow
  - https://api.rockmoon.ai/docs/segments/trend
  x-docs-section: segments
paths:
  /v1/segments/{ticker}:
    get:
      operationId: get_v1_segments_ticker
      tags:
      - Segments
      summary: Every segmented value across income, balance sheet, and cash flow.
      description: Returns segmented financial statements for the given ticker.
      x-source: https://api.rockmoon.ai/docs/segments/all
      parameters:
      - name: ticker
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SegmentsTickerResponse'
      x-evidence:
        kind: documentation
  /v1/segments/{ticker}/balance-sheet:
    get:
      operationId: get_v1_segments_ticker_balance_sheet
      tags:
      - Segments
      summary: Assets and other balance-sheet lines, broken out per segment.
      x-source: https://api.rockmoon.ai/docs/segments/balance-sheet
      parameters:
      - name: ticker
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SegmentsTickerBalanceSheetResponse'
      x-evidence:
        kind: documentation
  /v1/segments/{ticker}/cash-flow:
    get:
      operationId: get_v1_segments_ticker_cash_flow
      tags:
      - Segments
      summary: Cash-flow segments
      x-source: https://api.rockmoon.ai/docs/segments/cash-flow
      parameters:
      - name: ticker
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SegmentsTickerCashFlowResponse'
      x-evidence:
        kind: documentation
  /v1/segments/{ticker}/trend:
    get:
      operationId: get_v1_segments_ticker_trend
      tags:
      - Segments
      summary: Segment trend
      x-source: https://api.rockmoon.ai/docs/segments/trend
      parameters:
      - name: ticker
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SegmentsTickerTrendResponse'
      x-evidence:
        kind: documentation
security:
- apiKey: []
components:
  schemas:
    GetV1SegmentsTickerResponse:
      type: object
      properties:
        ticker:
          type: string
        market:
          type: string
        currency:
          type: string
        count:
          type: integer
        segmented_financials:
          type: array
          description: Array of period objects.
        trace_id:
          type: string
    GetV1SegmentsTickerBalanceSheetResponse:
      type: object
      properties:
        ticker:
          type: string
        market:
          type: string
        currency:
          type: string
        count:
          type: integer
        segmented_financials:
          type: array
          description: Array of period objects.
        segmented_financials[].report_period:
          type: string
          description: Date of the report period.
        segmented_financials[].period_type:
          type: string
          description: Period type, e.g., instant.
        segmented_financials[].balance_sheet:
          type: object
        segmented_financials[].balance_sheet.assets:
          type: object
        segmented_financials[].balance_sheet.assets.segment:
          type: array
          description: Segment breakdown of assets.
        segmented_financials[].balance_sheet.assets.segment[].label:
          type: string
          description: Segment label.
        segmented_financials[].balance_sheet.assets.segment[].value:
          type: number
          description: Asset value for the segment.
        trace_id:
          type: string
    GetV1SegmentsTickerCashFlowResponse:
      type: object
      properties:
        ticker:
          type: string
        market:
          type: string
        currency:
          type: string
        count:
          type: integer
        segmented_financials:
          type: array
          description: Array of period objects.
        segmented_financials[].report_period:
          type: string
        segmented_financials[].period_type:
          type: string
        segmented_financials[].cash_flow_statement:
          type: object
        segmented_financials[].cash_flow_statement.capex:
          type: object
        segmented_financials[].cash_flow_statement.capex.segment:
          type: array
        segmented_financials[].cash_flow_statement.capex.segment[].label:
          type: string
        segmented_financials[].cash_flow_statement.capex.segment[].value:
          type: number
        trace_id:
          type: string
    GetV1SegmentsTickerTrendResponse:
      type: object
      properties:
        ticker:
          type: string
        market:
          type: string
        concept:
          type: string
        trend:
          type: object
          description: Keys are segment labels, values are arrays of period/value objects.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
tags:
- name: Segments