VOOZH about

URL: https://apify.com/vittuhy/apify-task-usage-reporter

⇱ Apify Task Usage Reporter Β· Apify


Pricing

Pay per usage

Go to Apify Store

Apify Task Usage Reporter

This actor scans your Apify account and provides a detailed summary of your platform usage and costs, broken down by task. It helps you understand which tasks consume the most resources over a specific period.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

πŸ‘ VΓ­t TuhΓ½

VΓ­t TuhΓ½

Maintained by Apify

Actor stats

0

Bookmarked

25

Total users

0

Monthly active users

a year ago

Last modified

Categories

Share

Usage by Tasks Actor

This actor scans your Apify account and provides a detailed summary of your platform usage and costs, broken down by task. It helps you understand which tasks are consuming the most resources over a specific period.

πŸš€ Key Features

  • Comprehensive Analysis: Fetches all tasks and their historical runs with efficient pagination
  • Cost Tracking: Focuses on runs with actual USD costs (usageTotalUsd > 0)
  • Dual Reports: Always generates both aggregated and daily breakdown reports
  • High Performance: Optimized with 1000-run batches and direct usage data access
  • Progress Tracking: Real-time progress updates with detailed batch logging
  • Duplicate Prevention: Tracks individual runs to prevent reprocessing

πŸ“Š Functionality

Data Processing Flow

  1. Task Discovery: Fetches all tasks using paginated API calls
  2. Run Analysis: For each task, retrieves all historical runs in 1000-run batches
  3. Date Filtering: Filters runs by specified date range (UTC)
  4. Cost Filtering: Only includes runs with usageTotalUsd > 0
  5. Data Aggregation: Groups results by task and date
  6. Report Generation: Creates both aggregated and daily breakdowns

Report Types

Aggregated Report (summary.csv):

  • Groups all runs by task across the entire date range
  • Shows total run count and USD cost per task
  • Sorted by total cost (highest first)

Daily Report (summary_daily.csv):

  • Breaks down usage by task and individual day
  • Shows daily run count and USD cost
  • Sorted chronologically by date

πŸ“ Input Configuration

The actor takes its input from the Apify platform UI or API:

FieldTypeDescriptionRequiredDefault
startDateDateThe beginning of the date range (YYYY-MM-DD). Interpreted in UTC.Yes-
endDateDateThe end of the date range (YYYY-MM-DD). If empty, defaults to the current date. Interpreted in UTC.NoCurrent date
reportTypeSelectChoose the format for the data saved to the Dataset: "Summarized" (default) or "Day by Day".No"Summarized"

Note: Date fields are interpreted in UTC timezone. This may differ from times displayed in the Apify Console.

πŸ“€ Output

Console Logs

  • Progress Indicators: βœ… for success/info, ❌ for errors
  • Run Details: Each qualifying run logged with date, status, and cost
  • Summary Tables: Final aggregated and daily breakdowns

Key-Value Store (Storage > Key-value store)

  • summary.csv: Aggregated summary by task (always generated)
  • summary_daily.csv: Day-by-day breakdown by task (always generated)

Dataset (Output tab or Storage > Dataset)

Format depends on "Dataset Report Type" selection:

  • "Summarized": Aggregated data by task
  • "Day by Day": Daily breakdown by task

πŸ’‘ Example Output

Console Log Example

βœ… Starting newprocessing run πŸš€
βœ… Fetching all tasks(starting from offset 0)...
βœ… Found 1500 tasks.
βœ… Processing task: My Web Scraper(abc123)[Actor: Web Scraper(xyz789)]
βœ… Filtering runs by date range:2024-07-01 to 2024-07-31 πŸ“…
βœ… Run batch saved for task My Web Scraper:1000 runs fetched πŸ“Š
βœ… Fetched 2500 runs for task My Web Scraper within date range
βœ… Runs processed for task My Web Scraper:15 qualifying runs πŸ“Š
βœ… ➀ Run 2xMPaRmWfByTrc5yZ |17 Jun 2024,18:21:37CEST|SUCCEEDED|USD: $0.0009
βœ… Task completed: My Web Scraper(abc123)-15 qualifying runs, $0.0234 total πŸ“Š
βœ… Usage Summary(Aggregated):
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Actor Name β”‚ Actor ID β”‚ Task Name β”‚ Task ID β”‚ Run Count β”‚ Total $ β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Web Scraper β”‚ xyz789 β”‚ My Scraper β”‚ abc123 β”‚ 15 β”‚ $0.0234 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
βœ… Aggregated summary has been saved to KVSas summary.csv πŸ“₯
βœ… Daily summary has been saved to KVSas summary_daily.csv πŸ“₯
βœ… Processing completed successfully! πŸŽ‰

CSV Output Examples

summary.csv (Aggregated):

Date Range (From):,2024-07-01
Date Range (To):,2024-07-31
Actor Name,Actor ID,Task Name,Task ID,Run Count,Total $
Web Scraper,xyz789,My Scraper,abc123,15,$0.0234

summary_daily.csv (Daily):

Date Range (From):,2024-07-01
Date Range (To):,2024-07-31
Day,Actor Name,Actor ID,Task Name,Task ID,Run Count,Total $
2024-07-15,Web Scraper,xyz789,My Scraper,abc123,8,$0.0123
2024-07-16,Web Scraper,xyz789,My Scraper,abc123,7,$0.0111

⚠️ Important Notes

Performance Considerations

  • Large Accounts: Processing time scales with number of tasks and runs
  • API Limits: Uses efficient pagination to handle large datasets
  • Memory Usage: Optimized for minimal memory footprint with batch processing
  • Timeout Settings: Critical for accounts with extensive history or large amount of runs
  • Batch Processing: 1000-run batches for optimal performance

Data Limitations

  • Retention Policy: Historical data availability depends on subscription plan
  • API Access: Requires valid Apify API token (auto-detected)
  • Cost Filtering: Only includes runs with actual USD costs
  • Date Precision: Uses UTC date comparison (date-only, not time)

Technical Details

  • Pagination: Handles unlimited tasks and runs efficiently
  • Error Recovery: Graceful handling of API failures and timeouts
  • Memory Management: Efficient data structures for large datasets
  • Duplicate Prevention: Individual run tracking prevents data loss

For more information, see the Apify documentation.

You might also like

Actor Costs

lukaskrivka/actor-costs

Get costs and usage stats for your actor use aggregated daily. The actor also provides summary stats for the whole period.

πŸ‘ User avatar

LukΓ‘Ε‘ KΕ™ivka

38

FarmTech Task Inventory

funguystudios-owner/farmtech-task-inventory

Our task inventory improves the performance of the company. It requires an intial data of your company. It then directs further tasks without intervention. Complete the form enter your data and lead your company with FarmTech Task Inventory.

4

AWS Costs To Slack

drobnikj/aws-costs-to-slack

Actor integrates with AWS to monitor service usage costs and posts a summary of these costs to a Slack channel. The summary includes costs for various AWS services along with a chart that provides a visual breakdown of the costs over time.

πŸ‘ User avatar

Jakub DrobnΓ­k

3

[TEST] Platform Usage

caprolok/test-actor-proxy

Forward Dataset to Actor or Task

valek.josef/forward-dataset-to-actor-or-task

Forwards contents of specified dataset to a specified field on the input of another Actor or task.

πŸ‘ User avatar

Josef VΓ‘lek

22

AI Web Task Runner

solutionssmart/ai-web-task-runner

Run natural-language browser tasks with Playwright. Extract structured data, follow task-relevant links, capture screenshots, generate reports, and export reusable scripts.

πŸ‘ User avatar

Solutions Smart

2

Best Actor Finder

pranavpatel/best-actor-finder

Finds and tests the best actors for a specific task.

19

5.0

Apify Actor Scraper

viridian_butter/apify-actor-scraper

The Apify Actor Scraper is a high-performance, reliable web scraping tool designed to extract comprehensive metadata from the Apify Store. It provides developers and researchers with a clear view of the Apify ecosystem by collecting detailed information on available Actors.

3

Task Template Builder

sovanza.inc/task-template-builder

Task Template Builder creates reusable SOPs, checklists, project tasks, and automation templates from task titles and goals. It generates steps, subtasks, acceptance criteria, dependencies, tags, roles, time estimates, and automation hints for business workflows.

Related articles

How to build and monetize an AI agent on Apify
Read more
How to run a content gap analysis with Apify
Read more
Introduction to Apify Store: the world’s largest marketplace of web scrapers
Read more