I want to access product list with category name using Magento API.

closed as unclear what you're asking by Rohan Hapani, Jai, Mohit Kumar Arora, Priyank, saravanavelu Jan 12 at 15:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


I have created some basic module with REST api which will take category name as input and return all products name under the specific category.


This is module xml file

Test/Hello/etc/di.xml This is dependency injection xml file

Test/Hello/etc/webapi.xml Webapi xml file

Test/Hello/Model/Hello.php Model File

Test/Hello/Api/HelloInterface.php API Interface file

You can ping the below url in browser to get the result


The response will be

enter image description here

Please check and let me know whether its meeting your needs.

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