Stripe Analytics avatar
Stripe Analytics

Pricing

Pay per event

Go to Store
Stripe Analytics

Stripe Analytics

Developed by

Raphael Kuban

Raphael Kuban

Maintained by Community

Fetch Stripe balance history & payouts for any date range. This actor automates financial data exports for accounting, reconciliation, and cash flow analysis. Perfect for finance teams, SaaS analytics, and automated reporting workflows. Secure, fast, and ready for scheduled cloud execution.

0.0 (0)

Pricing

Pay per event

0

Total users

1

Monthly users

1

Last modified

4 days ago

πŸš€ Stripe Analytics Fetcher – Apify Actor

Easily fetch and analyze your core Stripe financial data, including balance history and payouts, using this powerful, ready-to-deploy Apify Actor.

Whether you're building financial dashboards, automating reconciliation, or integrating with analytics tools, this Stripe Analytics Fetcher is a flexible solution built on Python and the Apify SDK.


πŸ” What It Does

This Actor connects to your Stripe account via API and retrieves key financial data within a specified date range (defaults to the last 7 days). It fetches two main types of data:

πŸ“ˆ Balance History

Detailed records of all transactions that affect your Stripe balance.

  • 🧾 Transaction ID
  • πŸ’° Gross Amount, Net Amount, and Fee (converted to currency units)
  • πŸ’± Currency
  • πŸ“¦ Status (e.g., available, pending)
  • πŸ“ Type (e.g., charge, refund, payout)
  • πŸ•’ Timestamp
  • πŸ”— Source object details (like the original charge or refund ID)

πŸ’Έ Payouts

Records of funds transferred from your Stripe balance to your bank account.

  • 🧾 Payout ID
  • πŸ’° Amount
  • πŸ’± Currency
  • πŸ“¦ Status (e.g., paid, in_transit)
  • πŸ“… Arrival Date
  • πŸ•’ Creation Timestamp
  • πŸ’³ Payout method and type

βœ… Why Use This?

  • πŸ” Automated Stripe financial data retrieval
  • πŸ“Š Simplifies data exports for financial analysis, accounting, and reporting
  • ☁️ Runs in the cloud, no server setup needed
  • πŸ”— Integrates directly into Apify workflows and datasets
  • πŸ“… Supports filtering by date range for precise reporting
  • 🧩 Ideal for financial automation, cash flow analysis, and payment data auditing

βš™οΈ Input Configuration

This Actor expects a JSON input with the following fields:

{ "stripe_api_key": "sk_live_YOUR_SECRET_KEY", "analytics_limit": 25, "start_date": "2023-10-01", "end_date": "2023-10-31" }

  • stripe_api_key (required): Your Stripe secret key.
  • analytics_limit (optional): Number of records to fetch for each data type (default is 10).
  • start_date (optional): The start date for the data range in YYYY-MM-DD format.
  • end_date (optional): The end date for the data range in YYYY-MM-DD format.

Note: If start_date and end_date are omitted, the Actor will default to fetching data from the last 7 days.


πŸ“€ Output

The Actor pushes structured financial data to the Apify dataset, separated into different views.

Balance History Example:

{ "transaction_id": "txn_1XXXXXXX", "amount": 5500, "net": 5302, "fee": 198, "currency": "USD", "status": "available", "type": "charge", "description": "Charge for order #123", "created_timestamp": 1721312400, "source_id": "ch_1XXXXXXX", "source_object": "charge" }

Payout Example:

{ "payout_id": "po_1XXXXXXX", "amount": 12550, "currency": "USD", "status": "paid", "arrival_date": 1721347200, "created_timestamp": 1721319000, "method": "standard", "type": "bank_account", "description": "STRIPE PAYOUT" }


πŸ“Œ Use Cases

  • πŸ’Ό Financial reconciliation and auditing
  • πŸ”Ž Cash flow analysis and tracking
  • 🧾 Payout verification against bank statements
  • πŸ“Š Data pipelines for finance and accounting teams
  • πŸ“ˆ Visual dashboards with no-code platforms
  • πŸ› οΈ Comprehensive financial reporting

πŸ› οΈ Technologies Used

  • Python 3.11+
  • Stripe API
  • Apify SDK
  • asyncio for non-blocking API calls

πŸš€ Getting Started

  1. Deploy this Actor on Apify.
  2. Add your Stripe API key to the input configuration.
  3. (Optional) Set your desired date range and record limit.
  4. Run the Actor manually or schedule it to run automatically.
  5. Export or process the results from the Apify dataset views.

πŸ”’ Security Note

Make sure to store and use your Stripe secret key securely. Never commit it to version control or share it publicly.


πŸ™‹ Support

Have questions, ideas, or feature requests?
Feel free to open an issue, contact support via Apify, or fork the project and contribute.


Keywords: Stripe API, Stripe integration, Stripe analytics, Stripe balance, Stripe payouts, Apify Actor, Python automation, serverless data pipeline, financial reporting, cash flow analysis, payment monitoring, accounting automation, financial data, API reporting