处理亚马逊产品广告 API 限制
对于那些使用亚马逊产品广告 API 的人来说,您有过遇到瓶颈的经历吗?据说限制设置为每秒 1 个请求,这是您的经验吗?
我希望我的网站能够扩展到全国范围,但我担心它能否在不受到限制的情况下发出所有 Amazon API 请求。我们将所有回复缓存 24 小时,并限制在短时间内进行过多搜索的用户。
我应该担心吗?有什么建议吗?
For those of you who use the Amazon Product Advertising API, what experience have you had with running into their throttle? Supposedly, the limit is set at 1 request per second, is that your experience?
I want my site to grow to be nation-wide, but I'm concerned about its capability to make all the Amazon API requests without getting throttled. We cache all the responses for 24 hours, and also throttle our own users who make too many searches within a short period.
Should I be concerned? Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我相信他们已经改变了。根据此链接:
https://forums.aws.amazon.com/message.jspa?messageID=199771
每个帐户每小时请求限制 = 2,000 + 500 * [过去 30 天内每天带来的平均关联收入period]/24 至每小时最多 25,000 个请求。
I believe they have changed it. Per this link:
https://forums.aws.amazon.com/message.jspa?messageID=199771
Hourly request limit per account = 2,000 + 500 * [Average associate revenue driven per day over the past 30 days period]/24 to a maximum of 25,000 requests per hour.
以下是我能找到的最新请求限制,于 2012 年 9 月 3 日生效。
https://affiliate-program.amazon.com/gp/advertising /api/detail/faq.html
Here is the latest on request limits that I could find, effective Sept 3rd, 2012.
https://affiliate-program.amazon.com/gp/advertising/api/detail/faq.html
他们更新了指南,现在当您销售更多商品时会有更多请求。
来源:https://docs.aws.amazon.com/AWSECommerceService/最新/DG/TroubleshootingApplications.html
They have updated their guidelines, you now have more requests when you sell more items.
Source: https://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html
亚马逊对您每小时和每秒可以拨打的电话数量实施限制。
您可以通过遵循批准的路线(增加佣金收入)或私下向亚马逊请愿并提供正当理由来增加前者。列入白名单后,您的限制将达到每小时 25,000 次调用,这对于我能想到的绝大多数项目来说已经足够了。
后一个限制更加模糊,并且根据您进行的查询类型强制执行。我的解释是,它是为了控制进行批量项目查找的串行爬虫。如果您只是进行关键字搜索等,我不会太担心。否则,解决方案是将您的呼叫分配到多个 IP。
如果您要查询多个区域设置,需要记住的另一点是每个区域设置使用单独的帐户。某些区域设置会被分组并计入相同的呼叫配额。例如,欧洲亚马逊就形成了这样一个池子。
Amazon enforces limits on how many calls you can make per hour and per second.
You can increase the former by following the sanctioned route (increase commission revenue) or by privately petitioning Amazon with a valid reason. When whitelisted, your limit will go up to 25,000 calls per hour, which is more than good enough for the vast majority of projects I can think of.
The latter limit is murkier and enforced depending on the type of query you make. My interpretation is that it is meant to keep serial crawlers who do batch item lookups in check. If you are simply doing keyword searches etc., I would not worry so much about it. Otherwise, the solution is to distribute your calls across multiple IPs.
One other point to keep in mind if you are querying multiple locales is to use separate accounts per locale. Some locales are grouped and will count to the same call quota. European Amazons, for instance, form such a pool.
以下是产品广告 API 5.0 的最新详情
TPS – 每秒交易数,是指一秒钟内可以进行的 API 调用的最大数量。每个 API 调用都算作一笔交易。例如,如果您在 GetItems() 调用的请求参数中发送 10 个 ASIN,则视为单笔交易。
TPD – 每日交易次数,是指一天内可以进行的最大 API 调用次数。如果同事有 1 TPS 和 8640 TPD,则每秒最多可以发送 1 个请求,每天最多可以发送 8640 个请求。即使有 1 TPS,一旦 TPD 耗尽,请求也会受到限制。
主帐户 – 这是指您用于创建联盟帐户并用于生成产品广告 API 5.0 凭证的亚马逊用户名(电子邮件地址)和密码。
发货收入 – 这是指亚马逊根据您使用产品广告 API 5.0 创建的链接点击所产生的订单发货的所有商品的总销量。
一旦您创建了产品广告 API 5.0 凭证,您的初始使用限制将达到每秒最多 1 个请求 (1 TPS),并且前 30 个每日累积每日最大请求数为 8640 个请求 (8640 TPD)天期间。这将帮助您开始与 API 集成、测试它并开始构建链接并向读者推荐产品。
您的 PA API 使用限制将根据您的发货商品收入进行调整。您的帐户将获得每 5 美分 1 TPD 的使用限额,或在过去 30 天内通过使用产品广告 API 5.0 发货而产生的每 4320 美元的发货商品收入 1 TPS(最多 10 TPS)的使用限额时期。为了正确归因已发货商品的收入,请确保您始终使用主帐户凭据调用产品广告 API 5.0,并保留 API 在其响应中返回的所有 URL 参数。
如需了解更多详情,请访问 - https://amz.run/6u62
Following are the latest details with Product Advertising API 5.0
TPS – Transactions per second, refers to the maximum number of API calls you can make in one second. Each API call counts as one transaction. For example, if you send 10 ASINs in the request parameter of a GetItems() call, it counts as a single transaction.
TPD – Transactions per day, refers to the maximum number of API calls you can make in one day. If Associate has 1 TPS and 8640 TPD, then maximum of 1 request can be sent per second and 8640 per day. Even if 1 TPS is there, once TPD is exhausted requests will be throttled.
Primary Account – This refers to the Amazon username (email address) and password that you used to create your Associates account and used to generate Product Advertising API 5.0 credentials.
Shipped revenue – This refers to the total sales volume of all items Amazon has shipped from orders resulting from clicks through links you created using Product Advertising API 5.0.
As soon as you create your Product Advertising API 5.0 credentials, you are allowed an initial usage limit up to a maximum of one request per second (one TPS) and a cumulative daily maximum of 8640 requests per day (8640 TPD) for the first 30-day period. This will help you begin your integration with the API, test it out, and start building links and referring products to your readers.
Your PA API usage limit will be adjusted based on your shipped item revenue. Your account will earn a usage limit of one TPD for every five cents or one TPS (up to a maximum of ten TPS) for every $4320 of shipped item revenue generated via the use of Product Advertising API 5.0 for shipments in the previous 30-day period. For correct attribution of shipped item revenue please ensure that you always call Product Advertising API 5.0 with the primary account credentials and retain all the URL parameters that the API returns in its response.
For more details, visit - https://amz.run/6u62