Title: API Key
Last modified: August 19, 2016

---

# API Key

 *  [sualdam](https://wordpress.org/support/users/sualdam/)
 * (@sualdam)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/)
 * If I am hosting my own blog, how do I obtain an API key to use with plugins?
 * If there is already an answer to this could someone please point it out to me?
   I have looked but cannot find anything specific.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [mikeaspatrick](https://wordpress.org/support/users/mikeaspatrick/)
 * (@mikeaspatrick)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898108)
 * Me too. I haven’t been able to find any way to get one so far.
 *  [marijked](https://wordpress.org/support/users/marijked/)
 * (@marijked)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898109)
 * I hate to be an echo, but me as well. I tried the “get API key” but it tells 
   me that my password is wrong.
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898112)
 * Hi, this has to be the most asked question on this forum, but its really easy
   to get one.
    1. Do you already have an account at wordpress.com [http://wordpress.com/](http://wordpress.com/)
   If you do, then the API key is in your profile. 2.if you don’t have an account
   simply sign up for one, you don’t need an additional free blog, just the account.
   [http://wordpress.com/api-keys/](http://wordpress.com/api-keys/) [http://faq.wordpress.com/2005/10/19/api-key/](http://faq.wordpress.com/2005/10/19/api-key/)
 * mike.
 *  Thread Starter [sualdam](https://wordpress.org/support/users/sualdam/)
 * (@sualdam)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898213)
 * OK, I have found the API key in a tiny line of text at the top of my dashboard(
   you other guys must have one also just by virtue of being able to log in to these
   forums).
 * I am trying to use WordPress.com Stats.
 * In spite of the blurb, it DID NOT ask for an API key – it just told me I needed
   one.
 * When I used the plugin editor to hardcode this into the stats.php page exactly
   where it asks you to, the ‘missing API key’ banner disappeared.
 * But when I try to access WordPress stats it says ‘Error from last API attempt
   missing API key’ and underneath ‘plugin
    -  is not working because it needs a WP.com account… An API key is present in
      the source code but it did not work.
 * It is cut-and-pasted and it is exactly right.
 * So what now???
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898254)
 * [@sualdam](https://wordpress.org/support/users/sualdam/)
    Please visit and read
   the links above. The API key is in the profile of a wordpress.com account. You
   don’t need to use the plugin editor for any hardcoding. mike.
 *  [chereen](https://wordpress.org/support/users/chereen/)
 * (@chereen)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898255)
 * If this helps. I used a plugin called tan tan noodle. Once you install this plug
   in it give you a start up screen on ur b;og with easy steps to follow
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898261)
 * LOL
 *  Thread Starter [sualdam](https://wordpress.org/support/users/sualdam/)
 * (@sualdam)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898342)
 * Mikey, my sides are splitting. Now, once we’re through being dead clever and 
   sarcastic, and showing how superior we are, read what I have written.
 * I have got the key. I downloaded WPStats and activated it. It DID NOT ASK FOR
   A KEY. I entered this via the plugin editor in the location it asks for.
 * In case you forgot, I am hosting my own blog on my own space.
 * When I go to the WPStats page of the plugin page it tells me there was an error
   with the last API attempt. It says it needs to be associated with a WP account(
   which it obviously is if I got the key via your previous advice). It says the
   key is present but didn’t work. It is EXACTLY the key that was tucked away in
   tiny text at the top of my account page.
 * No offence, but if you can’t help don’t reply. I really would like a solution,
   not further confusion.
 * If the problem is so common, point me to an answer that worked.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898343)
 * > _It DID NOT ASK FOR A KEY. I entered in via the plugin editor in the location
   > is asks for._
 * Then you did something wrong. You don’t need to put the key in via the plugin
   editor. Really.
 * First, remove and reinstall the plugin without your modifications.
 * Now, after you activate the plugin, you’ll find a new menu Under the Plugins 
   menu. It will be called WordPress.com stats or something similar. Click it to
   go to the configuration page.
 * There will be a place to put your API key (which you get from WordPress.com).
   Put it in there and click the save button.
 * That’s it. Simple.
 * If it still does not work, then perhaps your server does not allow outside connections.
   The plugin needs to connect to wordpress.com to verify your key. If it can’t 
   do that, then the plugin will not work.
 *  Thread Starter [sualdam](https://wordpress.org/support/users/sualdam/)
 * (@sualdam)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898345)
 * Thank you, Otto.
 * Apart from some stuff about already having registered, etc. that got it working.
 *  [mikey1](https://wordpress.org/support/users/mikey1/)
 * (@mikey1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898380)
 * [@sualdam](https://wordpress.org/support/users/sualdam/)
    I’d just like to take
   the time to clarify, I was most certainly not trying to be dead cleaver OR sarcastic,
   and as for being superior,NO you’re wrong again, I don’t pretend to know any 
   more than the average wordpress user. When I added my comment of LOL it was not
   in regard to your posting but to the previous postee chereen.
 * > If this helps. I used a plugin called tan tan noodle. Once you install this
   > plug in it give you a start up screen on ur b;og with easy steps to follow
 * Was that a helpful interjection ?
    Anyway it seems you got it working. Mike.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘API Key’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [key](https://wordpress.org/support/topic-tag/key/)
 * [self-hosted](https://wordpress.org/support/topic-tag/self-hosted/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 6 participants
 * Last reply from: [mikey1](https://wordpress.org/support/users/mikey1/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/api-key-27/#post-898380)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
