✨ This endpoint analyzes a webpage and extracts key SEO information.
Make a POST request to /analyze-page with the following JSON body:
{
"url": "https://example.com"
}
The API returns a JSON object containing:
{
"title": "Example Domain",
"meta_description": "This is an example page",
"url": "https://example.com",
"body_text": "This domain is for use in illustrative examples...",
"heading_structure": {
"h1": ["Example Domain"],
"h2": ["Section 1", "Section 2"]
},
"internal_links": ["https://example.com/about"],
"external_links": ["https://external-site.com"],
"canonical": "https://example.com",
"meta_robots": "index,follow"
}
400: No URL provided in request500: Failed to fetch page or other server error