Documentation

​
​

Development

User Acquisition

Monetization

Industry

Cloud Code

Scripting API

Services C# SDKs

Services JavaScript SDKs

Admin REST API

Client REST API

Scheduler Admin REST API

Observability REST API

Open Unity Dashboard

Cloud Code

LiveOps
​
​
Cloud Code
  • Overview
  • Get started
  • Server authority
  • Cloud Code C# modules
  • Cloud Code JavaScript scripts
    • Overview
    • Get started
    • Concepts
    • Tutorials
    • Reference
      • Limits
      • Available libraries
      • Cost
  • Logging
  • Use-case samples
  • Privacy and consent
  1. Cloud Code
  2. Reference

Available libraries

Find the complete list of libraries and Software Development Kits you can import in Cloud Code scripts.
Read time 1 minute
Last updated 21 days ago

The following is a full list of libraries you can import in a Cloud Code script. These provide access to the UGS Client SDKs for each service or utility that you can use for Cloud Code scripts.
To find a full list of available Cloud Code Services JavaScript SDKs, refer to the Cloud Code Services SDKs documentation.
Note
Cloud Code can also call out to public internet APIS. For more information, refer to the documentation on how to integrate with external services.
Note
If the UGS service you want to use isn't listed here, you can still call it using API calls. For more information, refer to the documentation on how to Connect with UGS through REST API.
  1. Promise based HTTP client, Axios version 1.6
    const axios = require("axios-1.6");
  2. A utility library, Lodash version 4
    const _ = require("lodash-4.17");
  3. Cloud Save API client
    const { DataApi } = require("@unity-services/cloud-save-1.4");
  4. Economy API client
    const { ConfigurationApi, InventoryApi, CurrenciesApi } = require("@unity-services/economy-2.5");
  5. Remote Config API client
    const { SettingsApi } = require("@unity-services/remote-config-1.1");
  6. Vivox library
    const { TokenApi } = require("@unity-services/vivox-0.1");
  7. Lobby API client
    const { LobbyApi } = require("@unity-services/lobby-1.2");
  8. Leaderboards API client
    const { LeaderboardsApi } = require("@unity-services/leaderboards-2.0");
  9. Matchmaker API client
    const { TicketsApi, BackfillApi } = require("@unity-services/matchmaker-2.0");
  10. Friends API client
    const { RelationshipsApi, PresenceApi, MessagingApi, NotificationsApi } = require("@unity-services/friends-1.0");
  11. Player Authentication API client
    const { PlayerAuthenticationApi } = require("@unity-services/player-auth-1.1");
  12. Player Names API client
    const { PlayerNamesApi } = require("@unity-services/player-names-1.0");
To learn how to integrate Cloud Code with other Unity services, refer to the Integrate with other Unity services page.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page