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/analyze

Analyze a keyword and get SERP data

?keyword=seo+tools
View Example Response
{
  "keyword": "seo tools",
  "difficultyScore": 42.5,
  "serpResults": [...],
  "trendsData": {...}
}
GET/api/keywords/suggestions

Get keyword suggestions

?keyword=seo
View Example Response
{
  "keyword": "seo tools",
  "difficultyScore": 42.5,
  "serpResults": [...],
  "trendsData": {...}
}
GET/api/trends/{keyword}

Get Google Trends data

?timeframe=today+3-m
View Example Response
{
  "keyword": "seo tools",
  "difficultyScore": 42.5,
  "serpResults": [...],
  "trendsData": {...}
}
GET/api/analytics/dashboard

Get 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

Free

Pro Plan

1,000 requests/day

$10/mo

Growth Plan

10,000 requests/day

$50/mo

Ready to Get Started?

Get your API key and start integrating today