Skip to content

API Overview

NodeHive is built on Drupal and exposes several API options for fetching content. Choose the one that fits your use case best.

For frontend projects, we recommend using the official nodehive-js client library. It wraps the JSON:API and handles routing, includes, and content fetching with a clean API.

Available APIs

APIBest forStatus
NodeHive Public APIMenus and spaces metadata, third-party integrationsStable
JSON:API Full content CRUD, complex queries, frontend apps with nodehive-jsStable
GraphQLClients that prefer GraphQL query syntaxAvailable (Drupal contrib)
RESTSimple entity access via Drupal’s built-in REST moduleAvailable (Drupal contrib)

Which API should I use?

Building a Next.js or frontend app? Use JSON:API with the nodehive-js client. It gives you the most flexibility for querying, filtering, and including related content.

Need menu trees or space metadata? Use the NodeHive Public API. It returns clean, pre-formatted JSON for menus and spaces. For node/content access, use JSON:API .

Already using GraphQL or REST in your stack? Both are available as Drupal contrib modules. They work with NodeHive content but are not NodeHive-specific — refer to the Drupal documentation for details.