Questions tagged [api-key]

Questions about the registration, management, and usage of API keys.

Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

How can I fix my API Key Problem when Installing https://github.com/glendsoza/goaround with git inside the CLI?

So when setting my API key I typed it in "export STACKOVERFLOW_APP_KEY="" But when I ran ./goaround I get "Something went wrong while calling API key These are the steps I used ...
Meaticus's user avatar
4 votes
1 answer
131 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://...
manubrio's user avatar
  • 181
2 votes
1 answer
266 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 ...
Halfbloodprincess's user avatar
3 votes
1 answer
116 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 ...
Enlico's user avatar
  • 197
5 votes
1 answer
349 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 ...
Raja Simon's user avatar
2 votes
1 answer
186 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 ...
Millicent Achieng's user avatar
6 votes
1 answer
130 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 ...
Glorfindel's user avatar
  • 6,762
-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 ...
Deepak's user avatar
  • 121
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?
bmargulies's user avatar
2 votes
1 answer
107 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?
bmargulies's user avatar
2 votes
1 answer
60 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 ...
jar's user avatar
  • 123
4 votes
1 answer
333 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 ...
KYHSGeekCode's user avatar
4 votes
0 answers
154 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 ...
Bob's user avatar
  • 286
2 votes
1 answer
70 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 ...
ivan_pozdeev's user avatar
1 vote
1 answer
137 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 (...
Rapunzel Van Winkle's user avatar
11 votes
0 answers
171 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 ...
user avatar
2 votes
1 answer
136 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&...
bmaupin's user avatar
  • 123
2 votes
0 answers
58 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 ...
Markus Kottländer's user avatar
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?
amit jha's user avatar
  • 842
0 votes
0 answers
92 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 ...
Nita's user avatar
  • 9
9 votes
1 answer
971 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?
user avatar
2 votes
1 answer
248 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 ...
singhswat's user avatar
  • 133
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 (...
Sasikanth's user avatar
  • 183
2 votes
1 answer
289 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-...
Sean Allred's user avatar
7 votes
1 answer
515 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 ...
11684's user avatar
  • 123
3 votes
1 answer
150 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.
Caio Cunha's user avatar
0 votes
2 answers
112 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....
itsme's user avatar
  • 115
6 votes
1 answer
243 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 ...
ceth's user avatar
  • 199
2 votes
1 answer
408 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 ...
hippietrail's user avatar
9 votes
1 answer
204 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 ...
hippietrail's user avatar
3 votes
1 answer
62 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 ...
Spontifixus's user avatar
5 votes
1 answer
154 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 ...
hippietrail's user avatar
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: ...
PeeHaa's user avatar
  • 315
20 votes
0 answers
183 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.
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
414 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 ...
Blank's user avatar
  • 103
2 votes
1 answer
234 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 ...
Bharanikumar's user avatar
6 votes
1 answer
214 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?
BG100's user avatar
  • 163
10 votes
0 answers
617 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 ...
Kevin Montrose's user avatar
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 ...
chanchal1987's user avatar
1 vote
1 answer
123 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 ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
396 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.
Felix's user avatar
  • 1,532
2 votes
2 answers
256 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 ...
Igor Zevaka's user avatar
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?
Soviut's user avatar
  • 3,333
3 votes
2 answers
109 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 ...
YOU's user avatar
  • 5,022
28 votes
0 answers
250 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 ...
user avatar
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
169 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 ...
YOU's user avatar
  • 5,022
8 votes
1 answer
457 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 ...
YOU's user avatar
  • 5,022
1 vote
1 answer
99 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?
YOU's user avatar
  • 5,022
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:...