Falcor is an API style that is similar to GraphQL. It introduces a virtual layer that can be used to map frontend requests to backend services. It is maintained by Netflix.

Falcor API Style

The basic idea of the Falcor API Style is to create a virtual JSON resource, as the central data model, which is actually used as a container. This virtual JSON resource is published under a URL address. Falcor then links data from various backends and data sources into this virtual JSON resource. The virtual JSON resource is all-encompassing and is designed to be extended over time. As a result, the virtual JSON resource is pretty big.

Clients should not need to retrieve it in its entirety, so similar to GraphQL,  the client can specify which part of the resource is interesting and only that specific part should be retrieved. On the client-side, only JavaScript is required- no other proprietary language (like GraphQL).

Falcor API Style – merging all your data models

Also published on Medium.

Matthias Biehl

As API strategist, Matthias helps clients discover their opportunities for innovation with APIs & ecosystems and turn them into actionable digital strategies. Based on his experience in leading large-scale API initiatives in both business and technology roles, he shares best practices and provides both strategic and practical guidance. He has stayed a techie at heart and at some point, got a Ph.D. Matthias publishes a blog at api-university.com, is the author of several books on APIs, and regularly speaks at technology conferences.