Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
Ranjit's user avatar
  • 423
15 votes
1 answer
2k 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: ...
user34257's user avatar
  • 185
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
Andy's user avatar
  • 417
4 votes
1 answer
640 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
288 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
30 votes
1 answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate some ...
Kevin Montrose's user avatar
9 votes
1 answer
171 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
asheeshr's user avatar
  • 193
8 votes
1 answer
1k views

How can I quickly get an access token for personal use?

Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do? However, what if I do want an ...
Glorfindel's user avatar
  • 6,885
5 votes
1 answer
464 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 ...
m-a-r-c-e-l-i-n-o's 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
9 votes
1 answer
1k views

My registered apps are not showing in my profile; where can I find them?

I registered two apps in Stack Apps, but when I access my account, it shows no registered apps. How can I mark them as my apps and how can access app settings (client id, key), etc?
user avatar
4 votes
1 answer
75 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
288 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
3 votes
1 answer
169 views

How to access my App info

I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again. I've search through profile, at stackexchange.com but couldn't find it.
Caio Cunha's user avatar
2 votes
1 answer
156 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not real-...
zavié's user avatar
  • 203
20 votes
3 answers
485 views

Is there an API to upload images to SE's imgur installation?

Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely. Use case: It would be ...
Szabolcs's user avatar
  • 315
10 votes
1 answer
4k views

What exactly is a valid OAuth domain name for registering your app?

I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name? Is it the package name of my app? Or do I have to point it to a server ...
CodeRed's user avatar
  • 101
10 votes
1 answer
1k 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?
amit jha's user avatar
  • 842
5 votes
0 answers
541 views

Platforms Supported by the API and Response Compression

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
Kevin Montrose's user avatar
5 votes
2 answers
150 views

Prefered way to retrieve all search results

I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size). Looking at ...
Gilles 'SO- stop being evil''s user avatar
4 votes
1 answer
52 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
2 answers
253 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
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
361 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 ...
Hyeonseo Yang's user avatar
4 votes
1 answer
410 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
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
2 votes
1 answer
55 views

Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?

The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
Glorfindel's user avatar
  • 6,885
1 vote
1 answer
50 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).
amit jha's user avatar
  • 842
1 vote
1 answer
134 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
Bob Walsh's user avatar
  • 113
15 votes
4 answers
726 views

Version 1.0 released 9th of July

For a lot of us, that would be next Friday. At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release. There are no expected interface changes ...
Kevin Montrose's user avatar
13 votes
2 answers
620 views

Why is my API quota not resetting after UTC reset?

According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300. I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
jmort253's user avatar
  • 763
9 votes
1 answer
4k views

List all tags in use on stackoverflow

I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all. How do I do it?.
user avatar
9 votes
3 answers
235 views

Roadmap - any update?

So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
Jonathan.'s user avatar
  • 3,118
8 votes
2 answers
788 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
user avatar
7 votes
0 answers
119 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
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
5 votes
1 answer
734 views

Is it possible to authenticate a user through Stack Overflow API?

Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID? If it's possible: Can you tell me the method (s) that make this happen?
Sebastian's user avatar
5 votes
1 answer
56 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
hippietrail's user avatar
4 votes
1 answer
141 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
337 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,385
4 votes
2 answers
192 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
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
0 answers
106 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
1 answer
607 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
3 votes
1 answer
73 views

How can I get user links in the API call like Twitter, GitHub and so on?

I'm trying to get the user's user links from his profile. Like this person has GitHub and Twitter links on his profile. How can I get those?
Nerzid's user avatar
  • 145
3 votes
2 answers
258 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
tsudot's user avatar
  • 133
3 votes
0 answers
41 views

Call to search/advanced is treating tagged as an AND search, not OR [duplicate]

The docs for search/advanced (https://api.stackexchange.com/docs/advanced-search) have this to state about the tagged attribute: "tagged - a semicolon delimited list of tags, of which at least ...
Raymond Camden's user avatar
3 votes
1 answer
182 views

Will the new traffic measuring formula be available via the API as well?

From this MSO answer: stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula. ...
badp's user avatar
  • 945
3 votes
0 answers
170 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 ...
Denys Séguret's user avatar
3 votes
1 answer
254 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 ...
Abheeshta Putta's user avatar