Questions tagged [api]

Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.

Filter by
Sorted by
Tagged with
2 votes
1 answer
54 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 ...
Jason Li's user avatar
2 votes
1 answer
52 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 ...
kenorb's user avatar
  • 173
2 votes
1 answer
390 views

Best strategies for calling the API with full throttling support?

I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
hippietrail's user avatar
2 votes
1 answer
167 views

Is there an easy way to get user reputation via API?

I am looking for an easy way to access user reputation so that I can write a small react component and display my rep on my portfolio site. I want to make this package available on NPM and have ...
Stretch0's user avatar
  • 123
2 votes
1 answer
364 views

Can I fetch Stack Overflow users by location in Stack Exchange API

I read the documentation and I know that I can get users' locations but I have not seen anywhere about querying by location. Does that mean that it is not possible? If it is possible, how? As an ...
Blasanka's user avatar
  • 121
2 votes
1 answer
91 views

Can the API Edit a Question, changing only one field?

The documentation for the edit question method (/questions/{id}/edit) is somewhat vague. Are all of the parameters required? For example, if the only field I want to change in the question is tags, ...
ashleedawg's user avatar
2 votes
1 answer
123 views

Area 51 sites api [duplicate]

Why does http://api.stackoverflow.com/1.1/usage/stackauth-methods/sites not list Area 51 (http://area51.stackexchange.com/)
umar's user avatar
  • 153
2 votes
1 answer
102 views

Pagination of users ordered by reputation

I know I can retrieve a page of users ordered by reputation using these apis: http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1 http://api.stackoverflow.com/1.1/users/...
Lorenzo Polidori's user avatar
1 vote
3 answers
215 views

What is the best way to provide support for an unknowable number of StackExchange sites?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
Jason's user avatar
  • 3,065
1 vote
1 answer
98 views

fromdate is ignored for /posts/{id}/comments requests

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less than ...
Nikita Rybak's user avatar
  • 1,271
1 vote
1 answer
108 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 = ...
Leni Ohnesorge's user avatar
1 vote
1 answer
153 views

How to increase the allowed number of API calls?

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
Anton's user avatar
  • 19
1 vote
1 answer
66 views

Typo in throttle violation error message

I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using). Anyway, I noticed there’s a small typo in the error message that’s ...
Mathias Bynens's user avatar
1 vote
2 answers
52 views

Is there a glossary of the properties returned in response to the Stack Exchange API?

While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
Water Cooler v2's user avatar
1 vote
2 answers
108 views

How to get the site name from document to pass to API?

Most APIs take a parameter site which must be set to the name of the site your queries are about. For meta.travel or travel. But of course sites have various names, for example gaming.stackexchange....
hippietrail's user avatar
1 vote
1 answer
97 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
Amal Murali's user avatar
1 vote
1 answer
65 views

Is the question_id monotonically increasing?

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
Alienfluid's user avatar
1 vote
1 answer
75 views

How to sort /questions/featured by bounty_closes_date

The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
kriegaex's user avatar
  • 121
1 vote
1 answer
376 views

Is there a SQL-like query for the API?

I've looked at the API docs. However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc). Example: data....
user3517546's user avatar
1 vote
1 answer
2k views

How to login programmatically on Android?

I think my question is not a duplicate of this one: How to login programmatically I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
Raynold's user avatar
  • 113
0 votes
1 answer
82 views

How to use the API to show the user reputation? [duplicate]

How do I use the Stack Exchange API to let my users enter their Stack Overflow URL and then extract their reputation and show it in a profile controller in Rails?
frustrateddeveloper's user avatar

1 2
3