SEO Audit API Documentation
A free public API that returns comprehensive SEO analysis for any URL. Get meta tags, Core Web Vitals, schema validation, content scoring, and link data in a single JSON response.
Try the APIQuick Start
Make your first API call in seconds. Send a GET request with the target URL:
curl "https://ai-seo-audit-seven.vercel.app/api/v1/audit?url=https://example.com"No authentication needed. You will receive a JSON response with a full SEO audit of the specified page.
API Endpoint
/api/v1/auditThe audit endpoint accepts a target URL as a query parameter and returns a JSON object containing the complete SEO analysis. The response typically completes within 5β15 seconds depending on the target page size.
All requests are served over HTTPS. No API key is required for basic usage. Rate limits are applied per IP address.
Parameters
All parameters are passed as query string parameters on the GET request.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | The URL of the page to audit. Must be a valid, publicly accessible URL. |
| format | string | No | Response format. Use "json" (default) or "text" for a simplified text output. |
Response Format
The API returns a JSON object with the following top-level structure:
{
"success": true,
"url": "https://example.com",
"audit": {
"meta": {
"title": "Example Domain",
"titleLength": 13,
"description": "This domain is for use in...",
"descriptionLength": 36,
"h1": ["Example Domain"],
"canonical": "https://example.com",
"ogTitle": "Example Domain",
"ogDescription": "This domain is for use in...",
"ogImage": "https://example.com/image.png"
},
"performance": {
"lcp": 1.2,
"inp": 85,
"cls": 0.05,
"fcp": 0.8,
"ttfb": 120,
"score": 92
},
"schema": {
"valid": true,
"types": ["WebPage", "Organization"],
"errors": [],
"warnings": []
},
"content": {
"score": 78,
"wordCount": 1250,
"readabilityScore": "A",
"keywordDensity": 2.1
},
"links": {
"internal": 12,
"external": 3,
"broken": 0
},
"images": {
"total": 5,
"missingAlt": 0
},
"overallScore": 85
}
}Rate Limits
The API enforces a rate limit of 10 requests per minute per IP address. This is generous enough for most monitoring, reporting, and development use cases.
Free Tier
10 req / min per IP
Response Format
JSON (default) or text
Authentication
None required
Uptime SLA
99.9%
If you need higher rate limits for production workloads or enterprise applications, reach out to our team for a custom plan.
Use Cases
SEO Monitoring
Track SEO health scores over time for your own sites with scheduled API calls.
Competitive Analysis
Compare technical SEO metrics across competitor pages to find optimization gaps.
Client Reporting
Automate SEO audit reports for agency clients without manual tool checks.
CI/CD Integration
Run SEO checks as part of your deployment pipeline to catch regressions before they ship.
Lead Generation
Offer free automated SEO scans to capture leads and qualify prospects.
Code Examples
Use the API from any language that supports HTTP requests. Here are examples in JavaScript and Python:
JavaScript (fetch)
async function auditUrl(url) {
const response = await fetch(
`https://ai-seo-audit-seven.vercel.app/api/v1/audit?url=${encodeURIComponent(url)}`
);
if (!response.ok) {
throw new Error(`Audit failed: ${response.status}`);
}
const data = await response.json();
console.log("Overall Score:", data.audit.overallScore);
console.log("Meta Title:", data.audit.meta.title);
console.log("LCP:", data.audit.performance.lcp + "s");
return data;
}
auditUrl("https://example.com");Python (requests)
import requests
from urllib.parse import urlencode
def audit_url(url):
params = {"url": url}
response = requests.get(
"https://ai-seo-audit-seven.vercel.app/api/v1/audit",
params=params
)
response.raise_for_status()
data = response.json()
print(f"Overall Score: {data['audit']['overallScore']}")
print(f"Meta Title: {data['audit']['meta']['title']}")
print(f"LCP: {data['audit']['performance']['lcp']}s")
return data
audit_url("https://example.com")cURL
# Basic GET request
curl "https://ai-seo-audit-seven.vercel.app/api/v1/audit?url=https://example.com"
# With text format
curl "https://ai-seo-audit-seven.vercel.app/api/v1/audit?url=https://example.com&format=text"
# Pretty-print JSON output
curl -s "https://ai-seo-audit-seven.vercel.app/api/v1/audit?url=https://example.com" | jq .Frequently Asked Questions
Is the SEO audit API free?
Yes. The basic API is completely free with no API key required. You get 10 requests per minute per IP address, which is enough for most use cases.
What data does the API return?
The API returns a comprehensive JSON payload including meta tags analysis, Core Web Vitals scores, schema markup validation, content score, internal and external links, image alt text audit, and overall SEO health rating.
Do I need an API key?
No API key is required for basic usage. Simply send a GET request with the target URL as a query parameter. Rate limits are applied per IP address.
What is the rate limit?
The API allows 10 requests per minute per IP address. If you need higher limits for production workloads, contact us for an enterprise plan.
Can I use the API for commercial projects?
Yes. You can use the API results in client reports, SaaS dashboards, and internal tools. We only ask that you do not resell raw API access as a competing service.
Ready to Get Started?
No signup required. Make your first API call right now and get a complete SEO audit of any page in seconds.
Try the API Now