# How to get course content in xblock

**URL:** <https://discuss.openedx.org/t/how-to-get-course-content-in-xblock/5217>\
**Category:** Site Operations Help\
**Created:** [June 18, 2021, 11:17am UTC](https://discuss.openedx.org/t/how-to-get-course-content-in-xblock/5217 "2021-06-18T11:17:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritay](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@ritay](https://discuss.openedx.org/u/ritay)\
**Post date:** [June 18, 2021, 11:17am UTC](https://discuss.openedx.org/t/how-to-get-course-content-in-xblock/5217/1 "2021-06-18T11:17:34Z")

</div>

Hi,  
How I can get course content in an xblock using an api or acceccing to database for LMS.  
I need help please

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [September 16, 2021, 11:17am UTC](https://discuss.openedx.org/t/how-to-get-course-content-in-xblock/5217/2 "2021-09-16T11:17:34Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
