Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
140
votes
3
answers
30k
views
API "Hello World" code
The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON.
Let's say we wanted to call the /info method:
https …
30
votes
1
answer
1k
views
Announcing API version 1.1 and Roadmap
We've always said that we'll support anyone who builds on our platform, but I still want to emphasize that.
18 new methods have been added, 2 older methods have been revisited (their old versions still …
21
votes
5
answers
1k
views
Conscientious use of the API
What constitutes abuse?
Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use.
Guidelines for polling
We realize that a great many appl …
17
votes
How to see which users upvoted a question?
Purposefully not shown.
The potential for abuse is way too high.
16
votes
Accepted
sorting ascending vs descending
Dates increase as time advances, so 1293861600 (Jan. 1st 2011) is greater than 946706400 (Jan 1st. 2000). Thus, a descending ordering puts the most recent dates first.
Because sorting by dates is mu …
15
votes
4
answers
725
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 b …
12
votes
1
answer
361
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in …
10
votes
Accepted
Getting unauthorized_error when using OAuth2.0
The implicit flow uses the url https://stackexchange.com/oauth/dialog, not https://stackexchange.com/oauth.
You should just need to change the url, otherwise that looks correct.
10
votes
Accepted
Am I accessing the API correctly?
Try using JSONP instead of raw JSON; we just added support for the jsonp parameter. …
9
votes
Accepted
Registering app for API 2.0 key without Oauth domain
Yes, you can change very nearly everything (and actually everything that's user entered) about an application after it's been registered.
You should use the domain you intend to host the client-side …
9
votes
Accepted
Stack Exchange API not realtime?
Every response from the API can be cached for up to a minute, so making the same request multiple times in that time-frame typically won't return different results.
We make note of this in the thrott …
8
votes
Accepted
What are the min and max parameters?
Yeah... These are kind of complicated, but very flexible. They're also getting better docs soon-ish.
Basically, min & max are the range of the sorted results to return.
So, if you order a list of …
7
votes
Accepted
Is it safe to embed my API key into my javascript-only application?
Yes.
Your API key identifies your application for stat tracking purposes more-so than security purposes. It is safe to leave in a plain text, user readable, format.
7
votes
Add close-vote information to the questions object
I'll slot this in for v2.1, not super useful in general but definitely interesting information that we should make available.
6
votes
Accepted
What will be rate-limit of two different applications with two valid API keys from same IP?
An IP has a request quota, an application key is used to determine that quota.
In answer to your question, 10k.