πŸ” SEO Analysis & Clustering API

πŸ“š API Documentation

Welcome to the API documentation! Here are our awesome endpoints: ⬇️

🌐 1. Page Analysis Endpoint

Path: /analyze-page

Method: POST

Description: Analyzes a webpage and returns key SEO information including:

  • πŸ“ Title and meta description
  • πŸ“„ Body text content
  • πŸ“Š Heading structure (H1-H6)
  • πŸ”— Internal and external links
  • 🎯 Canonical URL and robots meta tag

Example Usage: POST /analyze-page with JSON body: {"url": "https://example.com"}

πŸ”¬ 2. SERP Clustering Endpoint

Path: /sep-based-clustering/

Method: POST

Description: Clusters keywords based on search engine results page (SERP) patterns.

Features:

  • 🎯 Groups keywords with similar SERP results
  • πŸ”„ Supports both hard and soft clustering
  • βš™οΈ Configurable overlap threshold

🧠 3. Generate Embeddings API

Path: /generate-embeddings

Method: POST

Overview: This API provides a simple interface to generate sentence embeddings using Sentence Transformers models.

πŸš€ Features:

  • Generate sentence embeddings using two different pre-trained models:
    • all-MiniLM-L6-v2
    • intfloat/e5-large-v2

Response: JSON response with embeddings for each sentence.

🧩 4. Semantic Keyword Clustering

Path: /semantic-keywords-clustering

Method: POST

Description: Groups a list of keywords by meaning using embeddings + HDBSCAN β€” no need to pick the number of clusters.

Features:

  • 🧠 Clusters by semantic similarity, not just SERP overlap
  • 🎚️ Friendly presets (broad / balanced / specific)
  • πŸ—ΊοΈ Interactive visualization of the clusters
  • 🧹 Sets aside keywords that don't fit any group