Skip to main content
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
Results tagged with
Search options not deleted user 7653

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.

7 votes
Accepted

How to get total visited days and consecutives of an user?

You cannot get the days visited, nor consecutive, information for a user because that is private information(Poster is SE representative). Stack Exchange is supposed to be about the content, not the p …
cmbuckley's user avatar
  • 103
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? …
Community's user avatar
  • 1
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: …
Community's user avatar
  • 1
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 …
Brock Adams's user avatar
3 votes
Accepted

Suggested edit not returned by API

The API excludes (most) deleted data (usually). …
Brock Adams's user avatar
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. …
Brock Adams's user avatar
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). …
Community's user avatar
  • 1
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. …
Brock Adams's user avatar
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. …
Brock Adams's user avatar
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... …
Brock Adams's user avatar
11 votes
Accepted

Unable to get access token

Refer to the Stack Exchange API, Authentication docs. It looks like you are trying to authenticate using either a server you do not control, or a local server that is not on the public internet. …
Brock Adams's user avatar
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. …
Brock Adams's user avatar
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 …
Brock Adams's user avatar
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. …
Brock Adams's user avatar
2 votes
Accepted

How to get the number/count/total of tags/badges/something from the API?

The API /tags route , however, returns neither of these, as best as I can tell‡. (3 or 4 very recently orphaned tags being the exception). So the totals will not match up. … Likewise, the only zero count tag in the API is currently the featured tag, which is moderator only. …
Brock Adams's user avatar

1
2 3 4 5
8
15 30 50 per page