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

learn more… | top users | synonyms

-1
votes
0answers
16 views

Does a lightweight Python API for StackExchange exist? [duplicate]

Is there a lightweight Python bsed API facility here in stack exchange?
3
votes
1answer
45 views

How to increase app request quota from 300 to 10,000?

In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((: Pass this as key when making requests against the Stack Exchange ...
4
votes
1answer
43 views

How do I get my total reputation score using the API?

How do I get my total reputation score? My score is 354, on Stack Overflow, as per my user page. I browsed the API, and found a call similar to what I require:       api.stackexchange....
8
votes
1answer
75 views

Why is /questions API returning deleted questions?

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
2
votes
0answers
50 views

It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]

When we send this request: https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
1
vote
1answer
52 views

Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?

We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
3
votes
1answer
46 views

Same access token between different fetch_token requests

TL;DR: Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same? Scenario: An anonymous user authenticates with ...
1
vote
0answers
25 views

OAuth domain with a custom port in a dev environment?

I have an app for which the OAuth domain is example.com However, the domain for dev environment is example.com:8000 When trying to authorize the website, Stack Exchange replies with an error ...
-1
votes
1answer
31 views

Are the inbox routes (`inbox_item`) missing some item types?

Should there be more options for item_type in the "inbox" routes (they return inbox_item)? Shouldn't they return answer and edit suggested like the site's global inbox does? As shown in this ...
1
vote
0answers
17 views

Okay if our Internal Customer Service Software polls the Stack Exchange API?

We are in the process of creating a number of API's and extensible software which we expect will result eventually in questions being asked on stack overflow for working with our API's and extensible ...
2
votes
1answer
30 views

Authentication uses # instead of `?`?

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
0
votes
0answers
40 views

Is there an API method to retrieve a tags score/count between a certain date?

I'm trying to use the /tags/{tags}/info API but the tag will only work if I query its creation date. Is there any way to check its score/count between certain dates?
1
vote
1answer
53 views

Absence of `order` and `sort` in rest calls?

Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
1
vote
1answer
57 views

How to create API filters?

I used the following request link to extract data from the Stack Exchange API. But I have no idea how to create "filter" as used in the request line. Please help me understand the creation of such ...
1
vote
0answers
21 views

Add privilege_type to the privilege API results

In the /me/privileges, /users/{id}/privileges and /privileges APIs currently it returns the fields reputation, description and short_description. Sample result as: { "reputation": 1, "...
1
vote
1answer
47 views

Why is the `site` parameter required in `/me` call?

I want to query information about the logged-in user using me, and this site parameter is creating some small problems. I am developing a visual studio extension where upon logging in a user will get ...
2
votes
1answer
26 views

Why is `page` and `page_size` returned in common wrapper object?

page and page_size returned in common wrapper object, if I run /me/associated request. Why is it so? I am asking this because we have already sent these parameters as request. So getting the same ...
1
vote
1answer
29 views

`types=main_site` in `/me/associated` gives `meta_site` accounts also

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
2
votes
1answer
61 views

Why do you need to specify a site when getting the inbox?

I'm getting a user's inbox via /me/inbox. I am forced to specify a site with this, so I'm setting it to Stack Overflow. However, it still gets all my notifications, including those from other sites. ...
0
votes
1answer
39 views

How to get question body (markdown) in the API response using filters?

Using withbody filter as suggested in this thread (How to get Question/Answer body in the API response using filters?) returns body as HTML. How do I get the original markdown?
1
vote
0answers
28 views

How to get more details flags from questions?

Short question: How to get the flags that led up to a question being closed? When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see The ...
0
votes
0answers
19 views

Getting all the answers for a question in Py-StackExchange

How do I get all the answers for a question in Py-StackExchange? m=s.user(id) for i in range(0,len(m.questions.fetch()): print m.questions.fetch()[i].answers #returns [] even if answer ...
2
votes
1answer
116 views

Unable to decode HTML entities in the API response?

I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working. I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
3
votes
1answer
80 views

How can I get a user's Meta site details in the API call?

This query returns the details of the Main sites only:         /associated-users#ids=2855348 How can I get the Meta site details also in the same query? Do I need to add any ...
3
votes
1answer
41 views

Can I change my profile picture using the API version 2?

I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
4
votes
1answer
36 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
0
votes
1answer
43 views

Get users based on location?

I want to get site users by their location but I don't see any method for that. And it's not possible with a filter either. Is there any way to get users based on location or is it not possible?
1
vote
0answers
16 views

Where can I found all the type objects in the Stack Exchange API? [duplicate]

Where can I found all the type objects in the Stack Exchange API? In the docs, I can't find any section that lists all of them. I am trying to make a Wrapper Class in C#, so I need a complete list of ...
5
votes
0answers
42 views

Use HTTPS urls for site logos returned by the API

Currently, the API returns resources like this: "high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png", "favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
2
votes
0answers
68 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
1
vote
1answer
61 views

I want a python program example for more requests a day

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable ...
4
votes
1answer
49 views

Can I get information about a user with their network ID?

My network profile's ID is 4337810. Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...? There doesn't seem ...
2
votes
1answer
31 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
2
votes
1answer
49 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=...
3
votes
1answer
35 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
1
vote
0answers
20 views

Not getting a JSON response on authenticated API call? [duplicate]

through stackoverflow api , i trying to get user basic info like reputation etc. I am successfully getting access token but when i trying to get user info though https://api.stackexchange.com/2.2/me?...
0
votes
1answer
48 views

How to get all questions with a specific tag between certain dates

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
2
votes
1answer
25 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
2
votes
1answer
37 views

How to get the 10 most recent questions with accepted answers based on a given tag?

I am trying to figure out how to get the 10 most recent questions from the Stack Overflow site, that have been answered, based on a given tag (such as 'Java'). I looked at the documentation but I ...
2
votes
1answer
41 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 ...
2
votes
1answer
51 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 ...
3
votes
1answer
56 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 ...
5
votes
0answers
49 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 ...
4
votes
0answers
21 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 ...
3
votes
1answer
37 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 ...
4
votes
1answer
51 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&...
6
votes
1answer
236 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
91 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
25 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
49 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: https://api.stackexchange.com/questions?site=stackoverflow&sort=votes&...