VRChat.API 1.5.3-rc01

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

alternate text is missing from this package README image

VRChat API Library for C#

A C# client to interact with the unofficial VRChat API. Supports all REST calls specified in https://github.com/vrchatapi/specification.

Disclaimer

This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.

Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:

  • We do not provide documentation or support for the API.
  • Do not make queries to the API more than once per 60 seconds.
  • Abuse of the API may result in account termination.
  • Access to API endpoints may break at any given time, with no warning.

As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.

Getting Started

using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using VRChat.API.Api;
using VRChat.API.Client;
using VRChat.API.Model;

namespace Example
{
    class Program
    {
        static void Main(string[] args)
        {
            MainAsync().Wait();
            Console.ReadKey();
        }

        static async Task MainAsync()
        {
            // Configure API key authorization: apiKeyCookie
            Configuration.Default.Username = VRCUsername;
            Configuration.Default.Password = VRCPassword;

            try
            {
                // Calling "GetCurrentUser" will log you in.
                AuthenticationApi authApi = new AuthenticationApi();
                var user = await authApi.GetCurrentUserAsync();
                Console.WriteLine($"Logged in user {user.DisplayName}, Current Avatar {user.CurrentAvatar}");

                UsersApi userApi = new UsersApi();
                var getUser = await userApi.GetUserAsync(user.Id);
                Console.WriteLine($"Found user {getUser.DisplayName}, joined {getUser.DateJoined}");

                WorldsApi worldApi = new WorldsApi();
                var world = await worldApi.GetWorldAsync("wrld_ba913a96-fac4-4048-a062-9aa5db092812");
                Console.WriteLine($"Found world {world.Name}, visits: {world.Visits}");
            }
            catch (ApiException e)
            {
                Debug.Print("Exception when calling API: " + e.Message);
                Debug.Print("Status Code: " + e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Contributing

Contributions are welcome, but do not add features that should be handled by the OpenAPI specification.

Join the Discord server to get in touch with us.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on VRChat.API:

Package Downloads
VRChat.API.Client

Fluent interface API around VRChat.API, allowing for fluent usage of the library in enterprise-grade environments.

VRChat.API.Extensions.Hosting

Extensions for hosting and dependency injection for the VRChat API Library for .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.20.8-nightly.4 35 1/10/2026
2.20.8-nightly.3 41 1/10/2026
2.20.8-nightly.2 45 1/6/2026
2.20.8-nightly.1 48 1/6/2026
2.20.8-nightly.0 49 1/1/2026
2.20.7 123 1/1/2026
2.20.7-nightly.34 44 1/1/2026
2.20.7-nightly.33 57 12/28/2025
1.20.5 464 11/16/2025
1.20.4 1,080 10/4/2025
1.20.3 452 9/4/2025
1.20.2 241 8/20/2025
1.20.1 583 7/24/2025
1.20.0 458 6/22/2025
1.19.4 314 6/3/2025
1.19.3 254 5/20/2025
1.19.2 24,058 4/18/2025
1.19.1 272 2/23/2025
1.19.0 312 1/21/2025
1.18.9 191 1/21/2025
1.18.8 4,611 11/7/2024
1.18.7 197 11/7/2024
1.18.6 264 10/20/2024
1.18.5 246 10/5/2024
1.18.4 421 9/22/2024
1.18.1 727 7/22/2024
1.18.0 224 7/21/2024
1.17.6 4,120 6/13/2024
1.17.5 324 5/25/2024
1.17.4 235 5/21/2024
1.17.3 379 4/29/2024
1.17.2 276 4/23/2024
1.17.1 255 4/21/2024
1.17.0 242 4/15/2024
1.16.8 244 4/14/2024
1.16.7 289 3/22/2024
1.16.6 274 2/24/2024
1.16.5 274 2/11/2024
1.16.4 300 2/2/2024
1.16.3 232 1/26/2024
1.16.2 263 1/5/2024
1.16.0 31,553 12/30/2023
1.15.0 321 10/4/2023
1.14.0 251 9/21/2023
1.13.0 228 9/19/2023
1.12.0 21,875 5/31/2023
1.11.1 597 2/19/2023
1.11.0 414 2/11/2023
1.9.1 771 11/17/2022
1.9.0 451 11/17/2022
1.8.0 491 11/4/2022
1.7.7 571 10/16/2022
1.7.6 513 10/16/2022
1.7.4 646 9/8/2022
1.7.3 569 9/3/2022
1.7.2 668 7/6/2022
1.7.1 765 4/27/2022
1.7.0 625 4/15/2022
1.6.10 613 4/9/2022
1.6.9 723 1/27/2022
1.6.8 629 1/22/2022
1.6.7 626 1/20/2022
1.6.6 623 1/16/2022
1.6.5 532 12/19/2021
1.6.4-rc1 815 12/5/2021
1.6.3 3,558 11/26/2021
1.6.2 2,569 11/26/2021
1.6.1 2,407 11/25/2021
1.6.0 3,378 11/25/2021
1.5.3 482 11/23/2021
1.5.3-rc01 355 11/23/2021
1.0.0 508 11/23/2021

Automated deployment