# Kongregate Client JavaScript API

**Canonical:** https://apis.io/apis/kongregate/kongregate-client-javascript-api/  
**Provider:** Kongregate — https://apis.io/providers/kongregate/  
**Base URL:** https://cdn1.kongregate.com/javascripts/kongregate_api.js  
**Documentation:** https://docs.kongregate.com/docs/javascript-api

Kongregate Client JavaScript API is one of 14 APIs that [Kongregate](https://apis.io/providers/kongregate/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Gaming, JavaScript, Unity, and Client SDK. The published artifact set on APIs.io includes API documentation, an API reference, and a getting-started guide.

Browser-side JavaScript API loaded by script tag from cdn1.kongregate.com. Exposes kongregate.services.* for player identity (getUserId, getUsername, getGameAuthToken, isGuest, showRegistrationBox, resizeGame, addEventListener), kongregate.stats.submit for statistic submission, and kongregate.mtx.* for the Kreds purchase and inventory flow. Unity WebGL games consume it through jsLib bindings and the official Kongregate WebGL template.

## Machine-readable artifacts (4)

- **Documentation** — https://docs.kongregate.com/docs/javascript-api
- **APIReference** — https://docs.kongregate.com/reference/client-api-stats-submit
- **GettingStarted** — https://docs.kongregate.com/docs/client-api-introduction
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/kongregate/refs/heads/main/apis.yml

## Other Kongregate APIs (12)

- [Kongregate Authenticate.json API](https://apis.io/apis/kongregate/kongregate-authenticate-json-api/)
- [Kongregate Characters.json API](https://apis.io/apis/kongregate/kongregate-characters-json-api/)
- [Kongregate Guilds API](https://apis.io/apis/kongregate/kongregate-guilds-api/)
- [Kongregate Guilds.json API](https://apis.io/apis/kongregate/kongregate-guilds-json-api/)
- [Kongregate High Scores API](https://apis.io/apis/kongregate/kongregate-high-scores-api/)
- [Kongregate Items.json API](https://apis.io/apis/kongregate/kongregate-items-json-api/)
- [Kongregate Kongpanions API](https://apis.io/apis/kongregate/kongregate-kongpanions-api/)
- [Kongregate Kongpanions.json API](https://apis.io/apis/kongregate/kongregate-kongpanions-json-api/)
- [Kongregate Shared Links API](https://apis.io/apis/kongregate/kongregate-shared-links-api/)
- [Kongregate Submit Statistics.json API](https://apis.io/apis/kongregate/kongregate-submit-statistics-json-api/)
- [Kongregate Use Item.json API](https://apis.io/apis/kongregate/kongregate-use-item-json-api/)
- [Kongregate User Info.json API](https://apis.io/apis/kongregate/kongregate-user-info-json-api/)

## Tags

Gaming, JavaScript, Unity, Client SDK

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/kongregate/kongregate-client-javascript-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/kongregate/.
