# Recommendations for limiting query depth in Apollo

**URL:** https://community.apollographql.com/t/recommendations-for-limiting-query-depth-in-apollo/6544
**Category:** Server
**Tags:** server
**Created:** [August 1, 2023, 6:11pm UTC](https://community.apollographql.com/t/recommendations-for-limiting-query-depth-in-apollo/6544 "2023-08-01T18:11:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![grumbar](https://avatars.discourse-cdn.com/v4/letter/g/91b2a8/32.png) [@grumbar](https://community.apollographql.com/u/grumbar)
#### Post date: [August 1, 2023, 6:11pm UTC](https://community.apollographql.com/t/recommendations-for-limiting-query-depth-in-apollo/6544/1 "2023-08-01T18:11:45Z")

</div>

This is my first post, and I am new to hardening/defending GraphQL

Recently I had been reading the “9 Ways To Secure your GraphQL API” blog post on the Apollo site.

The post makes mention of using graphql-depth-limit to limit query depth, however it seems that the repo is no longer public [https://github.com/stems/graphql-depth-limit](https://github.com/stems/graphql-depth-limit).

I’ve done some asking around and someone suggested that I look into [GraphQL Armor](https://github.com/Escape-Technologies/graphql-armor), and on the surface it seems like it would meet our needs.

I wanted to ask if GraphQL Armor was something people here recommend using or if there is a more standardized way to limit query depth in Apollo.

Thank you

---

<div class="post-metadata">

### Author: ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)
#### Post date: [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/recommendations-for-limiting-query-depth-in-apollo/6544/2 "2025-02-06T20:48:36Z")

</div>


