Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I actually get the body (i.e. the textual content) of any say question or answer.

For example, for question (id= 7406104), I call:

But in the response, I can only see the title. How can I get the actual question details:

 "total": 1,
 "page": 1,
 "pagesize": 30,
 "questions": [
   "tags": [
   "answer_count": 5,
   "accepted_answer_id": 7406124,
   "favorite_count": 1,
   "question_timeline_url": "/questions/7406104/timeline",
   "question_comments_url": "/questions/7406104/comments",
   "question_answers_url": "/questions/7406104/answers",
   "question_id": 7406104,
   "owner": {
    "user_id": 587196,
    "user_type": "registered",
    "display_name": "Larry",
    "reputation": 197,
    "email_hash": "4758e22c1321eeaa3c712b516669a629"
   "creation_date": 1315935668,
   "last_activity_date": 1315936683,
   "up_vote_count": 0,
   "down_vote_count": 0,
   "view_count": 46,
   "score": 0,
   "community_owned": false,
   "title": "How do I write my own comparison operator in Java?"
share|improve this question
up vote 4 down vote accepted

As mentioned in the API documentation, you simply need to pass in the body=true parameter to get the body of the question.

In the upcoming version of the API, you'll be able to use filters to specify what you want returned in advance.

share|improve this answer

You must log in to answer this question.

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