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 29529

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.

3 votes

What are the rules for Discord bots posting to Stack Exchange?

There are substantial issues. Legal The first would be the legal issues regarding content ownership/copyright, licensing, etc. There are a variety of ways you might set up the bot, but all of them hav …
Makyen's user avatar
  • 1,658
1 vote

Writing question API failing with error 407

The error message appears mostly self-explanatory as to which rate limit you are running into. The text "You can only post once every 90 minutes." is quite clear that you can only post one question ev …
Makyen's user avatar
  • 1,658
2 votes
Accepted

How to revoke an access token generated for my application?

Access tokens should never be shared. Access tokens should never be shared with other people. Access tokens represent your account paired with the application. The access token should be protected equ …
Makyen's user avatar
  • 1,658
3 votes
Accepted

Differentiate Staging Ground posts from regular questions

The SE API already distinguishes Staging Ground questions from public questions. In the 2.4 version of the SE API, which is the version you need to use in order to deal with the Staging Ground, both t …
Makyen's user avatar
  • 1,658
3 votes
Accepted

How do I see the differences between two or more SE API filters and merge into a filter whic...

To make it easier to merge filters, I wrote the following snippet. The detailed differences between each two filter combinations are a bit unwieldy to display in the snippet space, so they are output …
Makyen's user avatar
  • 1,658
3 votes
Accepted

Is there a way to get a user's account ID given his site's user ID?

The 2.3 SE API has a account_id property on the shallow_user object, which is the user's SE account ID, so you can get the user's SE account number from any request which returns that object as part o …
Makyen's user avatar
  • 1,658
1 vote
Accepted

If a client authenticates, will API requests be counted on their profile?

If you are using an access_token in a request to the SE API, then the quota which that request is counted against is the 10k requests/day for that user+application pair. Each user can have up to five …
Makyen's user avatar
  • 1,658
4 votes
1 answer
76 views

How do I see the differences between two or more SE API filters and merge into a filter whic...

For SmokeDetector, we have several SE API filter values in use. Notably, there are separate filters for the /answers/*, /questions/* and /posts/* routes. From an organizational standpoint, I'd like to …
Makyen's user avatar
  • 1,658
0 votes

How to Resolve "Applications must have a registered Stack Apps post to write" Error when Req...

As is stated in bold in the documentation: Apps must have a registered Stack Apps post to write. In order to have write access to the SE API, your application/script/library needs to have associated …
Makyen's user avatar
  • 1,658