Hot answers tagged

13 votes
Accepted

How to make a Stack Exchange API call, using my key

It's pretty simple, you just append your key to the URL as a parameter. For example, looking for users 1 and 5: http://api.stackexchange.com/2.2/users/1;5?site=stackoverflow&key=YOUR_KEY_HERE So,...
user avatar
  • 12.6k
11 votes
Accepted

How to delete apps in StackApps?

You cannot do this. A delete feature has been requested and requested again (with status-planned given about 3.5 years ago). Register your desire for this by immediately upvoting these posts: ...
user avatar
  • 12.6k
11 votes
Accepted

My registered apps are not showing in my profile; where can I find them?

You can see your apps, that you registered with the registration page, by going to: stackapps.com/apps/oauth This page is different for every user and you will be forced to log-in to see it. The ...
user avatar
  • 12.6k
6 votes

Does a closed and/or deleted Stack Apps post still provide access to the API?

I've just done a couple of tests with my placeholder app. Even though the question is closed, I was able to generate a new access token (following the regular procedure) for my sockpuppet account, and ...
user avatar
  • 5,265
5 votes
Accepted

No website (yet), how to register?

Reference: Stack Exchange API Authentication Looking for a beginner's tutorial to using the API Yeah the registration form now says, "Website URL is required". So, if you don't have your own ...
user avatar
  • 12.6k
2 votes
Accepted

Are "api-key" and "app-key" the same thing?

Answer: Yes they are the same. Officially now, since app-key was made a synonym of api-key.
2 votes
Accepted

I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?

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 with ...
user avatar
  • 12.6k
2 votes
Accepted

What's the relation between access_token, key, quota_max, and throttling?

Without a key the daily quota per IP-address is 300. With a key the daily quota per IP-address is 10,000. With an access_token and key (you can't use an access_token without a key) the daily quota per ...
user avatar
  • 1,780
2 votes
Accepted

How to solve bad_parameter error?

When copying the application key, please keep in mind that the parentheses are actually part of the key, even if they are the only non-alphanumeric characters in it:
user avatar
  • 5,265
2 votes
Accepted

bad_parameter when using key with todate?

This is status-bydesign. From the Date Formats doc page: For convenience when doing ad-hoc queries without a key an alternative date format is accepted: YYYY-MM-DD HH:MM:SS, where the hour, minute,...
user avatar
  • 12.6k
1 vote
Accepted

How can I retrieve more than 25 pages from the Stack Exchange API v2.3?

Simply using an API key is enough to increase your quota from 300 to 10,000 per day, but it does not qualify as non-anonymous access. The maximum page number that will be returned for anonymous API ...
user avatar
  • 5,265
1 vote
Accepted

Can I make a Private Application?

Not only is that possible, but we do it all the time. No one can see the apps you register at stackapps.com/apps/oauth/register except you (and the SE devs). If you don't need OAuth, then you can ...
user avatar
  • 12.6k
1 vote
Accepted

C# Stackexchange Questions API

You can use the API without a key, you'll just have lower limits without it. From the application registration form: Upon registering, you'll be provided an API key which grants your app a much ...
user avatar
  • 196
1 vote
Accepted

Getting an API key for an application without a server

You don't need a server to get an API key, or even to use OAuth2. Set OAuth Domain to: stackexchange.com, and Application Website to: https://stackapps.com/. See this other answer for more ...
user avatar
  • 12.6k
1 vote
Accepted

Using the API for one-off batch jobs

I think you can just create an app and mark it as a placeholder. Those are for apps that don't quite work yet, but need a registered Stack Apps post for testing. Incomplete posts are allowed for ...
user avatar
  • 5,265
1 vote
Accepted

Is it okay to just send the API key (without implementing oauth-2 login)?

Yes, it is perfectly okay. You only need an access_token (OAuth/login) if you are trying to change data, or are accessing private information for a logged-in user. See the Authentication docs for ...
user avatar
  • 12.6k
1 vote
Accepted

What to do with "OAuth Domain" in the registration page for a browser user script?

You're right, this is not very well documented. OAuth Domain is the domain of the URL where users are redirected after authenticating themselves. You specify this URL in redirect_uri parameter of your ...
user avatar
  • 126

Only top scored, non community-wiki answers of a minimum length are eligible