Actor picture

24 Hour Stats

mtrunkat/24-hour-stats

This act can be used as synchronous API. Returns a JSON containing actor runs finished in the last 24 hours along with information about their default datasets and request queues. Actors might be filtered via input array "actIds".

You need to have an Apify account with an API token.

  1. To run the actor from your program externally, copy-paste the code below into your program (based on programming language)

  2. Replace <YOUR_API_TOKEN> with your own token (you can find it here)

1
2
3
4
5
6
7
8
const Apify = require('Apify');

Apify.client.setOptions({ token: '<YOUR_API_TOKEN>' });

const run = await Apify.call('mtrunkat/24-hour-stats', { });

console.log('Actor finished, here is the output:');
console.dir(run.output);
  • Modified
  • Last run
  • Used98 times
  • Used by2 users
Categories