API Documentation

Related Queries Endpoint

http://api.grepwords.com/related?

Requires:

apikey = ##userapikey##
q = ##query## (keyword or regex urlencoded)

Optional:

results = ##number of results returned## or "all" default is 100
start = #number where to start## default is 0
output= {json|xml|csv} currently only json available
sort= {competetion,cpc,global_monthly_search,keyword} the order in which to return the results
regex = {0,1} default is 0, 1 means to interpret q as regex

Basic usage

http://api.grepwords.com/related?q=baseball+cards&apikey=##apikey##
Would return the top 100 keywords by local Google Traffic in the default JSON format

Report Usage

http://api.grepwords.com/related?q=(%5Cd%7B3%7D%5B-%5C.%5Cs%5D%5Cd%7B3%7D%5B-%5C.%5Cs%5D%5Cd%7B4%7D%7C%5C(%5Cd%7B3%7D%5C)%5Cs*%5Cd%7B3%7D%5B-%5C.%5Cs%5D%5Cd%7B4%7D%7C%5Cd%7B3%7D%5B-%5C.%5Cs%5D%5Cd%7B4%7D)®ex=1
Would return results for regular expression.

Keyword Lookup Endpoint

http://api.grepwords.com/lookup?

Requires:

apikey = ##userapikey##
q = ##keyword|list## (pipe delimited)

Basic usage

http://api.grepwords.com/lookup?q=baseball+cards|football+cards&apikey=##apikey##
Would return CPC and Search data for baseball cards and football cards in JSON format

Related Queries Sort Options Endpoint

http://api.grepwords.com/list?

Optional:

index = {fresh|historic}
output= {json|xml|csv}

Credit Balance Endpoint

http://api.grepwords.com/credits?

Requires:

apikey = ##userapikey##


Optional:

output= {json|xml|csv} currently only json available