HTTP-REQUEST Multiple API keys in case one runs out or credits or limit exceeds

The idea is:

I used http-request to YouTube API, I get 10,000 query calls per day, but that runs out pretty fast since each call and it’s answer takes a lot of query tokens.
I have multiple accounts with 10,000 query credits per day, I will like to have an option to have multiple accounts on some sort of if this account limit is reached then use the next account and so on.
This could also be beneficial for others using other API services that only allow certain amount of query calls per day.

From this:

To this:

any help will be great on this.
Thank you

Hello !
Nice to meet you
I can help u with my rich n8n experience
my solution:

  1. Store your keys in a config file, environment variable, database, or a JSON like:
  2. Track quota usage per key: apiKey.remaining -= estimatedCost;
  3. Rotate keys automatically: I`ll use function node using js
  4. Automatically reset keys at midnight
  5. Wrap requests in a key-rotating function

Hope to discuss more on chat