Rate Limits

There’s a limit of 200 requests per minute per IP. Exceeding this limit will block further connections for a period of 20 minutes.

Optimisation

Reducing queries

When querying for multiple records by id at the same time, often the queries can be combined:

Bad Example Good Example
{
 room_stays(filter: {id: {eq: “<room stay id 1>“}}) {
  …
 }
}

{
 room_stays(filter: {id: {eq: “<room stay id 2>“}}) {
  …
 }
}
{
 room_stays(filter: {id: {in: [“<room stay id 1>“, “<room stay id 2>“]}}) {
  …
 }
}

Batching queries

See Query Batches