Documentation
Integrate keyword research into your applications with the SEOLens REST API. Simple, fast, and free to get started.
Quick Start
The SEOLens API provides a single endpoint for keyword research. Send a POST request with your keyword and get back search volume, difficulty, and related suggestions.
POST
/api/v1/researchResearch a keyword and get search volume, difficulty, CPC, and related suggestions.
Example Request
cURL
curl -X POST https://seolens.dev/api/v1/research \
-H "Content-Type: application/json" \
-d '{
"keyword": "nextjs seo",
"countryCode": "US",
"languageCode": "en"
}'Example Response
JSON Response
{
"keyword": "nextjs seo",
"metrics": {
"avgMonthlySearches": 2400,
"competition": "MEDIUM",
"cpcLow": 0.50,
"cpcHigh": 2.10
},
"difficulty": "medium",
"suggestions": [
{
"keyword": "next js seo optimization",
"avgMonthlySearches": 880,
"competition": "LOW",
"cpcLow": 0.30,
"cpcHigh": 1.50
},
{
"keyword": "nextjs metadata seo",
"avgMonthlySearches": 590,
"competition": "LOW",
"cpcLow": 0.25,
"cpcHigh": 1.20
}
]
}API Reference
Detailed documentation for all endpoints, parameters, and response formats.
Try the Tool
Use the interactive keyword research tool directly in your browser.