Apify.Client 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Apify.Client --version 0.1.0
                    
NuGet\Install-Package Apify.Client -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Apify.Client" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apify.Client" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Apify.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Apify.Client --version 0.1.0
                    
#r "nuget: Apify.Client, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Apify.Client@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Apify.Client&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Apify.Client&version=0.1.0
                    
Install as a Cake Tool

Apify API client for .NET

Official, but experimental — AI-generated and AI-maintained. This is an official Apify client, but it is experimental: it is generated and maintained by AI. Review the code before relying on it in production and report issues on the repository.

A resource-oriented .NET client for the Apify API, mirroring the official JavaScript reference client: start from an ApifyClient, then drill down into resources (Actors, runs, datasets, key-value stores, request queues, tasks, schedules, webhooks, the store, users and logs).

All calls are asynchronous (Task-returning, CancellationToken-aware).

Requirements

  • .NET 8.0 or newer.

Installation

dotnet add package Apify.Client

Quick start

ImplicitUsings is disabled in this repository, so every using (even System) is listed explicitly.

using System;
using Apify.Client;

var client = new ApifyClient("my-api-token");

// Start an Actor and wait for it to finish (null waits indefinitely; pass seconds to bound the wait).
var run = await client.Actor("apify/hello-world").CallAsync(null, null, null);

// Read items from the run's default dataset.
var items = await client.Dataset(run.DefaultDatasetId!).ListItemsAsync();
Console.WriteLine("Item count: " + items.Count);

new ApifyClient("my-api-token") takes the token as an explicit argument — it does not read APIFY_TOKEN automatically. Get your token from the Apify Console → Settings → API & Integrations.

Documentation

Full documentation lives in docs/, organized by resource, with runnable examples.

Versioning

  • Apify.Client.ApifyClientVersion.ClientVersion — the semantic version of this library.
  • Apify.Client.ApifyClientVersion.ApiSpecVersion — the Apify OpenAPI spec version this client was built against.

License

Apache-2.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.3 0 7/12/2026
0.1.0 51 7/7/2026