BuildFlow

SEO Analyzer

Analyze a webpage for SEO performance and receive a detailed analysis of its content.

POST
1https://api-buildflow.modal.run/api/seo-analyzer

Request Parameters

  • url: string (required) – The URL of the webpage to analyze.
  • keyword: string (required) – The primary keyword to assess the SEO against.

Request Schema

1{
2  "url": "string",
3  "keyword": "string"
4}

Success Response

1{
2  "contentAnalysis": {
3    "title": "string",
4    "description": "string",
5    "h1": "string[]",
6    "h2": "string[]",
7    "wordCount": "number",
8    "keywordDensity": "number",
9    "readabilityScore": "number",
10    "contentQuality": {
11      "paragraphCount": "number",
12      "sentenceCount": "number",
13      "averageSentenceLength": "number",
14      "longSentences": "number",
15      "passiveVoiceCount": "number",
16      "transitionWords": "string[]",
17      "uniqueWords": "number",
18      "lexicalDensity": "number"
19    },
20    "topicCoverage": "string[]",
21    "contentGaps": "string[]",
22    "sentiment": "number",
23    "entityAnalysis": "Record<string, number>"
24  },
25  "technicalSEO": {
26    "loadTime": "number",
27    "mobileResponsive": "boolean",
28    "httpsEnabled": "boolean",
29    "robotsTxt": {
30      "exists": "boolean",
31      "content": "string"
32    },
33    "sitemapXml": {
34      "exists": "boolean",
35      "url": "string"
36    },
37    "canonicalTag": "string",
38    "structuredData": "any[]",
39    "hreflangTags": "string[]",
40    "securityHeaders": "Record<string, string>",
41    "compressionEnabled": "boolean",
42    "serverSignature": "string"
43  },
44  "linkAnalysis": {
45    "internalLinks": "string[]",
46    "externalLinks": "string[]",
47    "brokenLinks": "string[]",
48    "anchorTextDistribution": "Record<string, number>"
49  },
50  "suggestions": {
51    "type": "string",
52    "category": "string",
53    "title": "string",
54    "description": "string"
55  }
56}

Error Response

1{
2  "error": "string"
3}

Example Usage

1
2curl -X POST 'https://api-buildflow.modal.run/api/seo-analyzer' \
3-H 'Content-Type: application/json' \
4-H 'x-api-key: your-api-key' \
5-d '{
6  "url": "example-url",
7  "keyword": "example-keyword"
8}'
9