How can we fetch Custom table data by using Magento 2 REST API ?

  • What data you want to fetch. Commented Mar 18, 2021 at 10:44
  • I have a custom table with 5 fields. I want to provide that data to others as REST API in Magento 2. Commented Mar 18, 2021 at 10:46

1 Answer 1


You need to do the following things.

  1. Confirm you have model for your custom table data save/edit.

  2. Create the custom REST API for your extension according to your requirement.

  3. Given the REST API URL which you created to other, who need to use that one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.