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.
Supporting organizations:
Development time
Project information
- Project categories: Decoupled
26 sites report using this module
- Created by rfmarcelino on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

