I have a requirement like below.

There is a website which is running in production mode in one server.

That has some static blocks.

A block is created with some content(Ex:Block_Id: sample_block).

Here my question is I need to get the content of that block and load it in external PHP file, which is in different server.

Is this can be achieved in any way. please suggest me.

  • Yes @RohanHapani, that php file may be in different server, or can be in localhost Jan 30, 2020 at 11:50

1 Answer 1


You can use Magento REST APIs to get static block content.

  • can you pls post an answer if possible. Jan 31, 2020 at 6:03

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.