Snippets assume $client = new ApifyClient('my-api-token'); and imported types.
list(?StoreListOptions $options = null): PaginationList: one page of Store Actors.iterate(?StoreListOptions $options = null, ?int $chunkSize = null): iterable: lazily yields the matching Actors. Thelimitoption caps the total (unset for all),$chunkSizeis the page size.
$page = $client->store()->list(new StoreListOptions(search: 'scraper', limit: 10));
$shown = 0;
// 50 is the page size. The limit option would cap the total.
foreach ($client->store()->iterate(new StoreListOptions(search: 'scraper'), 50) as $item) {
echo $item->getName() . PHP_EOL;
if (++$shown >= 5) {
break;
}
}get(): ?User: forme(), the private account details are intoArray().monthlyUsage(?string $date = null): array: the monthly usage of the cycle that contains$date(YYYY-MM-DD), by default the current month.limits(): array,updateLimits(mixed $newLimits): void: the account limits. These three methods work forme()and for any user ID the token may access.
$me = $client->me()->get();
$usage = $client->me()->monthlyUsage('2026-06-01');
$limits = $client->me()->limits();
$publicProfile = $client->user('some-username')->get();get(?LogOptions $options = null): ?string: the log as text, with the exact bytes the API sent.stream(?LogOptions $options = null): StreamInterface: a live stream of the log.
$log = $client->log('RUN_OR_BUILD_ID')->get(new LogOptions(raw: true));