一行代码即可
npm install @seoreport/client。提交产品时调用 createPreview(url),我们将使用您计划的 API 密钥运行审核。
合作伙伴计划
将完整的 AI SEO 诊断通过一次付费计划的 API 密钥集成到您的平台。向用户展示分数,通过您自己的结账页面销售完整报告,并保留利润。
npm install @seoreport/clientnpm install @seoreport/client。提交产品时调用 createPreview(url),我们将使用您计划的 API 密钥运行审核。
总分、SEO 带宽和域名细分在几秒钟内返回,用户在购买完整报告之前就能知道需要修复的地方。
通过你自己的结账提供完整的高级报告。白标 PDF。你的品牌。你的利润。我们保持隐形
五行代码。没有基础设施来管理.
import { SEOReportClient } from "@seoreport/client";
const client = new SEOReportClient({
apiKey: process.env.SEOREPORT_API_KEY,
});
// When a user submits a product, create a score preview with your plan's key
async function onProductSubmit(url: string) {
const preview = await client.createPreview(url);
return {
score: preview.preview.score.overall,
band: preview.preview.score.band,
breakdown: preview.preview.score.domainScores,
};
}
// Sell the full advanced report through your own checkout
async function unlockForUser(jobId: string) {
const report = await client.pollReport(jobId);
return report; // white-label PDF + full findings
}合作方式如下: