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
4 votes
1 answer
307 views

Retrieving list of c# questions

I am trying to retrieve list of C# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#". But I get JSON response related to c questions. Response : { "...
Searock's user avatar
  • 248
4 votes
3 answers
311 views

Getting started: What kind of thing can we do with the SE-API that we can't do with the SE Data Explorer?

I want to know if my slender grasp of the latter will help me learn about the former.
Charles Stewart's user avatar
4 votes
1 answer
592 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 ...
Manish Bhanu's user avatar
4 votes
1 answer
131 views

Stack Overflow for Teams support

I am reading this documentation https://stackoverflow.help/en/articles/4385859-stack-overflow-for-teams-api where they mention the need to create a PAT to access StackOverflow for Teams API (https://...
manubrio's user avatar
  • 181
4 votes
2 answers
155 views

How can I retrieve the reputation I (or another user, fwiw) earned for a given tag from questions and answers?

(I've included the api-v2.3 because https://api.stackexchange.com/docs starts with Stack Exchange API v2.3.) From this answer I see there's no way to get all questions with a specific tag. However, ...
Enlico's user avatar
  • 197
4 votes
1 answer
300 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 ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
4 votes
2 answers
227 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
Rakesh Adhikesavan's user avatar
4 votes
1 answer
545 views

Creating personal applications using Stack Overflow/Stack Exchange API

I want to create an application to read Stack Overflow notifications on my device. My question: what should I provide in the OAuth Domain and Application website fields while registering the ...
user avatar
4 votes
1 answer
449 views

Refresh expired acess token basics

I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API. Using WebView, I'm able to retrieve an access token and store it in my shared ...
Marco Pierucci's user avatar
4 votes
1 answer
90 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
96 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
283 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: https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
Zigii Wong's user avatar
4 votes
1 answer
51 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: api.stackexchange.com/2.2/tags?order=...
EntityPaul's user avatar
4 votes
1 answer
108 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?
Anuraj's user avatar
  • 145
4 votes
1 answer
1k views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
Ionică Bizău's user avatar
4 votes
2 answers
430 views

Is Stack API blocking Yahoo YQL services?

I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups. Unfortunately, it ...
Alexandre Rafalovitch's user avatar
4 votes
1 answer
66 views

How do I see the differences between two or more SE API filters and merge into a filter which includes all requested properties (i.e. is a superset)?

For SmokeDetector, we have several SE API filter values in use. Notably, there are separate filters for the /answers/*, /questions/* and /posts/* routes. From an organizational standpoint, I'd like to ...
Makyen's user avatar
  • 1,615
4 votes
1 answer
95 views

How to get a list of all StackExchange employees?

For a particular userscript feature, I need to get a list of all Stack Exchange employees. The list would be updated every day (per SE website). What is the most efficient way to do so? I looked at ...
Gaurang Tandon's user avatar
4 votes
1 answer
51 views

Can we find the time of a vote using the API?

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
4 votes
1 answer
359 views

My filter is not returning any results. How to create a minimal filter?

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
ashleedawg's user avatar
4 votes
1 answer
649 views

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

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?
Gajus's user avatar
  • 163
4 votes
1 answer
77 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 ...
canadiancreed's user avatar
4 votes
1 answer
66 views

Syntax for Adding a Question as a Favorite?

I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via: /2.2/questions/{id}/...
Emmett's user avatar
  • 43
4 votes
1 answer
287 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
Ionică Bizău's user avatar
4 votes
1 answer
157 views

what should be the duration between each call to stackoverflow api for getting new questions?

I have a desktop app which pings stackoverflow api after every 2 mins to get the new questions.?
Zain Shaikh's user avatar
4 votes
2 answers
337 views

Are there more implementation samples with Stack Exchange API 1.0? How could this API useful to me or my users?

I'm looking at how the Stack Exchange API could be useful in my site. Is it fair to say I am in read-only mode when I search for results? What is some envisioned use-case scenarios for this? I ...
makerofthings7's user avatar
4 votes
1 answer
108 views

Is there an RSS feed or question that has API changes?

Is there someplace that we can find notifications of API changes? I noticed today that a new property has been added to user along with a couple new method (and maybe other changes). Is there an ...
Dan McClain's user avatar
4 votes
1 answer
96 views

How can I implement a method to call the SE API that handles backoff correctly?

I'm writing JavaScript (Node.js) code that calls the Stack Exchange API. One part of the API is that it may return a non-zero value for backoff, which essentially means "wait n seconds before ...
cocomac's user avatar
  • 468
4 votes
1 answer
143 views

How to use /me to display my profile data in StackExchange API?

So I'm able to use API calls like: https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow to display a list of questions. This is easy as it ...
noogui's user avatar
  • 165
4 votes
1 answer
72 views

What API do I call to measure popularity growth for specific tags over time?

I believe I can use the Stack Exchange API to get total questions that fit chosen tags. I have an example I wrote myself here:           data.stackexchange.com/stackoverflow/...
Kim Stacks's user avatar
4 votes
1 answer
88 views

How to use shallow_user?

I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ? I tried: https://api.stackexchange.com/2.2/shallow-user/2765346/...
Hristo Eftimov's user avatar
4 votes
1 answer
137 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 ...
Arulkumar's user avatar
  • 578
4 votes
1 answer
76 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
1 answer
71 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 ...
halfer's user avatar
  • 293
4 votes
1 answer
202 views

API ignores jsonp callback after initial request - erroneous caching?

This bug is still prevalent, appears to be cache related. Two identical requests return different data: first request respects jsonp query parameter, all subsequent requests ignore it until (I presume)...
Andy's user avatar
  • 143
4 votes
1 answer
65 views

API 'search' method with 'min' parameter

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date: http://api.stackoverflow.com/1....
Nikita Rybak's user avatar
  • 1,271
4 votes
2 answers
93 views

Document fields that may be not be included in responses

I'd like to see documentation on what fields may not be included in responses or, alternatively, which fields are guaranteed to be included. Currently it's a little confusing because some fields may ...
ColinD's user avatar
  • 369
4 votes
1 answer
86 views

Is there a way to fetch my flag quota?

I would like to stop flagging when I start running low on flags. Is there any way the API can tell me not only the flag options, but also whether I have any flags left and if so how many?
Dharman's user avatar
  • 493
4 votes
1 answer
333 views

Getting an API key for an application without a server

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server. How can I fill out the form required ...
KYHSGeekCode's user avatar
4 votes
1 answer
883 views

Wrong content-type in JSONP calls

When passing jsonp parameter, the API returns "application/json" instead of "application/javascript". I found this because if you do: <script src='http://api.stackoverflow.com/1.0/badges?jsonp=...
Pablo Fernandez's user avatar
4 votes
2 answers
2k views

What is the throttle interval or threshold?

Resolution: I have confirmed that a constant interval of 170 ms will run without error. // 30 per 5 sec = 6 per sec = interval 166.6 ms Soapi.RequestQueue.setInterval(170); Soapi....
Sky Sanders's user avatar
  • 12.1k
4 votes
1 answer
145 views

AND searching for tags?

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search. The questions search for tags is an ...
johnwards's user avatar
  • 465
4 votes
0 answers
66 views

Get total question views via API

I can currently get the total number of questions for a tag by using the total filter. This works well, but I'd like to get a total views count for the questions in that tag. I could iterate over each ...
Raymond Camden's user avatar
4 votes
0 answers
154 views

Can we specify more than one OAuth Domain?

I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code. Chrome provides an identity API for OAuth2, and so does ...
Bob's user avatar
  • 286
4 votes
0 answers
53 views

Can I ask the API to tell me to back off? [duplicate]

I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
Sean Allred's user avatar
4 votes
0 answers
90 views

How can I get unread messages for inbox testing? [duplicate]

I use /users/{id}/inbox/unread method to get unread items in a user's inbox. But how could I test it if I have no unread items in my inbox? How can I get/generate unread messages for testing? P.S. ...
LA_'s user avatar
  • 161
4 votes
0 answers
56 views

API response doesn't indicate the nature of a rejected question POST

I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data. When I do this on ...
Besi's user avatar
  • 533
4 votes
0 answers
60 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
4 votes
0 answers
101 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . '/...
user avatar
4 votes
0 answers
601 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
art's user avatar
  • 141

1 2
3
4 5
10