List the request limits
const url = 'https://api.thebgdb.org/v1/limits';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.thebgdb.org/v1/limitsEvery limit this API applies, as numbers: without a token (visitor, per address), with a member’s token (member, per member) and on the Starter plan (paid). With a token or session, also your own limits (yours), whatever your plan. Weeks start on Monday at 00:00 UTC. Not counted against them.
Responses
Section titled “Responses”The limits.
object
object
object
Null: no daily limit.
Games read one by one (/games/{id} and the routes under it) a week.
object
Null: no daily limit.
Games read one by one (/games/{id} and the routes under it) a week.
object
Null: no daily limit.
Games read one by one (/games/{id} and the routes under it) a week.
Sent with a token or session only: the caller’s plan (free, starter, or a plan agreed with us) and its limits.
object
Null: no daily limit.
Games read one by one (/games/{id} and the routes under it) a week.
Pages of the website one address may have rendered a week (search engines and AI crawlers are not limited).
Example
{ "data": { "visitor": { "perMinute": 60, "perDay": 2000, "perWeek": 5000, "detailsPerWeek": 500 }, "member": { "perMinute": 90, "perDay": 3000, "perWeek": 7500, "detailsPerWeek": 750 }, "paid": { "perMinute": 1200, "perDay": null, "perWeek": 200000, "detailsPerWeek": 40000 }, "siteRendersPerWeek": 5000, "apiKeysPerAccount": 2 }}