Skip to content

Overview

  • Version: 2.0.0
  • Servers: https://store.xsolla.com/api
  • Contact Us by Email
  • Contact URL: https://xsolla.com/
  • Required TLS version: 1.2

The Catalog API allows you to configure a catalog of in-game items on the Xsolla side and display the catalog to users in your store.

The API allows you to manage the following catalog entities:

  • Virtual items — in-game items such as weapons, skins, boosters.
  • Virtual currency — virtual money used to purchase virtual goods.
  • Virtual currency packages — predefined bundles of virtual currency.
  • Bundles — combined packages of virtual items, currency, or game keys sold as a single SKU.
  • Game keys — keys for games and DLCs distributed via platforms like Steam or other DRM providers.
  • Groups — logical groupings for organizing and sorting items within the catalog.

API calls

The API is divided into the following groups:

  • Admin — calls for creating, updating, deleting, and configuring catalog items and groups. Authenticated via basic access authentication with your merchant or project credentials. Not intended for storefront use.
  • Catalog — calls for retrieving items and building custom storefronts for end users. Designed to handle high-load scenarios. Support optional user JWT authorization to return personalized data such as user-specific limits and active promotions.
Download OpenAPI description
Languages
Servers
https://store.xsolla.com/api/
Mock server
https://xsolla.redocly.app/_mock/api/catalog/
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Catalog

This API allows getting any kind of sellable items or specific item.

Operations
Operations

Get list of regionsServer-sideAdmin

Request

Gets list of regions.

You can use a region for managing your regional restrictions.

Security
basicAuth
Path
project_idintegerrequired

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
curl -i -X GET \
  -u <username>:<password> \
  https://store.xsolla.com/api/v2/project/44056/admin/region

Responses

List of regions was successfully received.

Bodyapplication/json
regionsArray of objects(Regions_200-region-short-model)
Response
application/json
{ "regions": [ {}, {} ] }

Request

Creates region.

You can use a region for managing your regional restrictions.

Security
basicAuth
Path
project_idintegerrequired

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
Bodyapplication/json
countriesArray of strings(Regions_countries)required

List of countries to be added in a region.
Two-letter uppercase country code per ISO 3166-1 alpha-2. Check the documentation for detailed information about countries supported by Xsolla.
Example: ["JP", "CN", "VN"]

nameobject(Regions_name)required

Name of region. Should contain key/value pairs where key is a locale with the "^[a-z]{2}-[A-Z]{2}$" format, the value is string.

Default {"en-US":"Asia","de-DE":"Asien"}
Example: {"en-US":"Asia","de-DE":"Asien"}
name.​property name*stringadditional property
curl -i -X POST \
  -u <username>:<password> \
  https://store.xsolla.com/api/v2/project/44056/admin/region \
  -H 'Content-Type: application/json' \
  -d '{
    "name": {
      "en-US": "Asia",
      "de-DE": "Asien"
    },
    "countries": [
      "JP",
      "CN",
      "VN"
    ]
  }'

Responses

Region was successfully created.

Bodyapplication/json
region_idinteger(Regions_region_id)

Region ID. Unique region identifier within the project.

Example: 42
Response
application/json
{ "region_id": 42 }

Request

Gets particular region.

You can use a region for managing your regional restrictions.

Security
basicAuth
Path
project_idintegerrequired

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
region_idintegerrequired

Region ID. Unique region identifier within the project.

Example: 42
curl -i -X GET \
  -u <username>:<password> \
  https://store.xsolla.com/api/v2/project/44056/admin/region/42

Responses

Specified region was successfully received.

Bodyapplication/json
idinteger(Regions_region_id)

Region ID. Unique region identifier within the project.

Example: 42
nameobject(Regions_name)

Name of region. Should contain key/value pairs where key is a locale with the "^[a-z]{2}-[A-Z]{2}$" format, the value is string.

Default {"en-US":"Asia","de-DE":"Asien"}
Example: {"en-US":"Asia","de-DE":"Asien"}
countriesArray of strings(Regions_countries)

List of countries to be added in a region.
Two-letter uppercase country code per ISO 3166-1 alpha-2. Check the documentation for detailed information about countries supported by Xsolla.
Example: ["JP", "CN", "VN"]

Response
application/json
{ "value": { "id": 44, "name": {}, "countries": [] } }
Operations