Heads up During early access these endpoints are served through MCPconnect your agent in two minutes. Direct REST calls are available on the Unlimited plan: email us.

Cash-flow segments

Capex and other cash-flow lines, broken out per segment.

GET /v1/segments/{ticker}/cash-flow basic+

Parameters

NameTypeReqDescription
tickerpathyesTicker symbol.

Example

curl -H "X-API-Key: rk_YOUR_KEY" \
  https://api.rockmoon.ai/v1/segments/AAPL/cash-flow
Response 200
{
  "ticker": "AAPL",
  "market": "US",
  "currency": "USD",
  "count": 9,
  "segmented_financials": [
    {
      "report_period": "2014-09-27",
      "period_type": "annual",
      "cash_flow_statement": {
        "capex": {
          "segment": [
            { "label": "Retail", "value": 484000000 }
          ]
        }
      }
    },
    {
      "report_period": "2013-09-28",
      "period_type": "annual",
      "cash_flow_statement": {
        "capex": {
          "segment": [
            { "label": "Retail", "value": 495000000 }
          ]
        }
      }
    },
    {
      "report_period": "2012-09-29",
      "period_type": "annual",
      "cash_flow_statement": {
        "capex": {
          "segment": [
            { "label": "Retail", "value": 865000000 }
          ]
        }
      }
    }
  ],
  "trace_id": "dd979e85f76248f297a59d4a6d9ee2ec"
}
Errors
HTTPCodeCause
403upgrade_requiredSegments are a Basic+ feature.
404ticker_not_foundUnknown ticker.
429rate_limit_exceededRate limit hit. Honor Retry-After.

Notes

  • Coverage is sparse — most filers don't disclose CF lines at the segment level. Expect capex only for some periods and historical filings.