The WordPress API key allows you to use different WordPress services. One such service is Akismet - one of the best antispam solutions available today.
To receive a WordPress API key, you should register at the official WordPress website. The key will be included in your welcome mail.
Once you have registered at WordPress.org, you will be able to see your API key by visiting the WP dashboard.