A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

1
vote
0answers
2 views

Please provide a way to download SEDE data via an API

Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that. It has also been suggested that it would ...
2
votes
0answers
5 views

Please provide a way to get Post Edits, filtered by user

I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
2
votes
1answer
9 views

Can revisions be returned from the API, filtered by user?

I see that question or answer revisions can be returned from the API either by post ID or by GUID. I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
2
votes
1answer
25 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: ...
4
votes
1answer
58 views

Unable to get access token

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
2
votes
1answer
43 views

Questions with specific tag and specific text inside questions

So I am able to get questions with specific tags, but still not able to get questions which have specific text and a specific tag. For example if I want to get all the questions with text "api" in ...
1
vote
0answers
18 views

List recent tag wiki edits

I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this? It is not a problem if I get a few false positives by tags modified in other ways, ...
0
votes
1answer
45 views

Specific Response attributes [duplicate]

I want to get questions related to a specific tag with the body of those questions. I have figure out this API request: ...
2
votes
1answer
54 views

Encoding problem while accessing the API using Java

Trying to call an API URL from a Java application, I'm having problems accessing the contents of the URL. I can access other sites through my program but not the Stack Exchange site. But I can call ...
2
votes
1answer
34 views

How to delete apps in StackApps?

I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
3
votes
1answer
46 views

Some blank properties missing

I am using /me/associated. I haven't posted any question in one account, so the response comes as: "top_questions": [], "top_answers": [], "question_count": 0, "answer_count": 0, in the same ...
2
votes
1answer
31 views

Where is “items” & “badge_counts” documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
2
votes
0answers
63 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
3
votes
0answers
35 views

How to get unread reputation changes via the API?

I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that. ...
3
votes
1answer
50 views

Getting historical data for careers?

I'm wondering if there is a possible way to get historical data regarding job postings made through careers, even for postings that have already been filled. Does careers keep this data at all, and if ...
2
votes
1answer
53 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
3
votes
0answers
23 views

Access to my Upvoted Questions

I would like to see just my upvoted questions (Don't care about other users as such). There are some related posts: List of Votes by Authenticated users Can I see my past upvoted questions in ...
1
vote
0answers
42 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?
1
vote
1answer
44 views

I Cannot Perform Oauth

My Clientn id = 4784 and Key = cB0l6XiaOW5l5vsBnBeIUg((. What do I do for Oauth and to get an access token?
2
votes
1answer
63 views

Can not request info after OAuth

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: ...
2
votes
1answer
52 views

Add the 'people reached' count to the API?

Can we have the people reached statistic added to the /users/{ids} method? The response could simply be: "people_reached": 1000 I'm asking because it would be cool to get a network-wide number.
1
vote
0answers
24 views

How to get all posts that a user voted on? [duplicate]

I know how to get all questions that I favorited using /docs/me-favorites. But, how can I get all answers (or questions) that I voted on? Like those in the upvote history.
1
vote
0answers
17 views

Using Stack overflow [duplicate]

Can we use Stack Overflow API 2.2 (or any other latest version) to extract the information (Threads, Answers, users etc), as mentioned in the documentation in https://api.stackexchange.com/docs. We ...
1
vote
0answers
18 views

How to install the Stack Exchange API 2.2? [duplicate]

I am sorry, this may seem obvious but I really can't find any installation guide/link anywhere. I need the Objective-C API.
2
votes
1answer
26 views

How to get up_vote_count and down_vote_count for a user?

I'm testing the following command: $ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool However it doesn't return up_vote_count and ...
1
vote
0answers
40 views

How can i extract a user information on Stack Overflow using Python and stack Overflow App

I am new to python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For ex: can I extract the user: name bio and number of questions ...
4
votes
1answer
29 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
4
votes
1answer
45 views

404 “This Method cannot be called this way” when getting user's inbox

I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items. However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
2
votes
0answers
28 views

Are there plans to involve Area51 in SE API version 3?

Several applications come to mind, proposal publicity, question analysis, making resources files, but I can't find any SE API calls that can do this.
1
vote
0answers
28 views

sobot python script

About Simple script for using SO API License MIT Download later Platform linux Contact Code
3
votes
1answer
35 views

The StackWrap4J java wrapper gives nothing but `JSONException`s?

I'm using the StackWrap4J java wrapper for the Stack Overflow API. But every code I try, that uses methods of this java wrapper, ends with this JSONException: ...
2
votes
1answer
27 views

Where are the built-in filters?

On api.stackexchange.com/docs/create-filter it states: there are a number of built-in filters which cover common use cases. Where can I find them? Can you make built-in filters a link? I need ...
2
votes
0answers
42 views

Fetch the Personalized Prediction Data through the API?

Is it possible to get a user's personalized prediction data in an automated way? I'm building a graphical visualization of this data, you can check the project here: ...
2
votes
0answers
93 views

Array boolean values are returning empty

I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
3
votes
1answer
29 views

Limiting the number of items returned by a request?

How can I limit the amount of items returned to me when performing an API call? I only want the top 10 most commonly used tags, by default I'm sent back 30. EG: ...
4
votes
1answer
1k views

'The target origin provided does not match the recipient window's origin' message when trying to use localhost

I am trying to experiment with the Stack Overflow API on my localhost and am struggling to get the authentication to complete. Here is my application JavaScript code (note that I am using IBM ...
5
votes
1answer
42 views

API throws improper error when “date” parameters are the same

When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error. Using different dates appears to work OK but specifying the same value ...
2
votes
0answers
102 views

Resurfacing bug: “could not parse proxy url” error message

According to this question, the "could not parse proxy url" bug was solved more than 2 years ago. However, when using the client-side OAuth flow, the aforementioned error message appears when ...
0
votes
0answers
12 views

Unable to post a question through api again [duplicate]

I am testing an application to create a question on Stack Overflow. After i created my first question through the API , i am not able to do so as it says "we are no longer accepting questions from ...
3
votes
1answer
55 views

Question's body rendering in Android's webview

I've developed an app that get questions from Stack using REST APIs and shows them in a WebView. My problem now is that the body often contains placeholders that must be "replaced" with the real ...
1
vote
0answers
37 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 ...
1
vote
0answers
44 views

How to retrieve the body of an accepted answer using the API?

I would like to retrieve accepted answers with complete answer body for a given question (using id) or a free form text (q). I have tried the /search/advanced and /search/excerpts routes -- setting: ...
0
votes
0answers
29 views

Is it okay to use the Stack Exchange API to get all tags as a one time call for a commercial application? [duplicate]

I want to get all tags that stackoverflow lists, and I can do that with: https://api.stackexchange.com/2.2/tags?site=stackoverflow I'm only going to make the request once to get a list of all tags ...
2
votes
1answer
72 views

Unable to download data from the API using UNIX wget?

I want to download the JSON data from this sample API call into a file. I tried using wget, like so: wget -O ~/ks/json.txt ...
2
votes
1answer
34 views

Obtain JSON equivalent of a full Q&A HTML page?

I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange ...
0
votes
0answers
12 views

Get the list of question ids under a particular tag? [duplicate]

I am new to the Stack Exchange API. Stack Overflow has a tag named java, How do I get the list of all questions' ids that are tagged as java?
0
votes
1answer
100 views

Get UserId by passing email ID in the Stack Exchange API?

The Stack Exchange API is mostly based on 'ids'. IE /2.2/users/{ids}/top-tags?site=stackoverflow How can we get {ids} for a particular user using his email id or name? Is there any method available ...
3
votes
1answer
41 views

What's the difference between the Stack Exchange API and the Stack Overflow API?

I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?
4
votes
1answer
33 views

Which reputation events are private?

I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history) and Stack Overflow's description of how reputation is calculated. But, I can't find ...
2
votes
0answers
16 views

/answers API request returns no tags if body_markdown is included

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 ...