I'm using the search.list
API to display a single result on my site.
This is the call:
const request = gapi.client.youtube.search.list({
q: query,
part: 'id',
type: 'video',
maxResults: '1'
});
After a few calls, I see around 1K queries in my Quotas dashboard:
But on the Metrics dashboard I see only 20 requests (which is correct). This means every request takes 50-100 units. How can I optimize this request to take less units? since I only need one result.
[Edit] Resolved. Check out the comment by @MauricioAriasOlave for the right query optimization.