You can fetch a question by providing its id, via SO's API. See this page, for more information.

However, the returned JSON, has no body containing the actual text of the question. Is it by design? Am I following a wrong path?


body=true doesn't seem to work with the 2.1 API, but you can add filter=withbody:


Or you create a custom filter that includes the body.


Another parameter is needed...

  • OMG, stupid me. How on earth I didn't see that. :(. Thanks @Bobby. – Saeed Neamati Nov 22 '11 at 11:18
  • For whatever reason, I rejoice in the clarity and rigor of your image-only answer. – dakab Apr 7 '17 at 7:00
  • this is no longer correct. body is no longer listed as a parameter – gman Aug 4 '17 at 18:07

Recently, the Stack Exchange API has been upgraded to v2.2. So the earlier answers cannot work now. The query should be:


Related documents can be seen in the page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .