09-16-2024 12:17 PM
Hello,
I'm in need of some advice related to API rate limiting (and I apologize for the length of this post).
I'm in the process of developing an application that performs a lot of searches
for specific items. Some of the specifics of the searches add up to large search queries that would be greater than the 300 character limit for a search, so I've broken them up into multiple searches.
Right now each search is run once an hour for default accounts, and slightly more often for other account types.
That works wonderfully, and for a few users, will remain in the 5000 daily limit on the API.
My problem is when I launch and start trying to scale my application beyond ~200 default users, I will begin going over that 5000 daily limit. The problem is compounded by adding the additional accounts I plan to provide as I was hoping to have a smaller time window on obtaining search results (i.e. every 30 minutes, 5 minutes).
I've tried to minimize the number of searches as much as possible, however I have no other idea how to search for specific results other than filtering on category, item aspect and keywords.
For example, if I was searching for a video games "Donkey Kong Country" and "Super Mario World" I would limit to the games category, with the aspect filter on Platforms to the correct game system and a search string like so: include_this_term ("donkey kong country","super mario world") -ignore_this_term
This search string gets fairly long if the search was for say 50 items -- I have to split it into multiple similar queries.
My first question: Is there any recommendation on how I can further reduce API search queries?
My concern is I complete my application for growth, but it is denied for one reason or another. I then would have developed an entire platform dependent on searching and can't actually deploy it.
My second question: Is there anyone I can contact (people, teams, etc.) or anyway I can get pre-approval based on concepts being actively developed and implemented?
Thanks in advanced for all your help!
09-21-2024 03:28 AM
Consider implementing caching to store frequent search results, reducing API calls. Also, use dynamic rate limits and batch requests where possible to stay within the API limits.
09-25-2024 08:40 AM
Hi @bekindpleaserewind @elho4024,
You can submit a "Application Growth Check" request to increase the API call limits for your application when your application is close to hit the daily API limit. The application growth check is a free service that the eBay Developers Program provides to its members.
For more details, refer to the "Request an application growth check" guide.