Skip to main content

API Keys

The API Keys category configures third-party service integrations used for OSINT (Open Source Intelligence) and data enrichment. These API keys enable Hawkra to pull in external threat intelligence, vulnerability data, breach information, and search results to enhance your security assessments.

All API keys in this category are stored encrypted in the database and appear masked on the settings page. Click Change to enter or update a key.

API Keys configuration panel

Optional Keys

All API keys are optional. Features that depend on a specific key will display a message indicating the key is not configured when you attempt to use them. You can add keys at any time — no restart is required.

Settings Reference

Shodan API Key

Keyshodan_api_key
TypeString
DefaultEmpty
EncryptedYes

What it does: Shodan is an internet device search engine that indexes information about internet-connected devices, including open ports, services, banners, SSL certificates, and known vulnerabilities. Hawkra uses the Shodan API for host reconnaissance and network intelligence enrichment.

How to get a key:

  1. Go to shodan.io and create an account (free accounts are available).
  2. After logging in, navigate to My Account from the top-right menu.
  3. Your API key is displayed on the account page. Copy it.
  4. Paste it into the Shodan API Key field in the Hawkra admin dashboard.

Free tier: 100 queries per month. Paid plans are available for higher volume at account.shodan.io/billing.

HIBP API Key

Keyhibp_api_key
TypeString
DefaultEmpty
EncryptedYes

What it does: Have I Been Pwned (HIBP) is a breach notification service that aggregates data from publicly disclosed breaches. Hawkra uses the HIBP API to check email addresses against known data breaches, helping you assess credential exposure risk for users and targets.

How to get a key:

  1. Go to haveibeenpwned.com/API/Key.
  2. Purchase an API key. HIBP is a paid service — pricing is based on a monthly subscription.
  3. After purchasing, your API key is emailed to you and accessible from your HIBP account.
  4. Paste it into the HIBP API Key field in the Hawkra admin dashboard.

Pricing: HIBP API access requires a paid subscription. See haveibeenpwned.com/API/Key for current pricing.

GeoIP API Key

Keygeoip_api_key
TypeString
DefaultEmpty
EncryptedYes

What it does: GeoIP services map IP addresses to geographic locations (country, region, city, coordinates). Hawkra uses this for geographic intelligence, allowing you to visualize where your assets and threats are located geographically.

How to get a key:

Sign up with your preferred GeoIP provider and obtain an API key. Common providers include:

ProviderFree TierURL
ipinfo.io50,000 requests/monthipinfo.io
ipgeolocation.io1,000 requests/dayipgeolocation.io
ip-api.com45 requests/minute (no key needed for free tier)ip-api.com

Paste your chosen provider's API key into the GeoIP API Key field.

NVD API Key

Keynvd_api_key
TypeString
DefaultEmpty
EncryptedYes

What it does: The National Vulnerability Database (NVD) is the U.S. government repository of standards-based vulnerability data. Hawkra queries the NVD API to enrich vulnerability records with CVSS scores, references, and detailed descriptions. Without an API key, the NVD imposes a rate limit of 5 requests per 30-second window. With an API key, this increases to 50 requests per 30-second window.

How to get a key:

  1. Go to nvd.nist.gov/developers/request-an-api-key.
  2. Fill out the request form with your name and email.
  3. A confirmation email is sent with your API key.
  4. Paste it into the NVD API Key field.

Free tier: The NVD API is free to use. The API key simply increases your rate limit.

Brave Search API Key

Keybrave_search_api_key
TypeString
DefaultEmpty
EncryptedYes

What it does: The Brave Search API provides web search results used for threat intelligence enrichment and cyber security news aggregation. Hawkra uses it to pull in relevant news articles and contextual search results related to vulnerabilities and threats.

How to get a key:

  1. Go to brave.com/search/api/.
  2. Click Get Started and create an account.
  3. Navigate to your dashboard and generate an API key.
  4. Copy the API key.
  5. Paste it into the Brave Search API Key field in the Hawkra admin dashboard.

Free tier: 2,000 queries per month at no cost. Paid plans are available for higher volume.

Configuration via Environment Variables

SettingEnvironment Variable
Shodan API KeySHODAN_API_KEY
HIBP API KeyHIBP_API_KEY
GeoIP API KeyGEOIP_API_KEY
NVD API KeyNVD_API_KEY
Brave Search API KeyBRAVE_SEARCH_API_KEY
tip

If you are operating in an air-gapped environment without internet access, you can skip all API keys in this section. Hawkra will function without them — the features that depend on external APIs will simply be unavailable. All core vulnerability management, asset tracking, and collaboration features work entirely offline.