Anytype.NET 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anytype.NET --version 3.0.0
                    
NuGet\Install-Package Anytype.NET -Version 3.0.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="Anytype.NET" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anytype.NET" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Anytype.NET" />
                    
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 Anytype.NET --version 3.0.0
                    
#r "nuget: Anytype.NET, 3.0.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 Anytype.NET@3.0.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=Anytype.NET&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Anytype.NET&version=3.0.0
                    
Install as a Cake Tool

Anytype.NET

.NET client library for Anytype API.

It simplifies interaction with the API by taking care of HTTP calls, request/response handling, and JSON parsing — letting you focus on building features. With it, you can easily create, retrieve, update, and manage Anytype objects directly in your applications.

Getting Started

  1. Install via NuGet:
dotnet add package Anytype.NET
  1. Create a client
using Anytype.NET;

var client = new AnytypeClient("your-api-key");

TIP: How to get an API key: The simplest way to generate an API key is through the Anytype desktop client (available in v0.46.6 or later):

  • Open the Anytype desktop app
  • Go to Settings
  • Navigate to the API Keys section
  • Click "Create new" and give it a meaningful name
  • Copy the generated API key

You can also generate an API key directly from code.
See the Auth documentation in the GitHub repository for details.

  1. Usage example
var spaces = await _client.Spaces.GetAllAsync();

foreach (var space in spaces)
{
    Console.WriteLine(space.Name);
    Console.WriteLine(space.Id);
}

The snippet above lists all available spaces and prints their names and IDs in the console.

Supported Endpoints

Category Endpoints
Auth Create Challenge • Create API Key
Search Search objects across all spaces • Search objects within a space
Spaces List • Create • Get • Update
Lists Add objects • Delete object • Get list views • Get objects
Members List • Get
Objects List • Create • Delete • Get • Update
Tags List • Create • Delete • Get • Update
Types List • Create • Delete • Get • Update
Templates List • Get
⚠️ (Warning: experimental) Properties List • Create • Delete • Get • Update

Compatibility

This client has been developed and tested with API version 2025-05-20 (latest).
Other versions (2025-04-22, 2025-03-17) may work, but compatibility is not guaranteed.


Contributing

Contributions, bug reports, and feature requests are welcome!
If you'd like to contribute, feel free to open an issue or submit a pull request.

Disclaimer

This project is not affiliated with or endorsed by Anytype. It's a personal project and my contribution to helping .NET developers use Anytype's API in a simple way.

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
4.0.0-alpha.2 80 8/21/2026
3.0.1 236 9/9/2025
3.0.0 230 9/3/2025
2.0.0 260 8/22/2025 2.0.0 is deprecated because it is no longer maintained.
1.0.0 319 8/20/2025 1.0.0 is deprecated because it is no longer maintained.