YepAPI
Domain Analysis

Domain Keywords

Get every keyword a domain ranks for with positions, search volume, CPC, and landing URLs.

POST/v1/seo/domain/keywords
$0.04/call

Usage

const res = await fetch('https://api.yepapi.com/v1/seo/domain/keywords', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ domain: 'stripe.com', limit: 100 }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/seo/domain/keywords \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "stripe.com", "limit": 100}'

Request Body

ParameterTypeRequiredDescriptionDefault
domainstringYesDomain to analyze (without protocol, e.g., "stripe.com")
limitnumberNoMaximum number of keywords to return100
location_codenumberNoTarget country code (e.g., 2840 for US). See Location Codes.2840
languagestringNoISO language code (e.g., en, es)"en"

Response

{
  "ok": true,
  "data": [
    { "keyword": "stripe", "position": 1, "searchVolume": 450000, "cpc": 8.5, "url": "https://stripe.com" },
    { "keyword": "payment gateway", "position": 3, "searchVolume": 74000, "cpc": 12.3, "url": "https://stripe.com/payments" }
  ]
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.domainstringThe domain that was analyzed
data.totalKeywordsnumberTotal number of ranking keywords found
data.keywordsobject[]Array of keyword ranking results
data.keywords[].keywordstringThe keyword the domain ranks for
data.keywords[].positionnumberCurrent organic position in search results
data.keywords[].searchVolumenumberEstimated monthly search volume
data.keywords[].cpcnumberAverage cost-per-click in USD
data.keywords[].urlstringURL of the ranking page on this domain
data.keywords[].trafficnumberEstimated monthly organic traffic from this keyword
Under the Hood

Under the hood, this queries our SEO data engine for all organic keyword rankings of the specified domain. We normalize positions, volumes, and URLs into a clean response format.

On this page