Number of items affect request cost?


#1

Hello, I’m wondering if the number of items in an API request affect the request cost? For example, does fetching 20 (first: 20) videos from a user cost more than fetching 5 (first: 5)?


#2

Twitch do not charge for API access, there’s no monetary difference between a request for a single item, or a request for 100 items.


#3

Oke, thanks for the help.


#4

And similarly a request for 100 users from the New API Users endpoint (specifying 100 user ID’s) instead of 1 only costs 1 API request.

Videos with a limit of 20 is one API request
Videos with a limit of 1 is one API request

Each HTTP request costs one from the rate limit.

Thats if you mean rate limit?


#5

Oke, ya that’ what I meant. Thanks.


closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.