Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
1 answer
205 views

Please add tags to answers

Update: This was completed as of API version 2.1. When querying any API method which returns answers (/users/ids/answers, /answers/ids, etc.) the result does not include the tag information for the ...
Sky Sanders's user avatar
  • 12.1k
5 votes
1 answer
113 views

How to include answers when fetching questions?

I made a small cron job which crawls questions and answers from Stack Overflow. Here is my request URL: https://api.stackexchange.com/2.2/questions?order=desc&tagged=php&site=stackoverflow&...
Jithesh Kt's user avatar
4 votes
1 answer
97 views

Getting the top answerers/users for a tag in a custom time range?

I'm trying to use the top answers on tags API to get the users who contribute the most for a given tag. Like so:           /2.2/tags/azure-web-sites/top-answerers/month?site=...
Zain Rizvi's user avatar
4 votes
1 answer
100 views

Get total answers count for a specified: Tag, Userid and Date-range?

I would like to get the total number of answers provided by userid 1068142 between 01/07/2015-31/07/2015 with tag = paypal. I have looked into this question but it does not help! I have been trying ...
Vimalnath's user avatar
  • 143
4 votes
1 answer
78 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
Jason Li's user avatar
4 votes
0 answers
62 views

Please add a "self answer" flag to the answer results/object

Is there an easy way to tell if an answer is from the question poster? I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...
user avatar
3 votes
1 answer
2k views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
Shyju's user avatar
  • 133
3 votes
2 answers
449 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
mikej's user avatar
  • 185
3 votes
1 answer
51 views

How do I search answer bodies for Markdown links?

The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
tony19's user avatar
  • 133
3 votes
1 answer
34 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
shams's user avatar
  • 133
3 votes
1 answer
90 views

Getting the ID of the question-asker when fetching new answers from the API

I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
Dharman's user avatar
  • 503
3 votes
1 answer
201 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
Jason Li's user avatar
3 votes
1 answer
35 views

getting answer body and question body in same request [duplicate]

I'm trying to get only questions and answers. I filtered the fields, to get also the body of answers, but I don't get an answers JSON object. What am I missing? I know about this question, but I don'...
AJ AJ's user avatar
  • 133
3 votes
0 answers
47 views

/answers API request returns no tags if body_markdown is included [duplicate]

This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine: api.stackexchange.com/docs/answers#filter=!9YdnSPElz But, when the filter is ...
Boann's user avatar
  • 131
2 votes
2 answers
105 views

Total Number Of Answers

I need to find the total number of answers submitted by a user on stackoverflow. I tried the following: I got my json from the following: https://api.stackexchange.com/users/2440312/answers?site=...
Aaditi Jain's user avatar
2 votes
1 answer
269 views

How to get deleted answers?

Users with a certain reputation, can see deleted answers (deleted either by moderators or by their owners themselves). Does the API offer any means to access such deleted answers?
Billal Begueradj's user avatar
2 votes
0 answers
64 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
Rajeev K Tomy's user avatar
1 vote
1 answer
150 views

How can I fetch the answers posted in last week based on tags of the question?

I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
Ramya Sunkara's user avatar
1 vote
1 answer
624 views

How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
RobSiklos's user avatar
  • 113
1 vote
0 answers
121 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
Anand Kamathi's user avatar
1 vote
0 answers
30 views

Get tags from question through an answer [duplicate]

I'd like to use this function: /users/{ids}/answers to get a list of answers from a user. The key element that I need though is what the question was tagged as, is there a possibility of having ...
endyourif's user avatar
  • 119
0 votes
1 answer
115 views

Questions with accepted answers

I know that you could technically loop through the answers returned when you ask for /questions/{id} to see if an answer has been accepted, but it would be AWESOME if there was a top level boolean ...
Jason's user avatar
  • 3,065