Part of the Entity ecosystem · 310 projects
This module provides a read-only JSON API for your Drupal entities, using your existing "Manage Display" configurations. It's designed for headless applications to get content in a predictable JSON format that mirrors how it's displayed on your site, including all field visibility and formatting settings. The API allows you to retrieve site information, resolve entity pointers from paths, and serialize specific entities using their configured display modes, with support for multilingual content and safe handling of deep or cyclical entity references.
A read-only JSON API for Drupal entities, driven by your Manage display configuration. Configure a view display once and decoupled frontends (React, Vue, Svelte, native apps) get the same fields, view modes and formatter settings as JSON — no hand-written field maps.
Endpoints
GET /ejson— site name, slogan, languages, homepage pointer.GET /ejson/resolve?path=/about-us— turns a path or alias into an entity pointer.GET /ejson/operations?path=/about-us— what the current user can do there (edit, delete…), for frontend editor links.GET /ejson/{entity_type}/{uuid}/{display_id}— the entity (or view) serialized through that display.
Highlights
- One call, full page — references, media, paragraphs and views are walked recursively using each component's view mode.
- Secure by default — entity and field
viewaccess always enforced; formatted text is filtered through its text format. - Cacheable — cache tags and contexts bubble into a
CacheableJsonResponse. - Typed frontends — ships a JSON Schema for the payload contract.
- Extensible — field value extractor plugins and alter hooks, no patching.
Requirements
Drupal 10.2+, 11 or 12. Optional: Paragraphs, Block Field, Field Group.
Full documentation, JSON contract and extension examples are in the README.
Ask your assistant about Entity Display JSON
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Entity ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.3.1 | Stable | 10–11 | Nov 2, 2026 | ||
| 1.2.0 | Stable | 10–11 | Jun 1, 2026 | ||
| 1.1.2 | Stable | 9–11 | Sep 12, 2024 | ||
| 1.1.x-dev | Dev | 10–11 | Dec 18, 2023 | ||
| 1.1.1 | Stable | 9–10 | Dec 15, 2023 | ||
| 1.1.0 | Stable | 9–10 | Dec 6, 2023 | ||
| 1.0.12 | Stable | 9–10 | Oct 19, 2023 | ||
| 1.0.11 | Stable | 9–10 | Oct 11, 2023 | ||
| 1.0.10 | Stable | 9–10 | Sep 5, 2023 | ||
| 1.0.x-dev | Dev | 9–11 | Jun 27, 2023 |