# Financial Datasets — Get cash flow statement segments

Get cash flow segment data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Financial Datasets, pass parameters such as limit, period, ticker, and retrieve structured data including company ticker, financial reporting period, reporting frequency, capital-expenditure segment label, and reported segment capital expenditure for capital allocation view, and period comparison.

Documentation: https://openany.si/market/apis/financial-datasets/financial-datasets-get-cash-flow-statement-segments/?offering=c43e560d-147c-48dd-aedc-098b00779c1e
API ID: c43e560d-147c-48dd-aedc-098b00779c1e
Provider: financialdatasets
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/financialdatasets/financials/cash-flow-statements/segments
Page update time: 2026-12-03T02:49:10.383Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.02 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:09.379Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "20000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Financial Datasets — Get cash flow statement segments request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "ticker": {
          "type": "string",
          "description": "The ticker symbol. Required if cik is not provided."
        },
        "period": {
          "type": "string",
          "description": "The time period of the data.",
          "enum": [
            "annual",
            "quarterly"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "The maximum number of periods to return. This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`."
        },
        "cik": {
          "type": "string",
          "description": "The Central Index Key (CIK) of the company."
        },
        "report_period": {
          "type": "string",
          "description": "Filter by exact report period date in YYYY-MM-DD format.",
          "format": "date"
        },
        "report_period_gte": {
          "type": "string",
          "description": "Filter by report period greater than or equal to date in YYYY-MM-DD format.",
          "format": "date"
        },
        "report_period_lte": {
          "type": "string",
          "description": "Filter by report period less than or equal to date in YYYY-MM-DD format.",
          "format": "date"
        },
        "report_period_gt": {
          "type": "string",
          "description": "Filter by report period greater than date in YYYY-MM-DD format.",
          "format": "date"
        },
        "report_period_lt": {
          "type": "string",
          "description": "Filter by report period less than date in YYYY-MM-DD format.",
          "format": "date"
        },
        "cursor": {
          "type": "string",
          "description": "Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it."
        }
      },
      "required": [
        "period"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "segmented_financials": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "capital_expenditure": {
            "type": "object",
            "properties": {
              "segment": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "value": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "period": {
            "type": "string"
          },
          "report_period": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/financialdatasets/financials/cash-flow-statements/segments?limit=5&period=annual&ticker=AAPL' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "segmented_financials": [
    {
      "capital_expenditure": {
        "segment": [
          {
            "label": "Americas",
            "value": 3000000000.0
          },
          {
            "label": "Europe",
            "value": 2000000000.0
          },
          {
            "label": "Greater China",
            "value": 1500000000.0
          }
        ]
      },
      "period": "quarterly",
      "report_period": "2025-12-27",
      "ticker": "AAPL"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- financialdatasets: https://openany.si/market/apis/financial-datasets/financial-datasets-get-cash-flow-statement-segments/?offering=c43e560d-147c-48dd-aedc-098b00779c1e

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
