eBay API - check Finding API calls count? - ebay-api

Thanks to that page: https://go.developer.ebay.com/api-call-limits we know that eBay allows up to 5000 requests per day per ebay developer account.
But - maybe somebody know - it is possible to check current usage (requests count) and usage history of that limit ?

I ran into this situation myself, and made a note to come back and answer this with the available options I found once I got my own API call limit exceeded errors resolved with the eBay developers program.
Monitor the limit in code) You can crudely monitor your daily usage against the 5000 per day limit using another eBay API - GetAPIAccessRules https://developer.ebay.com/devzone/xml/docs/Reference/eBay/GetApiAccessRules.html
<?xml version="1.0" encoding="utf-8"?>
<GetApiAccessRulesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
</GetApiAccessRulesRequest>
Monitor the daily limit manually) You can more precisely check the API usage in your developer dashboard manually and determine how you are doing here - https://developer.ebay.com/DevZone/account/default.aspx
Just click on "API Reports" under either production or sandbox API sections to view the usage for a given time period.
Just raise the limit) You can submit and pass the eBay API compatibility check with your app and get the 5000 per day limit raised to up to 1.5M calls per day. That process is described here - https://go.developer.ebay.com/compatible-application-check-and-checklist-going-live
This eBay developer technical support link may help also - https://ebaydts.com/eBayKBDetails?KBid=439

Related

Getting issue in Amazon affiliate Product API to fetch products from amazon

We are using Amazon affiliate Product Advertising API to fetch products from amazon. The account & API KEY was working when we implemented at first time till 1 month but after that we tried again for further project development it stopped working and always displaying below error:
AWS Access Key ID: XXXXXXXXXXXXXXXX. You are submitting requests too quickly. Please retry your requests at a slower rate.
Tried again and again. then finally we decided to create one more API KEY with same account but in this case on first attempt we again got same error.
After this we go to Amazon chat support but didn't find any specific solution. but they said 
Each account used for Product Advertising API is allowed an initial usage limit up to a maximum of 1 request per second and a cumulative daily maximum of 8640 requests per day (TPD) for the first 30-day period after your account has been approved. Following that period, your PA API usage limit will solely be based on your shipped item revenue. Your account will earn a usage limit of 1 TPD for every 5 cents or 1 TPS (up to a maximum of 10 TPS) for every $4320 of shipped item revenue generated via the use of Product Advertising API for shipments in the previous 30-day period.
But now the problem is we are in the development stage and can't generate the revenue. also there is no Testing/Sandbox environment.
Looks like you have used all your usage limit for the account. So to make new requests you'll need to generate some revenue from your account.
I would advice you to test your product with a dummy API that generates the same response as PA API.
You may get some ideas from the tests written in this library: https://github.com/utekaravinash/gopaapi5
If you need more help you can go through this article to understand how API requests work: https://www.utekar.com/amazon-product-advertising-api-5-go-client-library-gopaapi/
Disclaimer: I'm the author of this open sourced library and it's written in Golang.

Enterprise or Self-Service API - Request suggestion

I'm in the process of devolving a new tool for a company app. The tool will be sending homogeneous number of searches to amadeus API. Is every search result is considered as a request? A sample search of a user will have to search the api 1000 times are these searches considered as requests? Because if the company has 10000 request limit per month it's going to be over by 10 users! I need to understand this please.
Every time you call an API (every time you use GET/POST verb) you do a "request".
The limitation (quota) is only in the test environment, you don't pay for it but you have a limited number of calls and you only have access to a subset of data.
In production, you don't have any limitation on the total number of queries you can do. You get access to our full set of data (live) but you pay per use (you pay for each request you do).
You have a limitation on the number you can do per second (TPS: 10 in production / 5 in test).

eBay GetSellerTransactions & cURL_multi - limit?

Another beginners question:
I can get all eBay transactions from an item ID with GetSellerTransactions (XML).
I guess I can run cURL_multi and can get several transactions parallel. My question is, is there a limit how many item# I can send to the eBay API using cURL_multi?
eBay allows up to 18 simultaneous threads per AppID. See eBay Features Guide. This means you can fetch 18 transactions in parallel. But be aware that each single call still counts against the call limit of 5000 per day if your app hasn't passed the Compatible Application Check yet. Otherwise it will count against the 1.5 million calls per day limit.

Simple explanation of Twitter rate limits on "per user" and "per app" basis

I've searched Google and the Twitter documentation for a very straightforward answer for how the following scenario would play out. Specifically, I'm wanting to understand how Twitter's rate limiting works on a "per user" and "per app" basis. Can someone take a look at the example below and explain to me what would happen. And please don't just refer me to a Twitter documentation URL! Thanks in advance.
Example:
The "GET friends/list" API call is currently limited to 15/user and 30/app within the 15 minute window (See https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-list).
If I have 4 users who all make the "GET friends/list" API call 10 times each within a 15 minute window (i.e. 40 calls made) does that mean I violate the 30/app limit? I'd still be within my limits for each of my 4 users, but do their individual calls eat away at the app limit too? Or is the app limit entirely separate and related solely to my app's token/secret?
The number of users (aka user tokens for your app that you've saved in your app store/config) give you that many times the specified per user limit (different for different APIs) for your app.
In your example, you're well within your limit if you make 10 calls per 15 minutes per user to the 'GET friends/list' API call since you have 60 (4 X 15) calls you can make per 15 minutes.
App limit applies if you don't have user tokens via user authZ/consent and are calling in application context only.
You should try your scenario with a 15 minute sleep after iterating over the 4 users and making 10 (upto 15) calls each in the user context (on the user's behalf) and you'll see that all works fine.

What are the API limits for the Google Search API for Shopping?

What are the API limits for the Google Search API for Shopping?
I read here that there is a limit of 2500 queries per day. However, I can't find any reference to the limits in the official documentation. Can anyone advise, or point to an authoritative source?
This thread talks more about the limits. Apparently it's a 'starter' plan of 2500 queries per day. You can request to have that limit increased.
According to "Raz":
Go to
https://code.google.com/apis/console/
. On the left side is the Traffic
Controls link where you can instantly
set you requests/user/second and
request a higher daily per user quota.
Also, on the same page it says the
default 2500 is per end user IP
address which can be specified via a
request parameter.