You can retrieve just the continent information for a place by including a .type filter in your request. This restricts the results to the provided place type(s). Here is an example:
CODE
http://where.yahooapis.com/v1/place/2487956/belongtos.type(continent)?appid=
returns continent WOEID and name
If you want more information about the continent, such as centroid and bounding box, you can include the query parameter "select=long". Here is an example:
CODE
http://where.yahooapis.com/v1/place/2487956/belongtos.type(continent)?select=long&appid=
returns continent WOEID, name, centroid, and bounding box
Eddie Babcock
Yahoo! Geo Technologies
My bad, I hadn't noticed that the default number of places returned were 10 and the continent for this case was in the 14th place