Rate Limits
Depth Limit
To ensure consistent performance and prevent overly complex queries, our API enforces a maximum query depth limit of 7.
If your GraphQL query exceeds this depth, the following error will be returned:
{
"errors": [
{
"message": "The query depth {NUMBER} exceeds the max query depth allowed (7)"
}
]
}
Here are a few ways you can address this issue:
- Reduce query depth: simplify your GraphQL query to have fewer nested fields.
- Break queries apart: split deeply nested queries into multiple smaller ones and fetch the data in stages.
- Use aliases or fragments wisely: these can help organize queries without necessarily increasing depth—just be sure they don’t add nesting.