All Products
Search
Document Center

Expenses and Costs:QuerySkuPriceList

Last Updated:Sep 08, 2026

Queries the list of SKUs and their list prices under a specified pricing entity of a commodity. A product feature typically has 1 to multiple SKUs, and some products can have tens of thousands of SKUs. The request parameters support filtered queries based on specific SKU configuration conditions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

bss:DescribeProduct

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

CommodityCode

string

Yes

The commodity code. You can call the QueryCommodityList operation to query the commodity code.

ecs

PriceEntityCode

string

Yes

The pricing entity code. You can call the QueryPriceEntityList operation to query the pricing entity code.

instance_type

PageSize

integer

Yes

The number of entries per page. Maximum value: 50.

20

NextPageToken

string

No

The pagination token. Leave this parameter empty for the first page query. The query result returns a token for the next page. An empty token in the result indicates that all data has been retrieved. You can obtain the next page token from the NextPageToken field in the query result.

080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332

PriceFactorConditionMap

object

No

The collection of pricing factor conditions. You can call the QueryPriceEntityList operation to query pricing factor codes and pricing factor values.

array

No

The collection of pricing entity factor values.

string

No

The pricing factor value pair.

{"vm_region_no":"cn-shiwei-shenshu"}

Lang

string

No

The language. Default value: zh (Chinese).

Valid values:

  • en :

    English.

  • zh :

    Chinese.

en

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

F5B803CF-94D8-43AF-ADB3-D819AAD30E27

Code

string

The status code.

Success

Message

string

The returned message.

Successful!

Success

boolean

Indicates whether the request was successful.

true

Data

object

The returned data.

SkuPricePage

object

The pricing entity SKU information.

TotalCount

integer

The total number of SKUs.

18732

NextPageToken

string

The token for the next page.

080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332

SkuPriceList

array<object>

The SKU list.

array<object>

The SKU object.

SkuCode

string

sku code

017c15a31507bc6de22aa93777461adc

CskuPriceList

array<object>

The SKU price list.

array<object>

The SKU price object.

CskuCode

string

The CSKU code, which is the unique price identifier.

ac74dd7b52ae6389ddef099283fb8275

Currency

string

The currency.

Valid values:

  • JPY :

    Japanese yen.

  • SAR :

    Saudi riyal.

  • USD :

    US dollar.

  • CNY :

    Chinese yuan.

CNY

UsageUnit

string

The usage unit.

unit

PriceType

string

The price type.

Valid values:

  • usagePrice :

    usage-based price.

  • monthPrice :

    monthly price.

  • dayPrice :

    daily price.

  • hourPrice :

    hourly price.

  • weekPrice :

    weekly price.

  • yearPrice :

    yearly price.

  • fixedPrice :

    fixed price.

hourPrice

PriceMode

string

The pricing mode.

Valid values:

  • STEP_ACCUMULATION :

    tiered accumulation.

  • STEP_ARRIVE :

    tiered arrival.

  • NORMAL_PRICE :

    non-tiered price.

STEP_ARRIVE

Price

string

The price.

100

PriceUnit

string

The price unit.

USD/unit

RangeList

array<object>

This field has a value when PriceMode is STEP_ACCUMULATION or STEP_ARRIVE, specifying the range. When PriceMode is NORMAL_PRICE, this field is NULL.

object

The range object.

FactorCode

string

The factor code.

212fbd27866307fc79ecf06934a88b2c

Min

string

The minimum value.

1

Max

string

The maximum value.

10

Type

string

The interval closure type.

Valid values:

  • LORC :

    left-open, right-closed.

  • LCRO :

    left-closed, right-open.

  • LCRC :

    left-closed, right-closed.

  • LORL :

    left-open, right-open.

LORC

SkuFactorMap

object

The collection of factor values. Different commodities have their own factors under pricing entities. For example, the instance_type pricing entity of the ECS commodity has factors such as vm_region_no, iooptimized, vm_os_kind, instance_type.

string

The factor value pair.

Each pricing object of a commodity has its own factors. For example, the instance_type pricing object of an ECS commodity has the following factors: vm_region_no, iooptimized, vm_os_kind, instance_type.

{ "vm_region_no": "cn-zhangjiakou-na62-a01", "iooptimized": "optimized", "vm_os_kind": "windows", "instance_type": "ecs.i1.xlarge" }

Examples

Success response

JSON format

{
  "RequestId": "F5B803CF-94D8-43AF-ADB3-D819AAD30E27",
  "Code": "Success",
  "Message": "Successful!",
  "Success": true,
  "Data": {
    "SkuPricePage": {
      "TotalCount": 18732,
      "NextPageToken": "080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332",
      "SkuPriceList": [
        {
          "SkuCode": "017c15a31507bc6de22aa93777461adc",
          "CskuPriceList": [
            {
              "CskuCode": "ac74dd7b52ae6389ddef099283fb8275",
              "Currency": "CNY",
              "UsageUnit": "个",
              "PriceType": "hourPrice",
              "PriceMode": "STEP_ARRIVE",
              "Price": "100",
              "PriceUnit": "美元/个",
              "RangeList": [
                {
                  "FactorCode": "212fbd27866307fc79ecf06934a88b2c",
                  "Min": "1",
                  "Max": "10",
                  "Type": "LORC"
                }
              ]
            }
          ],
          "SkuFactorMap": {
            "key": "{             \"vm_region_no\": \"cn-zhangjiakou-na62-a01\",             \"iooptimized\": \"optimized\",             \"vm_os_kind\": \"windows\",             \"instance_type\": \"ecs.i1.xlarge\"           }"
          }
        }
      ]
    }
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.