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 |
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.
4
votes
503 errors on batch get questions endpoint
So, you are making up to 150 requests in a 30 second period (10 "parallel requests", with a 2 second pause in between). And failing at 80 to 100+ seconds of operation and 400 to 500 total requests?
…
2
votes
Accepted
Please provide an API "flair"-data call (`/associated` route is inadequate)
A unified call would be nice, but everything you asked for falls into one of 3 categories:
It's already in the users/{ids}/associated call.
It's trivially easy to calculate in the app or script. EG: …
3
votes
Accepted
Is there any way or script to sort questions/posts/answers with custom criteria?
You can filter (not sort) questions (and to some extent answers) by using the /search/advanced route of the API.
The q parameter allows most of the Advanced Search Options. … Is there a SQL-like query for the API?
How to search answers like is:answer …
3
votes
Accepted
Suggested edit not returned by API
The API excludes (most) deleted data (usually). …
2
votes
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending...
This way old answer about API version 1, has the lead developer saying:
Because sorting by dates is much more common than by name, ordering is descending by default. …
1
vote
How to get access token from the hash?
Refer to the API Authentication docs; there are a great many things wrong with the URL in the question (at least 5). …
1
vote
Accepted
How to search ALL sites with the advanced API?
To implement this usually would mean that a supporting method would be added to the API. This feature-request has been ignored. … Use some third-party search API, like the DuckDuckGo Instant Answer API. …
1
vote
Is there a SQL-like query for the API?
No there is no "Query API", especially not for SQL-like syntax. … For large and rapidly changing data, fetch the base from SEDE and/or heavily cache it, and then use the API to only fetch what's changed since the last cache or SEDE update. …
5
votes
Please "release" and/or document API version 2.3
Anyway, in Jan 2017 the (former) API developer, Brian Nickel, said:
There's no timeline yet for new features (and API backing them), just focused getting the app working. … Given that that was before API devs got switched to "Developer Affinity & Growth" (DAG), per the answer you linked, it may be a while before we can see anything official on the next API release... …
1
vote
Is it possible to create a private Q&A site using the Stack Exchange API?
Teams do have API support, although it is read-only at the moment. …
2
votes
Accepted
I have created a lot of access_token with no_expiry scope while experimenting. How do I dele...
This is what the /apps/{accessTokens}/de-authenticate route does.
Passing valid access_tokens to this method causes the application that created them to be de-authorized by the user associated wit …
1
vote
Accepted
The API is not returning a value that I know it should
The API results are paged, defaulting to 30 (base) records at a time.
So you need to always check the has_more property and fetch additional pages, if needed. …
3
votes
How to query the Stack Exchange API using an OR operator?
The API currently does not support this, but then neither does the website itself.
The "How do I search?" … The API equivalents (one, two, three) give the same results. …
3
votes
Accepted
Cannot get redirect_uri to work
There have been no reported changes to the API, officially for many years, (unofficially since January).
But, frankly that script's approach should have never worked. … ‡
For the Stack Exchange API, this URL is: https://stackoverflow.com/oauth/login_success. …
1
vote
Can the API Edit a Question, changing only one field?
error_message": "title", "error_name": "bad_parameter"
Or
"error_id": 400, "error_message": "body", "error_name": "bad_parameter"
(Emphasis added)
Note that I just edited the question, above, via the API …