KWDens KWDens

API Documentation

Integrate KWDens keyword density data into your own tools and workflows.

Authentication

All API requests require an Agency plan and a valid API key. Include the key as a Bearer token in the Authorization header:

Authorization: Bearer kwdens_your_api_key_here

Generate API keys from your Account page. Keys are shown once on creation. Store them securely.

Rate Limits

API requests count against your Agency plan's monthly query quota (1,500 queries/month). Each API call consumes one query.

When the limit is exceeded, requests return 429 Too Many Requests with details about your usage.

Error Responses

401Missing, invalid, or revoked API key
403API access requires an Agency plan
429Monthly query limit exceeded
400Invalid request body (validation errors in details)

Endpoints

POST /api/v1/density/variants

Analyze variant density for a keyword. Returns estimated volume distribution across close keyword variants using Google Ads + Trends data.

Request Body

{
  "keyword": "project management software",
  "baseLanguage": "en"
}

Response

{
  "keyword": "project management software",
  "variants": [
    {
      "variant": "project management software",
      "groupedVolume": 12100,
      "estimatedVolume": 5800,
      "densityPercent": 48,
      "confidence": "High",
      "kwdensScore": 72,
      "trend3m": 5.2,
      "trend12m": 12.1
    }
  ],
  "hasMoreVariants": false
}

curl Example

curl -X POST https://kwdens.com/api/v1/density/variants \
  -H "Authorization: Bearer kwdens_your_key" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"project management software","baseLanguage":"en"}'
POST /api/v1/density/geographic

Analyze geographic density for a keyword. Returns search volume, CPC, and competition by country.

Request Body

{
  "keyword": "project management software",
  "countries": ["US", "GB", "DE", "FR", "IN", "BR", "JP"]
}

Response

{
  "keyword": "project management software",
  "countries": [
    {
      "country": "United States",
      "countryCode": "US",
      "volume": 33100,
      "cpc": 14.50,
      "competition": "High",
      "trend": 3.2,
      "kwdensScore": 65
    }
  ],
  "hasMoreCountries": false
}

curl Example

curl -X POST https://kwdens.com/api/v1/density/geographic \
  -H "Authorization: Bearer kwdens_your_key" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"project management software","countries":["US","GB","DE"]}'
POST /api/v1/density/languages

Analyze cross-language density. Returns semantic equivalents of your keyword in other languages with volume data.

Request Body

{
  "keyword": "project management software",
  "baseLanguage": "en",
  "targetLanguages": ["es", "de", "fr", "pt", "ja"]
}

Response

{
  "keyword": "project management software",
  "baseLanguage": "en",
  "equivalents": [
    {
      "language": "Spanish",
      "languageCode": "es",
      "equivalent": "software de gestion de proyectos",
      "country": "Spain",
      "countryCode": "ES",
      "volume": 8100,
      "cpc": 3.20,
      "competition": "Medium",
      "trend": 8.5,
      "kwdensScore": 68,
      "isOpportunity": true
    }
  ],
  "hasMoreLanguages": false
}

curl Example

curl -X POST https://kwdens.com/api/v1/density/languages \
  -H "Authorization: Bearer kwdens_your_key" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"project management software","baseLanguage":"en","targetLanguages":["es","de","fr"]}'

Need help? Contact us at kwdens@agentmail.to