Frequently Asked Questions

Product Information & Usage

What is Hygraph and how does it help with content management?

Hygraph is a modern, flexible, and scalable content management system (CMS) designed to empower businesses to create, manage, and deliver exceptional digital experiences at scale. It features a GraphQL-native architecture, content federation, and user-friendly tools for both technical and non-technical users. These capabilities help streamline workflows, reduce developer dependency, and enable efficient content delivery across multiple channels. (Source)

How can I query Hygraph content using urql?

You can query Hygraph content with urql by creating a client with your Hygraph GraphQL endpoint and using urql's query method in your Next.js getStaticProps or React components. The process involves setting up the urql client, writing your GraphQL queries, and handling the results in your application. Detailed code examples are provided in the blog post and on CodeSandbox. (Source)

Can I use Hygraph with React and Next.js?

Yes, Hygraph integrates seamlessly with React and Next.js. You can use urql's React hooks to fetch data from Hygraph on the client side, and Next.js's getStaticProps for static site generation. The blog provides step-by-step examples for both approaches. (Source)

What is urql and why is it recommended for querying Hygraph?

urql is a lightweight GraphQL client for JavaScript that supports queries, mutations, subscriptions, and smart caching. It is recommended for querying Hygraph because of its small bundle size (~7.4kb), ease of use, and compatibility with modern frameworks like React and Next.js. (Source)

How do I set up authentication when querying Hygraph with urql?

When querying Hygraph with urql, you should use a Permanent Auth Token with limited read permissions for static data fetching. This ensures secure access to your content while following best practices for API authentication. (Source)

Are there code examples for integrating Hygraph with urql?

Yes, the blog provides code examples for setting up the urql client, writing queries, and integrating with both Next.js and React. You can also find working examples on CodeSandbox and in the Hygraph documentation. (Source)

How do I fetch product data from Hygraph using urql?

You can fetch product data by writing a GraphQL query for your products and using urql's query method in your Next.js getStaticProps or React component. The blog provides sample queries and code for fetching product lists and individual product details. (Source)

Can I use dynamic routes with Hygraph and urql in Next.js?

Yes, you can use dynamic routes in Next.js to fetch content for individual pages. By querying Hygraph for all product slugs and using getStaticPaths, you can generate static pages for each product. The blog provides code samples for this setup. (Source)

Is there a way to preview Hygraph content changes in real time?

Yes, Hygraph supports live preview functionality, allowing you to see content changes instantly on the front end. This feature is available in the Hobby plan and above. (Source)

Where can I find more resources and documentation for Hygraph?

You can find comprehensive documentation, guides, and tutorials on the Hygraph Documentation page. Additional resources include the blog, case studies, and the Hygraph community Slack channel. (Source)

How do I handle errors when querying Hygraph with urql?

When using urql with Hygraph, you can handle errors by checking the error property returned by the useQuery hook or the result of your query. The blog provides examples of displaying error messages in your UI. (Source)

Can I use Hygraph for multilingual content management?

Yes, Hygraph supports localization and can be integrated with tools like Lokalise to manage multilingual content efficiently. There are dedicated guides and blog posts on building and managing multilingual products with Hygraph. (Source)

Does Hygraph support integration with other frameworks besides React and Next.js?

Yes, Hygraph can be integrated with various frameworks, including Nuxt.js and others. The blog and documentation provide examples and best practices for different frameworks. (Source)

How do I get started with Hygraph as a developer?

Developers can get started with Hygraph by signing up for a free developer account, accessing the API playground, and following the onboarding guides and tutorials available in the documentation. (Source)

What is the best way to structure my content schema in Hygraph?

Hygraph provides detailed documentation and best practices for structuring your content schema, including using components and references for modular and reusable content models. (Source)

How do I connect Hygraph to external APIs or data sources?

Hygraph supports content federation and can connect to external APIs and data sources via remote source connections, REST, and GraphQL. The platform also offers a marketplace for pre-built integrations. (Source)

What are the main APIs provided by Hygraph?

Hygraph provides several APIs, including the Content API (read & write), High Performance Content API (low latency, high throughput), MCP Server API (for AI assistants), Asset Upload API, and Management API. Each API serves different use cases and is documented in the API Reference. (Source)

What integrations does Hygraph support?

Hygraph supports integrations with Digital Asset Management (DAM) systems like Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, and Scaleflex Filerobot. It also integrates with tools like Adminix and Plasmic, and offers a marketplace for additional apps and custom integrations. (Source)

Pricing & Plans

What does the Hygraph Hobby plan cost and what features are included?

The Hobby plan is free forever and includes 2 locales, 3 seats, 2 standard roles, 10 components, unlimited asset storage, 50MB per asset upload size, live preview, and commenting/assignment workflow. (Source)

What features are included in the Growth plan and how much does it cost?

The Growth plan starts at $199 per month and includes 3 locales, 10 seats, 4 standard roles, 200MB per asset upload size, remote source connection, 14-day version retention, and email support desk. (Source)

What does the Enterprise plan offer and how can I get pricing?

The Enterprise plan offers custom pricing and includes custom limits on users, roles, entries, locales, API calls, components, and more. It also provides version retention for a year, scheduled publishing, dedicated infrastructure, global CDN, 24/7 monitoring, SSO, multitenancy, instant backup recovery, custom workflows, and dedicated support. (Source)

Features & Capabilities

What are the key features of Hygraph?

Key features include GraphQL-native architecture, content federation, scalability, enterprise-grade security and compliance, user-friendly tools, Smart Edge Cache, localization, asset management, cost efficiency, and accelerated speed-to-market. (Source)

How does Hygraph ensure high performance?

Hygraph delivers high performance through optimized endpoints for low latency and high read-throughput, active performance measurement of GraphQL APIs, and practical optimization advice for developers. (Source)

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. It also offers enterprise-grade features like granular permissions, audit logs, SSO, encryption, and regular backups. (Source)

How does Hygraph support integration with AI and automation?

Hygraph provides AI integrations such as AI Agents, AI Assist, and the MCP Server API, enabling secure and structured communication between AI assistants and Hygraph. Detailed documentation is available for these features. (Source)

Competition & Comparison

How does Hygraph compare to traditional CMS platforms?

Hygraph stands out as the first GraphQL-native Headless CMS, offering simplified schema evolution, content federation, and modern workflows. Unlike traditional CMS platforms that rely on REST APIs and developer intervention, Hygraph enables seamless integration and faster content updates for both technical and non-technical users. (Source)

Why choose Hygraph over other headless CMS solutions?

Hygraph offers unique advantages such as GraphQL-native architecture, content federation, enterprise-grade features, proven ROI (e.g., Komax achieved 3x faster time to market), and high market recognition (ranked 2nd out of 102 Headless CMSs in G2 Summer 2025). (Source)

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is designed for developers, product managers, content creators, marketing professionals, solutions architects, enterprises, agencies, eCommerce platforms, media and publishing companies, technology companies, and global brands. (Source)

What industries are represented in Hygraph's case studies?

Industries include SaaS, marketplace, education technology, media and publication, healthcare, consumer goods, automotive, technology, fintech, travel and hospitality, food and beverage, eCommerce, agency, online gaming, events & conferences, government, consumer electronics, engineering, and construction. (Source)

What business impact can customers expect from using Hygraph?

Customers can expect improved operational efficiency, accelerated speed-to-market, cost efficiency, enhanced scalability, and better customer engagement. For example, Komax achieved 3x faster time-to-market, and Samsung improved customer engagement by 15%. (Source)

Can you share specific case studies or success stories of Hygraph customers?

Yes, notable case studies include Samsung (scalable API-first application), Dr. Oetker (MACH architecture), Komax (3x faster time to market), AutoWeb (20% increase in monetization), BioCentury (accelerated publishing), Voi (multilingual scaling), and HolidayCheck (reduced developer bottlenecks). (Source)

Pain Points & Solutions

What problems does Hygraph solve for businesses?

Hygraph solves operational inefficiencies (eliminates developer dependency, modernizes legacy stacks, ensures content consistency), financial challenges (reduces costs, accelerates speed-to-market, supports scalability), and technical issues (simplifies schema evolution, robust integrations, performance optimization, localization, and asset management). (Source)

How does Hygraph address developer dependency and workflow bottlenecks?

Hygraph provides an intuitive interface for non-technical users, enabling them to update content independently and reducing reliance on developers. This streamlines workflows and accelerates content updates. (Source)

What feedback have customers given about Hygraph's ease of use?

Customers praise Hygraph for its intuitive UI, ease of setup, and the ability for non-technical users to manage content independently. Some users note that it can be complex for less technical users, but overall feedback is positive. (Source)

Technical Requirements & Support

How long does it take to implement Hygraph?

Implementation time varies by project. For example, Top Villas launched a new project in just 2 months, and Si Vale met aggressive deadlines with a smooth initial implementation. (Source)

What onboarding and support resources does Hygraph provide?

Hygraph offers a structured onboarding process, training resources (webinars, live streams, videos), extensive documentation, and a community Slack channel for support. (Source)

Introducing Click to Edit

Querying Hygraph Content with urql

Learn how to query content from Hygraph with urql at build time with Next.js, and in the browser with React.
Jamie Barton

Written by Jamie 

Aug 19, 2021
querying hygraph with urql

urql is a GraphQL client for your frontend that boasts a smart caching mechanism, support for queries, mutations, subscriptions, and does it all in a very small ~7.4kb package.

We'll explore querying content at build using @urql/core (re-exported from urql) and urql react hooks to query content on the client-side on request.

#Core urql

If you've used Next.js, then you'll be familiar with getStaticProps get your static content, and pass it as props to the page.

If you want to fetch any data on the client you should check out working with next-urql, but this guide is for fetching static data only. You'll also want to make sure your Permanent Auth Token has limited read permissions.

Let's first setup our urql client by importing createClient and passing it our Hygraph endpoint:

import { createClient } from 'urql';
const client = createClient({
url: 'https://api-eu-central-1.hygraph.com/v2/ck8sn5tnf01gc01z89dbc7s0o/master',
});

Then inside of getStaticProps you can use client.query() and pass it your query (and optional variables). You'll need to chain .toPromise() too.

You'll end up with something like this:

import { gql } from 'urql';
export const getStaticProps = async () => {
const ProductsQuery = gql`
{
products {
slug
name
}
}
`;
const {
data: { products },
} = await client.query(ProductsQuery).toPromise();
return {
props: {
products,
},
};
};

Now let's imagine we render a list of links to individual product pages, with this we can use Next.js dynamic routes to get the slug of a product page, and pass this to urql.

The file /products/[slug].js would look a little something like:

export async function getStaticProps({ params }) {
const { slug } = params;
const ProductBySlugQuery = gql`
query GetProductBySlug($slug: String!) {
product(where: { slug: $slug }) {
name
description
price
}
}
`;
const {
data: { product },
} = await client
.query(ProductBySlugQuery, {
slug,
})
.toPromise();
return {
props: {
product,
},
};
}

As with getStaticProps we'll need to declare getStaticPaths too. Unless you're adopting incremental static generation, you'll want to query Hygraph to get all of your product slugs. It would look something like this:

export async function getStaticPaths() {
const ProductSlugsQuery = gql`
{
products {
slug
}
}
`;
const {
data: { products },
} = await client.query(ProductSlugsQuery).toPromise();
return {
paths: products.map(({ slug }) => ({
params: { slug },
})),
fallback: false,
};
}

That's the core urql client - fetching data!

You can play with this example on CodeSandbox:

Develop with Codesandbox

#React urql

The developer experience shines thanks to the collection of methods urql has available for your framework.

Let's take a look at how you can use urql with React on the frontend, without statically building pages.

Before we can begin to update our index page of products, we'll need to wrap our application with a Provider component and pass it our client.

import React from 'react';
import ReactDOM from 'react-dom';
import { createClient, Provider } from 'urql';
import App from './App';
const client = createClient({
url: 'https://api-eu-central-1.hygraph.com/v2/ck8sn5tnf01gc01z89dbc7s0o/master',
});
ReactDOM.render(
<React.StrictMode>
<Provider value={client}>
<App />
</Provider>
</React.StrictMode>,
document.getElementById('root')
);

From here, we can import useQuery from urql and pass it on our query, but this time it'll be executed on the frontend.

We'll get from the array useQuery returns the first item, which we'll call result. This result will be an object, and we can get from that data, error and whether or not it's fetching.

useQuery doesn't need your Hygraph endpoint (or a client) because it is aware of the context surrounding it that is <Provider value={client}>.

Now, all that's left to do is update our page to show a message when we're fetching, an error occurred, or the data we get back from Hygraph.

import { gql, useQuery } from 'urql';
const ProductsQuery = gql`
{
products {
slug
name
}
}
`;
function App() {
const [result] = useQuery({ query: ProductsQuery });
const { data, fetching, error } = result;
if (fetching) return <p>Fetching products</p>;
if (error) return <p>Oh no... {error.message}</p>;
return (
<ul>
{data.products.map(({ slug, name }) => (
<li key={slug}>{name}</li>
))}
</ul>
);
}
export default App;

You can play with this example on CodeSandbox:

Develop with Codesandbox

Blog Author

Jamie Barton

Jamie Barton

Jamie is a software engineer turned developer advocate. Born and bred in North East England, he loves learning and teaching others through video and written tutorials. Jamie currently publishes Weekly GraphQL Screencasts.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.