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 iterate all matching Actors, paging on demand. The options'limitcaps the total number yielded across all pages (unset = all);$chunkSizeis the per-page size.
$page = $client->store()->list(new StoreListOptions(search: 'scraper', limit: 10));
$shown = 0;
// $chunkSize (50) is the per-page size; limit (unset) would cap the total across all pages.
foreach ($client->store()->iterate(new StoreListOptions(search: 'scraper'), 50) as $item) {
echo $item->getName() . PHP_EOL;
if (++$shown >= 5) {
break;
}
}get(): ?User— forme(), private account details are available viatoArray().monthlyUsage(?string $date = null): array— current-account monthly usage (only forme()).$dateis an ISO date inYYYY-MM-DDformat; the report covers the monthly usage cycle containing that date. Omit it (or passnull) to report the current month.limits(): array,updateLimits(mixed $newLimits): void— account limits (only forme()).
$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 full log as text.stream(?LogOptions $options = null): StreamInterface— a live stream of the log.
$log = $client->log('RUN_OR_BUILD_ID')->get(new LogOptions(raw: true));