API Documentation
Integrate Lookeywords into your workflow with our RESTful API
Quick Start
Get started with our API in minutes. All you need is your API key.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lookeywords.com/api/keywords/analyze?keyword=seo+tools
Authentication
All API requests require authentication using a Bearer token. Get your API key from your dashboard.
Authorization: Bearer YOUR_API_KEY
Note: Keep your API key secret. Never share it in public repositories or client-side code.
API Endpoints
GET
/api/keywords/analyzeAnalyze a keyword and get SERP data
?keyword=seo+toolsView Example Response
{
"keyword": "seo tools",
"difficultyScore": 42.5,
"serpResults": [...],
"trendsData": {...}
}GET
/api/keywords/suggestionsGet keyword suggestions
?keyword=seoView Example Response
{
"keyword": "seo tools",
"difficultyScore": 42.5,
"serpResults": [...],
"trendsData": {...}
}GET
/api/trends/{keyword}Get Google Trends data
?timeframe=today+3-mView Example Response
{
"keyword": "seo tools",
"difficultyScore": 42.5,
"serpResults": [...],
"trendsData": {...}
}GET
/api/analytics/dashboardGet dashboard analytics
View Example Response
{
"keyword": "seo tools",
"difficultyScore": 42.5,
"serpResults": [...],
"trendsData": {...}
}Code Examples
JavaScript/Node.js
const response = await fetch(
'https://api.lookeywords.com/api/keywords/analyze?keyword=seo+tools',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();Python
import requests
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
response = requests.get(
'https://api.lookeywords.com/api/keywords/analyze',
params={'keyword': 'seo tools'},
headers=headers
)
data = response.json()Rate Limits
Free Plan
100 requests/day
Pro Plan
1,000 requests/day
Growth Plan
10,000 requests/day
