Questions tagged [api-key]
Questions about the registration, management, and usage of API keys.
54 questions
3
votes
1
answer
56
views
Do I need to be working on an app to get the API key?
I want to use the API, and I want the higher query limit (I want to scan my inbox every five minutes and then text me the results), but I don't want to have to release an app.
Can I get an API key ...
4
votes
1
answer
155
views
Stack Overflow for Teams support
I am reading this documentation https://stackoverflow.help/en/articles/4385859-stack-overflow-for-teams-api where they mention the need to create a PAT to access StackOverflow for Teams API (https://...
2
votes
1
answer
318
views
How can I retrieve more than 25 pages from the Stack Exchange API v2.3?
I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100).
The ...
3
votes
1
answer
130
views
What's the relation between access_token, key, quota_max, and throttling?
From How API Keys Work (FAQ) I read that the limit of requests per day per IP is 300 without a registered key, or 10000 with it.
And this is what I see by experimenting myself: since I've not ...
5
votes
1
answer
394
views
How to solve bad_parameter error?
I'm trying to make the Stack Exchange API request using the key provided by Stack Apps. But whenever I try it always throws the below error.
{'error_id': 400, 'error_message': "key doesn't match a ...
2
votes
1
answer
301
views
How to pass `key` as header value instead of as query params?
I would like to use my API Key in the header as opposed to as a query parameter.
In Stack Overflow Enterprise, I pass the value as X-API-Key in the headers. This does not work for the public Stack ...
6
votes
1
answer
135
views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
-1
votes
1
answer
1k
views
Why and how to make use of API key and credentials Stack Overflow API? [duplicate]
I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
1
vote
0
answers
21
views
How can I look up an existing application registration? [duplicate]
I registered for a key, and I have the key and client ID, but I'd like to check the rest of the data I entered since I neglected to save it. Is there a UI somewhere to see what I did?
2
votes
1
answer
113
views
Can I make a Private Application?
I wish to access the API from a purely internal application; no visible app to the public, no promotion, no OAuth. That seems impossible via the key registration form; am I missing something?
2
votes
1
answer
63
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
4
votes
1
answer
361
views
Getting an API key for an application without a server
When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.
How can I fill out the form required ...
4
votes
0
answers
164
views
Can we specify more than one OAuth Domain?
I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code.
Chrome provides an identity API for OAuth2, and so does ...
2
votes
1
answer
75
views
Using the API for one-off batch jobs
I'm considering using the API for a retag job not supported by existing tooling as per this meta post (of course, I'll make sure the community supports the effort before going forward).
I'm planning ...
1
vote
1
answer
144
views
Is it okay to just send the API key (without implementing oauth-2 login)?
I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
11
votes
0
answers
175
views
Provide a way to reset - not invalidate - API tokens
I'm running a service with ~300 write-authenticated access tokens. It's terrifying.
As part of running such a service, I'd like to be able to cycle API tokens - so that if, heaven forbid, one made an ...
2
votes
1
answer
137
views
bad_parameter when using key with todate?
I'm having trouble using my API key with the todate parameter. My query works fine with todate:
$ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
2
votes
0
answers
60
views
How to develop without api key [duplicate]
I just started a new project in which I want to use the Stack Exchange API. I will need users to authorize the app to read e.g. their favorited tags. Therefore I need an API key, so I have to register ...
10
votes
1
answer
1k
views
How to delete apps in StackApps?
I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
0
votes
0
answers
97
views
How to make unlimited requests to API [duplicate]
I wanted to make unlimited call to the API to retrieve/update the threads. Is there any way to do so?
I understand
"Without a key you can make 300 requests per day, with a key you can make 10,000 ...
9
votes
1
answer
1k
views
My registered apps are not showing in my profile; where can I find them?
I registered two apps in Stack Apps, but when I access my account, it shows no registered apps.
How can I mark them as my apps and how can access app settings (client id, key), etc?
2
votes
1
answer
253
views
C# Stackexchange Questions API [duplicate]
I need to build an web application C# and below is what I'm stuck with
Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose.
I wish to get the ...
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
2
votes
1
answer
298
views
Does the API key need to be kept secret?
For a project of mine, I need to know if I need to keep the API key secret or not.
If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and byte-...
7
votes
1
answer
550
views
No website (yet), how to register?
I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
3
votes
1
answer
169
views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again.
I've search through profile, at stackexchange.com but couldn't find it.
0
votes
2
answers
113
views
Ajax get questions by tags ERROR
i'm trying getting questions by tags.
this is my simple code and i'm running this from my http://localhost:
<script type="text/javascript">
$(function(){
$.ajax({
url:'http://api....
6
votes
1
answer
255
views
Get Key for my application
I am creating Stack Overflow client application and have reach limit to request. So I decided to get the Key from my application, but got a little confused.
When I requested the Key I provided ...
2
votes
1
answer
482
views
Are "api-key" and "app-key" the same thing?
When tagging my last couple of questions about registering for a key, I noticed there are two similar-looking tags:
api-key - 35 uses and a tag wiki
app-key - 10 uses (Update: retagged), no ...
9
votes
1
answer
212
views
What to do with "OAuth Domain" in the registration page for a browser user script?
I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use.
My project is a browser userscript that works with ...
3
votes
1
answer
63
views
How to register a wordpress plugin
I am about to implement a wordpress plugin to include some of your information in a wordpress blog. In the first version this plugin will display a very limited set of profile information, in further ...
5
votes
1
answer
165
views
Do the terms "key" and "access_token" refer to the same thing?
I'm trying to get my head around all the limits and throttles but some terminology is confusing me:
If an application does not have an access_token, then the application shares an IP based quota ...
16
votes
1
answer
1k
views
Registering app for API 2.0 key without Oauth domain
I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now.
I basically have two questions:
...
20
votes
0
answers
206
views
How to delete an OAuth (2.0) API key?
I created a couple of extra keys I don't need. Can I delete them? I don't see an option anywhere in the list or on the page for the key itself.
0
votes
1
answer
416
views
Getting API hits remaining
Probably having a brain fart, but I couldn't see a way to get the number of API hits remaining. I know that the limit is 10k per day (I'm using an API key) but because of hte way my app works it would ...
2
votes
1
answer
241
views
Integrating API into Drupal?
I successfully registered for an API key. What should I do now?
I have installed Drupal. Is there any sample/notes on how to proceed with accessing the API from the application so I can get to ...
6
votes
1
answer
219
views
Does a registered stack apps application have to be a website?
If I've created an application that is not a website, can I still register it and get a key?
10
votes
0
answers
626
views
Separate Request Quotas for Authorized [app]s
Imagine, if you will, you have a popular [app] hosted on a cloud computing service which is also used by a number of other [app]s. If this service forces clients to share IPs (and they all do, in ...
6
votes
2
answers
1k
views
How to protect API Keys?
I want to develop an Open Source Project with Stack Exchange API. So I have to publish the API key there. But a single IP address can only make a certain number of API requests ...
1
vote
1
answer
124
views
Confusion over my API key
This is directed at the team, since nobody else will be able to help.
The key I took out for StackMobile is behaving strangely. I make a few requests, and then the limit resets to 0. (By limit, I'm ...
2
votes
1
answer
398
views
What to do with API keys if our project is open-source?
Is it OK to share the key in our source? Someone could just pick it up and use it for other purposes.
2
votes
2
answers
261
views
Do I need API key to use StackAuth API?
StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request.
At this stage I am passing my API key just ...
7
votes
1
answer
1k
views
Is it safe to embed my API key into my javascript-only application?
I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
3
votes
2
answers
113
views
What will be rate-limit of two different applications with two valid API keys from same IP?
What will be the effective rate limit of two different applications with two valid API keys from the same IP address?
Will it be whatever only one of the keys can use? So maximum 10k?
Will rate-limit ...
28
votes
0
answers
258
views
Deleting an application key? [duplicate]
There should be delete buttons on stackapps.com/apps https://stackapps.com/apps/oauth/ so we can delete API-keys.
Or at least de-activate them? I mean, cancelled projects, etc...
A deletion button ...
4
votes
1
answer
101
views
Creation of an API 'about' method for the application key being passed
Hi there!
Because the API uses a key, I'd like to ask if a request can be created so that, on application start (and, during runtime), you can ask whether your key is valid, and get back information ...
2
votes
1
answer
171
views
Don't allow requests with No Key to use existing session with valid API Key
Once I did a request with a valid API key
http://api.stackoverflow.com/0.8/stats?key=MYKEY
Every requests (from that IP) later on without key will use existing session with API key, limit counter ...
8
votes
1
answer
468
views
API Key limit 10k is Per IP Address or Globally?
Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key.
When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
1
vote
1
answer
105
views
Can the no-key request limit be increased to 1000 for a certain amount of time?
Can the no-API-key request limit be increased to 1000 for a certain amount of time - maybe 1-2 weeks?
48
votes
0
answers
7k
views
How API Keys Work (FAQ)
What are the API request limits?
A single IP address can only make a certain number of API requests per day, depending on the presence of a valid API key.
Default API daily limits:
Key: 10,000
No Key:...