“API: organic_keywords”

Lists the keywords a domain, path or specific URL ranks for in Google’s index for a given market.

  • Cost: 1 API credit per successful call.
  • Module: Competitors (Competitor analysis)
  • REST endpoint: POST https://api.ranki.co/v1/organic-keywords

What it’s for

organic_keywords lets you reverse-engineer the organic traffic of any competitor or your own project. It shows exactly which terms are driving visits to the website, the specific URL ranking for each term, its monthly volume, its current position in Google and the estimated traffic it brings in.

You can also narrow the query to the full domain (domain), a subfolder (path) or an exact URL (url).


API parameters

  • Operation: organic_keywords
  • Parameters:
ParameterTypeRequiredDefaultDescription
domainstringYes–Target domain, path or URL (e.g. "allbirds.com" or "allbirds.com/collections").
locationstringYes–Country or market name (e.g. "United States").
pageintegerNo1Page number (returns 50 results per page).
keyword_typestringNo"organic"Result type: "organic" or "paid".
order_bystringNo"etv-desc"Sort order: "etv-desc" (highest estimated traffic first), "vol-desc" (highest volume), "pos-asc" (best positions first).
domain_filterstringNo"domain"Scope: domain, path or url.
keyword_filter_text / keyword_filter_containsstringNo– / regexUI keyword filter (before pagination).
ok_min_pos / ok_max_posintegerNo–Position range.
kw_min_vol / kw_max_volintegerNo–Volume range.
kd_min_difficulty / kd_max_difficultyintegerNo–KD range.
url_filter / url_filter_typestringNo– / likeURL filter (ignored if domain_filter=url).
serp_features / serp_features_containsarray / stringNo– / likeSERP features include/exclude.

Endpoint

POST https://api.ranki.co/v1/organic-keywords
Authorization: Bearer rk_TU_CLAVE_AQUI
Content-Type: application/json

{
  "domain": "allbirds.com",
  "location": "United States",
  "page": 1,
  "keyword_type": "organic",
  "order_by": "etv-desc",
  "domain_filter": "domain"
}

Example with curl

curl -s -X POST 
  -H "Authorization: Bearer rk_TU_CLAVE_AQUI" 
  -H "Content-Type: application/json" 
  -d '{
    "domain": "allbirds.com",
    "location": "United States",
    "page": 1,
    "keyword_type": "organic",
    "order_by": "etv-desc",
    "domain_filter": "domain"
  }' 
  "https://api.ranki.co/v1/organic-keywords"

Sample response

{
  "credits_consumed": 1,
  "credits_remaining": 245,
  "data": {
    "domain": "allbirds.com",
    "location": "United States",
    "total_count": 48500,
    "items": [
      {
        "keyword": "wool runners",
        "position": 1,
        "search_volume": 12100,
        "url": "https://www.allbirds.com/collections/mens",
        "cpc": 0.95,
        "traffic_percentage": 2.4,
        "estimated_traffic": 2800
      },
      {
        "keyword": "womens sneakers",
        "position": 3,
        "search_volume": 8100,
        "url": "https://www.allbirds.com/collections/womens-sneakers",
        "cpc": 1.10,
        "traffic_percentage": 1.8,
        "estimated_traffic": 1450
      }
    ]
  }
}

Response fields

FieldTypeDescription
credits_consumedintegerCredits deducted (1 credit).
credits_remainingintegerRemaining API credit balance.
data.itemsarrayList of ranking keywords.
items[].keywordstringTerm it ranks for.
items[].positionintegerGoogle position for that keyword.
items[].search_volumeintegerAverage monthly searches.
items[].urlstringSpecific URL from the domain that appears in the result.
items[].cpcnumberEstimated cost per click in ads.
items[].estimated_trafficintegerEstimated monthly visits this keyword brings to the page.

← Back to the Keyword Tools index