List competitors
Top SEO or PPC competitors of a domain, ranked by shared keywords.
GET https://cotlet.dev/api/v1/spyfu/competitors
read
Returns the competitors SpyFu finds for one domain, with the number of keywords they share. type seo ranks them by organic keywords in common, ppc by paid keywords in common. Pass the first domains of the result to compare_competitor_keywords.
Parameters
| Name | Type | Description |
|---|---|---|
| domain string required | string | Domain without https://. |
| type string | string | seo or ppc. Defaults to seo. |
Request
curl "https://cotlet.dev/api/v1/spyfu/competitors?domain=domain" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("spyfu", "list_competitors", {"domain":"domain"}) const result = await cotlet.call('spyfu', 'list_competitors', {"domain":"domain"}); cotlet call spyfu list_competitors --data '{"domain":"domain"}' Example response
{
"domain": "trailkick.com",
"type": "seo",
"competitors": [
{
"domain": "trailrunner-gear.com",
"shared_keywords": 1840
},
{
"domain": "sole-supply.com",
"shared_keywords": 1522
},
{
"domain": "runbarn.com",
"shared_keywords": 1207
}
]
}