# 流控信息
#### 什么是流量控制
流量控制是指华为云对OpenAPI的调用频率进行控制的方式 。配额是指华为云产品为具体的 OpenAPI 设置的在一个时间窗口内能够调用接口的最大次数。
#### 客户运营能力API流控信息
![](https://support.huaweicloud.com/api-oce/public_sys-resources/note_3.0-zh-cn.png)
流量配额：10/1(s)；API限速维度：源IP,API,ParentUid； 指每1秒钟，单个用户或单源IP最多允许请求该接口10次。
| **场景**                                                                                                                                                           | **子场景**                             | **接口名称**                                                                                    | **接口URL**                                                          | **流量配额**   | **配额维度**                                                  |
|:---|:---|:---|:---|:---|:---|
| 管理产品                                                                                                            | 查询产品信息                | [查询云服务类型列表](https://support.huaweicloud.com/api-oce/zh-cn_topic_0000001256679455.html)     | GET /v2/products/service-types                                       | 10/1(s)  | API限速维度： 源IP,API,ParentUid       |
| 管理产品                                                                                                            | 查询产品信息                | [查询资源类型列表](https://support.huaweicloud.com/api-oce/zh-cn_topic_0000001256519451.html)        | GET /v2/products/resource-types                                    | 10/1(s) | API限速维度： 源IP,API,ParentUid    |
| 管理产品                                                                                                            | 查询产品信息                | [根据云服务类型查询资源列表](https://support.huaweicloud.com/api-oce/qct_00003.html)                     | GET /v2/products/service-resources                                  | 10/1(s)  | API限速维度： 源IP,API,ParentUid   |
| 管理产品                                                                                                            | 查询产品信息                | [查询使用量类型列表](https://support.huaweicloud.com/api-oce/qct_00004.html)                         | GET /v2/products/usage-types                                        | 10/1(s)   | API限速维度： 源IP,API,ParentUid     |
| 管理产品                                                                                                            | 查询产品信息                | [查询度量单位列表](https://support.huaweicloud.com/api-oce/qct_00006.html)                         | GET /v2/bases/measurements                                           | 10/1(s)  | API限速维度： 源IP,API,ParentUid      |
| 管理产品                                                                                                            | 查询产品信息                | [查询度量单位进制](https://support.huaweicloud.com/api-oce/qct_00007.html)                         | GET /v2/bases/conversions                                           | 10/1(s)    | API限速维度： 源IP,API,ParentUid      |
| 管理产品                                                                                                            | 查询产品信息                | [查询云服务类型资源规格](https://support.huaweicloud.com/api-oce/qct_00008.html)                     | POST /v2/products/resource-specs-query                             | 5/1(s)    | API限速维度： 源IP,API,ParentUid     |
| 管理产品                                                                                                            | 查询商品价格                       | [查询按需产品价格](https://support.huaweicloud.com/api-oce/bcloud_01001.html)                        | POST /v2/bills/ratings/on-demand-resources                       | 20/1(s)  | API限速维度： 源IP,API,ParentUid  |
| 管理产品                                                                                                            | 查询商品价格                       | [查询包年/包月产品价格](https://support.huaweicloud.com/api-oce/bcloud_01002.html)                  | POST /v2/bills/ratings/period-resources/subscribe-rate             | 30/1(s)  | API限速维度： 源IP,API,ParentUid   |
| 管理产品                                                                                                            | 查询商品价格                       | [查询包年/包月资源的续订金额](https://support.huaweicloud.com/api-oce/bcloud_01007.html)                | POST /v2/bills/ratings/period-resources/renew-rate                    | 10/1(s)   | API限速维度： 源IP,API,ParentUid    |
| 管理账户                                                                                                                        | 管理账户                | [查询账户余额](https://support.huaweicloud.com/api-oce/mac_00001.html)                         | GET /v2/accounts/customer-accounts/balances                        | 20/1(s)  | API限速维度： 源IP,API,ParentUid    |
| 管理账户                                                                                                                        | 管理账户                | [查询储值卡列表](https://support.huaweicloud.com/api-oce/mac_00002.html)                         | GET /v2/promotions/benefits/stored-value-cards                    | 5/1(s)    | API限速维度： 源IP,API,ParentUid       |
| 管理账户                                                                                                                        | 管理账户                | [查询收支明细](https://support.huaweicloud.com/api-oce/mac_00003.html)                          | GET /v2/accounts/customer-accounts/account-change-records          | 10/1(s)     | API限速维度： 源IP,API,ParentUid   |
| 管理账户                                                                                                                        | 实名认证                          | [查询人脸实名认证二维码](https://support.huaweicloud.com/api-oce/mac_00005.html)                    | GET /v2/customers/real-name-auth-qrcode                             | 5/1(s)  | API限速维度： 源IP,API,ParentUid   |
| 管理账户                                                                                                                        | 实名认证                          | [查询实名认证信息](https://support.huaweicloud.com/api-oce/mac_00006.html)                           | GET /v2/customers/real-name-auth-status                            | 5/1(s)   | API限速维度： 源IP,API,ParentUid    |
| 管理交易                       | 管理优惠折扣                 | [查询优惠券列表](https://support.huaweicloud.com/api-oce/mp_02001.html)                            | GET /v2/accounts/partner-accounts/account-change-records            | 10/1(s)  | API限速维度： 源IP,API,ParentUid     |
| 管理交易                       | 管理优惠折扣                 | [查询优惠券收支明细](https://support.huaweicloud.com/api-oce/mp_02007.html)                         | GET /v2/promotions/benefits/account-change-records                   | 10/1(s)   | API限速维度： 源IP,API,ParentUid    |
| 管理交易                       | 管理优惠折扣                 | [查询商务折扣信息](https://support.huaweicloud.com/api-oce/mp_02008.html)                          | POST /v2/promotions/business/discount-info                        | 5/1(s)    | API限速维度： 源IP,API,ParentUid   |
| 管理交易                       | 管理包年/包月订单                          | [查询订单列表](https://support.huaweicloud.com/api-oce/api_order_00013.html)                     | GET /v2/orders/customer-orders                                       | 20/1(s)   | API限速维度： 源IP,API,ParentUid     |
| 管理交易                       | 管理包年/包月订单                          | [查询订单详情](https://support.huaweicloud.com/api-oce/api_order_00014.html)                      | GET /v2/orders/customer-orders/details/{order_id}                 | 20/1(s)  | API限速维度： 源IP,API,ParentUid     |
| 管理交易                       | 管理包年/包月订单                          | [查询订单可用优惠券](https://support.huaweicloud.com/api-oce/api_order_00015.html)                   | GET /v2/orders/customer-orders/order-coupons                         | 10/1(s) | API限速维度： 源IP,API,ParentUid   |
| 管理交易                       | 管理包年/包月订单                          | [查询订单可用折扣](https://support.huaweicloud.com/api-oce/api_order_00025.html)                      | GET /v2/orders/customer-orders/order-discounts                      | 10/1(s)  | API限速维度： 源IP,API,ParentUid    |
| 管理交易                       | 管理包年/包月订单                          | [支付包年/包月产品订单](https://support.huaweicloud.com/api-oce/api_order_00030.html)                 | POST /v3/orders/customer-orders/pay                              | 10/1(s)   | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理包年/包月订单                          | [取消待支付订单](https://support.huaweicloud.com/api-oce/api_order_00017.html)                    | PUT /v2/orders/customer-orders/cancel                                | 10/1(s)  | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理包年/包月订单                          | [查询退款订单的金额详情](https://support.huaweicloud.com/api-oce/api_order_00020.html)                 | GET /v2/orders/customer-orders/refund-orders                         | 10/1(s) | API限速维度： 源IP,API,ParentUid    |
| 管理交易                       | 管理包年/包月资源                      | [查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)            | POST /v2/orders/suscriptions/resources/query                        | 50/1(s)    | API限速维度： 源IP,API,ParentUid   |
| 管理交易                       | 管理包年/包月资源                      | [续订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00018.html)                 | POST /v2/orders/subscriptions/resources/renew                       | 20/1(s)     | API限速维度： 源IP,API,ParentUid   |
| 管理交易                       | 管理包年/包月资源                      | [退订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00019.html)                  | POST /v2/orders/subscriptions/resources/unsubscribe                 | 10/1(s)     | API限速维度： 源IP,API,ParentUid   |
| 管理交易                       | 管理包年/包月资源                      | [设置包年/包月资源自动续费](https://support.huaweicloud.com/api-oce/api_order_00022.html)              | POST /v2/orders/subscriptions/resources/autorenew/{resource_id}     | 10/1(s)    | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理包年/包月资源                      | [取消包年/包月资源自动续费](https://support.huaweicloud.com/api-oce/api_order_00023.html)              | DELETE /v2/orders/subscriptions/resources/autorenew/{resource_id} | 10/1(s)    | API限速维度： 源IP,API,ParentUid  |
| 管理交易                       | 管理包年/包月资源                      | [设置或取消包年/包月资源到期转按需](https://support.huaweicloud.com/api-oce/api_order_00024.html)          | POST /v2/orders/subscriptions/resources/to-on-demand                | 10/1(s)   | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理包年/包月资源                      | [设置包年/包月资源即时转按需](https://support.huaweicloud.com/api-oce/api_order_00032.html)               | POST /v2/orders/subscriptions/resources/to-on-demand/instantly     | 10/1(s)    | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理包年/包月资源                      | [设置包年/包月资源自动续费扣款日和续费后资源统一到期日](https://support.huaweicloud.com/api-oce/api_order_00031.html) | POST /v2/orders/subscriptions/resources/renew/config               | 10/1(s) | API限速维度： 源IP,API,ParentUid  |
| 管理交易                       | 管理资源包                        | [查询资源包列表](https://support.huaweicloud.com/api-oce/api_order_00027.html)                  | POST /v3/payments/free-resources/query                              | 10/1(s)    | API限速维度： 源IP,API,ParentUid        |
| 管理交易                       | 管理资源包                        | [查询资源包使用量](https://support.huaweicloud.com/api-oce/api_order_00028.html)                  | POST /v2/payments/free-resources/usages/details/query              | 10/1(s)   | API限速维度： 源IP,API,ParentUid      |
| 管理交易                       | 管理资源包                        | [查询资源包使用明细](https://support.huaweicloud.com/api-oce/api_order_00029.html)                 | GET /v2/bills/customer-bills/free-resources-usage-records          | 10/1(s)    | API限速维度： 源IP,API,ParentUid    |
| 管理账单                                                                                                                                   | 管理账单                  | [查询汇总账单](https://support.huaweicloud.com/api-oce/mbc_00008.html)                           | GET /v2/bills/customer-bills/monthly-sum                             | 10/1(s)     | API限速维度： 源IP,API,ParentUid     |
| 管理账单                                                                                                                                   | 管理账单                  | [查询资源详单](https://support.huaweicloud.com/api-oce/mbc_00003.html)                          | POST /v2/bills/customer-bills/res-records/query                    | 30/1(s)    | API限速维度： 源IP,API,ParentUid   |
| 管理账单                                                                                                                                   | 管理账单                  | [查询资源消费记录](https://support.huaweicloud.com/api-oce/mbc_00004.html)                       | GET /v2/bills/customer-bills/res-fee-records                         | 30/1(s)     | API限速维度： 源IP,API,ParentUid |
| 管理账单                                                                                                                                   | 管理账单                  | [查询流水账单](https://support.huaweicloud.com/api-oce/mbc_00007.html)                          | GET /v2/bills/customer-bills/fee-records                             | 20/1(s)     | API限速维度： 源IP,API,ParentUid    |
| 管理账单                                                                                                                                   | 查询95计费资源用量                      | [查询95计费资源用量汇总](https://support.huaweicloud.com/api-oce/zh-cn_topic_0000001144806706.html)   | GET /v2/bills/customer-bills/resources/usage/summary               | 10/1(s)    | API限速维度： 源IP,API,ParentUid       |
| 管理账单                                                                                                                                   | 查询95计费资源用量                      | [查询95计费资源用量明细](https://support.huaweicloud.com/api-oce/zh-cn_topic_0000001190606757.html)   | GET /v2/bills/customer-bills/resources/usage/details                  | 10/1(s)    | API限速维度： 源IP,API,ParentUid     |
| 管理成本                                                                                                                                                      | 管理成本                         | [查询月度成本](https://support.huaweicloud.com/api-oce/mbc_00010.html)                          | GET /v2/costs/cost-analysed-bills/monthly-breakdown                 | 10/1(s)    | API限速维度： 源IP,API,ParentUid    |
| 管理成本                                                                                                                                                      | 管理成本                         | [查询成本数据](https://support.huaweicloud.com/api-oce/costm_00014.html)                           | POST /v4/costs/cost-analysed-bills/query                            | 20/1(s)  | API限速维度： 源IP,API,ParentUid      |
| 管理企业                                                                                                                                    | 管理企业项目                             | [开通客户企业项目权限](https://support.huaweicloud.com/api-oce/ep_00022.html)                        | POST /v2/enterprises/enterprise-projects/authority                 | 10/1(s) | API限速维度： 源IP,API,ParentUid    |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业组织结构](https://support.huaweicloud.com/api-oce/ep_00020.html)                          | GET /v2/enterprises/multi-accounts/enterprise-organizations        | 10/1(s)     | API限速维度：源IP,API,ParentUid                                |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业子账号列表](https://support.huaweicloud.com/api-oce/ep_00021.html)                         | GET /v2/enterprises/multi-accounts/sub-customers                   | 20/1(s)   | API限速维度： 源IP,API,ParentUid   |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业主账号可拨款余额](https://support.huaweicloud.com/api-oce/ep_00018.html)                       | GET /v2/enterprises/multi-accounts/transfer-amount                  | 10/1(s) | API限速维度： 源IP,API,ParentUid     |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业子账号可回收余额](https://support.huaweicloud.com/api-oce/ep_00019.html)                     | GET /v2/enterprises/multi-accounts/retrieve-amount                | 10/1(s)  | API限速维度： 源IP,API,ParentUid       |
| 管理企业                                                                                                                                    | 管理企业多账号     | [创建企业子账号](https://support.huaweicloud.com/api-oce/ep_00023.html)                          | POST /v2/enterprises/multi-accounts/sub-customers                  | 10/1(s)   | API限速维度： 源IP,API,ParentUid     |
| 管理企业                                                                                                                                    | 管理企业多账号     | [发送短信验证码](https://support.huaweicloud.com/api-oce/ep_00014.html)                            | POST /v2/enterprises/multi-accounts/sm-verification-code          | 10/1(s)  | API限速维度： 源IP,API,ParentUid      |
| 管理企业                                                                                                                                    | 管理企业多账号     | [企业主账号向企业子账号拨款](https://support.huaweicloud.com/api-oce/ep_00016.html)                     | POST /v2/enterprises/multi-accounts/transfer-amount                 | 10/1(s)   | API限速维度： 源IP,API,ParentUid     |
| 管理企业                                                                                                                                    | 管理企业多账号     | [企业主账号从企业子账号回收拨款](https://support.huaweicloud.com/api-oce/ep_00017.html)                     | POST /v2/enterprises/multi-accounts/retrieve-amount                | 10/1(s)   | API限速维度： 源IP,API,ParentUid      |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业主账号可拨款优惠券列表](https://support.huaweicloud.com/api-oce/ep_00024.html)                     | GET /v2/enterprises/multi-accounts/transfer-coupons                 | 10/1(s)   | API限速维度： 源IP,API,ParentUid     |
| 管理企业                                                                                                                                    | 管理企业多账号     | [查询企业子账号可回收优惠券列表](https://support.huaweicloud.com/api-oce/ep_00025.html)                  | GET /v2/enterprises/multi-accounts/retrieve-coupons                 | 10/1(s)     | API限速维度： 源IP,API,ParentUid     |
| 管理企业                                                                                                                                    | 管理企业多账号     | [企业主账号向企业子账号拨款优惠券](https://support.huaweicloud.com/api-oce/ep_00026.html)                   | POST /v2/enterprises/multi-accounts/transfer-coupon                 | 10/1(s)  | API限速维度： 源IP,API,ParentUid       |
| 管理企业                                                                                                                                    | 管理企业多账号     | [企业主账号从企业子账号回收优惠券](https://support.huaweicloud.com/api-oce/ep_00027.html)                 | POST /v2/enterprises/multi-accounts/retrieve-coupon                | 10/1(s)   | API限速维度： 源IP,API,ParentUid    |
| 管理配置信息                                                                                                                                                          | 查询国家省市信息                          | [查询省份信息](https://support.huaweicloud.com/api-oce/mpf_02001.html)                           | GET /v2/systems/configs/provinces                                   | 10/1(s)     | API限速维度： 源IP,API,ParentUid    |
| 管理配置信息                                                                                                                                                          | 查询国家省市信息                          | [查询城市信息](https://support.huaweicloud.com/api-oce/mpf_02002.html)                            | GET /v2/systems/configs/cities                                      | 10/1(s)   | API限速维度： 源IP,API,ParentUid    |
| 管理配置信息                                                                                                                                                          | 查询国家省市信息                          | [查询区县信息](https://support.huaweicloud.com/api-oce/mpf_02003.html)                             | GET /v2/systems/configs/counties                                  | 10/1(s)  | API限速维度： 源IP,API,ParentUid    |
   
#### 流控失败常见问题及处理
接口报错样例:
{"status_code":429,"request_id":"7e6c1\*\*\*\*\*\*\*\*\*\*\*c610","error_code":"APIGW.0308","error_message":"The throttling threshold has been reached: policy user over ratelimit,limit:10,time:1 second","encoded_authorization_message":""}
处理方式:
华为云为客户运营能力API均提供默认的流量配额，用户可根据自己实际业务场景对额度进行升级。用户可以监视429状态码并构建重试机制。重试机制应遵循指数回退计划，以在必要时减少请求量。用户还可以在退避时间表中建立一些随机性，以避免严重的羊群效应。
#### 调整配额
若流量配额不能满足您的业务实际诉求和并发场景，请您提交华为云工单，附上业务场景说明，华为云售后服务团队收到工单后将根据您的实际情况调整配额。
