Contentstack supports fetching content through GraphQL, an intuitive and flexible data query language, that lets you define and customize the API response of your GET calls. Using our GraphQL Content Delivery APIs, you can fetch entries and assets as well as make image transformation API requests.
This means that you can create syntaxes to customize the responses of your API calls, to get precisely the data you want. The support for GraphQL is currently in Alpha.
Note: Contentstack GraphQL API is not freely accessible to everyone. To access the Alpha version of the API, contact our Support team..
So, for example, you can fetch data of only the fields that you want (such as “Title” and “Description”) of entries, instead of data of all fields.
You can also fetch data of multiple or referenced content types in a single request body. Consequently, it helps you retrieve more relevant data in fewer calls.
Read through our API Reference documentation to understand the different operators that are available for use with Contentstack GraphQL API.
Note: The Contentstack GraphQL API is currently available in Alpha version. We will be releasing the Beta version very soon. To learn more, refer to the Contentstack GraphQL API documentation.