GetKeywordInfo

Command status: Active
Supported by OpenApps API: Yes
Supported by Internal/Reseller API: Yes
Possibly queued processing: No

This function returns phrase/broad counts for a list of supplier keywords, batch operation of up to 1000 keywords per call supported.

Example of data returned by this function can be found in the Keyword Checker tool used on our website: https://www.majestic.com/reports/keyword-checker

Calls to this function will result in usage of the following subscription resources:

Resource Description

AnalysisResUnits

AnalysisResUnits has a fixed cost of 500 plus 50 units for each keyword (Batching many keywords into one call is strongly recommended).

RetrievalResUnits

This resource will be decreased by actual number of rows of data retrieved (returned) by this function.

This function accepts the following parameters:

Parameter Description

cmd

Required: must be set to: GetKeywordInfo

Datasource

Optional - defaults to historic
Either: "fresh" - to query against fresh index, or "historic" - to query against historic index.

item0, item1 ... itemN

One or more items (keywords) starting from item0 up to maximum supplier number of items.
Max: 1000 keywords

Example:
http://api.majestic.com/api/xml?app_api_key=API_KEY&cmd=GetKeywordInfo&item0=majestic%20seo&item1=google&item2=google%20news

This produces the following XML:



Example:
http://api.majestic.com/api/json?app_api_key=API_KEY&cmd=GetKeywordInfo&item0=majestic%20seo&item1=google&item2=google%20news

This produces the following JSON:

  1. Keyword - Actual keyword queried
  2. WordCount - The number of words in keyword.
  3. TreatedAs - The keyword with removed delimiters, extra spaces etc: "majestic-seo" will be treated as "majestic seo"
  4. PhraseFoundFlag - If true the phrase was found in our database, not found in keywords *may* be scheduled for counting in next index updates (will work best with fresh index).
  5. PhraseSearchVolume - The Estimated search volume for exact keyword.
  6. BroadFoundFlag - Is the same as PhraseFoundFlagy, only for Broad matching mode for a given keyword (single word items will have the same vaules).
  7. BroadSearchVolume - The estimated search volume for ALL exact keywords tht would be matched by broad matching logic.

PhraseURLsInTitle|PhraseDomainsInTitle|PhraseURLsInURL|PhraseDomainsInURL|Ph raseURLsInAnchor|PhraseDomainsInAnchor|PhraseURLsInAnchorAndInTitle|Phra raseURLsInAnchor|PhraseDomainsInAnchor|PhraseURLsInAnchorAndInTitle|seDo mainsInAnchorAndInTitle BroadURLsInTitle|BroadDomainsInTitle|BroadURLsInURL|BroadDomainsInURL|Br BroadURLsInTitle|BroadDomainsInTitle|BroadURLsInURL|BroadDomainsInURL|oa BroadURLsInTitle|BroadDomainsInTitle|BroadURLsInURL|BroadDomainsInURL|dU RLsInAnchor|BroadDomainsInAnchor|BroadURLsInAnchorAndInTitle|BroadDomain RLsInAnchor|BroadDomainsInAnchor|BroadURLsInAnchorAndInTitle|sInA nchorAndInTitle

Data points showing how many URLS and domains have specified keyword in different parts: TITLE, external ANCHOR TEXT, URLs, TITLE _AND_ external ANCHOR TEXT

Note: for broad matching BroadURLsInURL|BroadDomainsInURL is NOT currently provided, but might be in the future.

For more information about access to the Majestic API suite, visit our Plans & Pricing page.