Skip to main content

Strapi APIs to access your content

Caution

The content of this page has not been updated to Strapi v5 yet.

Once you've created and configured a Strapi project, created a data structure with the Content-Type Builder and started adding data through the Content Manager, you likely would like to access your content.

From a front-end application, your content can be accessed through Strapi's Content API, which is exposed:

REST and GraphQL APIs represent the top-level layers of the Content API exposed to external applications. Strapi also provides 2 lower-level APIs:

  • The Entity Service API is the recommended API to interact with your application's database within the backend server or through plugins. The Entity Service is the layer that handles Strapi's complex data structures like components and dynamic zones, which the lower-level layers are not aware of.
  • The Query Engine API interacts with the database layer at a lower level and is used under the hood to execute database queries. It gives unrestricted internal access to the database layer, but should be used only if the Entity Service API does not cover your use case.

This documentation section includes reference information about the following Strapi APIs and some integration guides with 3rd party technologies:

Guides

The following guides could help you solve specific use cases when using the Content API: