Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.06 KB

File metadata and controls

43 lines (31 loc) · 1.06 KB

seoscoreapi

Node.js client for SEO Score API — audit any URL for SEO issues with one function call.

Install

npm install seoscoreapi

Quick Start

const { signup, audit } = require("seoscoreapi");

// Get a free API key (5 audits/day)
const key = await signup("you@example.com");

// Audit any URL
const result = await audit("https://example.com", key);
console.log(`Score: ${result.score}/100 (${result.grade})`);

result.priorities.forEach(p =>
  console.log(`  [${p.severity}] ${p.issue}`)
);

API

Function Description
signup(email) Get a free API key
audit(url, apiKey) Run SEO audit
batchAudit(urls, apiKey) Audit multiple URLs (paid)
usage(apiKey) Check usage/limits
addMonitor(url, apiKey) Set up monitoring (paid)
reportUrl(domain) Get shareable report URL

Links