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.
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 …
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 …
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 …
2
votes
Accepted
Maximum tag name length?
Tags on the sites are, at most, 35 characters.
Permitted characters are a-z 0-9 + # - .
However, this is not part of the API contract insofar as if the site definition of a tag changes so will the API …
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 …
5
votes
0
answers
537
views
Platforms Supported by the API and Response Compression
The API does support the jsonp parameter for cross-domain requests.
Why is GZIP support required?
GZIP is 17 years old, and has been part of the HTTP 1.1 standard for 11 years. …
2
votes
Accepted
Can you identify a user from the access_token?
The /me/associated routeDoc is the preferred way to turn an access_token into a list of users, it returns the collection of per-site user details that can be quickly fetched. It's basically the user' …
2
votes
"access_denied" error in the write answer at stackoverflow
You have to create a post describing your application, and edit it into your application's registration.
Basically, the first arrow needs a value; and you can set it when you edit (with the second …
5
votes
Accepted
Is there any support for Area 51 in the new API?
No, Area51 isn't in the API; it's different enough from the Q&A sites that it'd have to have a rather different one anyway.
There are currently no plans to make an Area51 API either.
3
votes
Accepted
Receiving error "Unexpected domain on proxy URL"
Your apps registered domain must match that the url passed as channelUrl.
You'll need to update your app's domain from actionbox.io to cybertron-nodejs-11139.apse1.actionbox.io (or whatever other ful …
3
votes
Accepted
Whatever happened to closed_reason?
Fun one.
Changes behind the scenes to how closed reasons are handled caused the API to stop getting a real reason and start getting a null one. This was just different enough from failing to get a r …
2
votes
Accepted
Ability to sort answers by number of revisions via StackExchange API v2?
This isn't possible and isn't likely to be added.
Post history is by a good clip the largest chunk of data in the system. Regularly sorting by it would be prohibitively expensive on the sites themsel …
3
votes
Accepted
How do I find all questions/answers per a tag?
/questions take's a semi-colon delimited list of tags in the tagged parameter. If tagged is set, questions returned will have all the passed tags (ie. it's an AND operator).
https://api.stackexchang …
1
vote
Accepted
Get my profile information after authentication
Your app's key can be found by clicking "manage your applications" in the sidebar on the homepage of Stack Apps, then clicking the app's name.
Here's what the key looks like for the documentation con …