Skip to main content
The seo namespace is a white-labeled DataForSEO surface. It covers a large API: search engine results, keyword data, backlinks, on-page audits, content analysis, domain analytics, business data, and the DataForSEO Labs tools. SEO requires the data:seo:read scope.
import { createVoyantDataClient } from "@voyant-travel/data-sdk";

const client = createVoyantDataClient({ apiKey: process.env.VOYANT_API_KEY! });

Organized by sub-product

DataForSEO exposes hundreds of routes. Rather than flatten them into one giant method tree, the client groups them by DataForSEO sub-product so you can navigate by domain:
GroupCovers
serpSearch engine results (Google organic, maps, AI mode, and more).
keywordsDataSearch volume, clickstream, and trends.
aiOptimizationAI keyword volume and LLM-mention data.
backlinksBacklink summaries, referring domains, anchors, and new or lost links.
onPageOn-page audits and Lighthouse checks.
contentAnalysisContent search and summaries.
domainAnalyticsTechnologies and WHOIS.
businessDataBusiness listings and reviews data.
dataforseoLabsKeyword ideas, ranked keywords, competitors, and intent.
Reference catalogs for locations and languages live under each sub-product, because DataForSEO scopes them per product.

Examples

// Create a Google organic SERP task
const serp = await client.seo.serp.google.organic.searches.create(input);

// Pull a backlink summary
const backlinks = await client.seo.backlinks.summary.create(input);

// Start an on-page site audit
const audit = await client.seo.onPage.siteAudits.create(input);

Types

Selected types: Search, GoogleOrganicSearchInput, GoogleAiModeSearchInput, GoogleMapsSearchInput, ScreenshotResult, AiSummaryResult.
SEO is a broad surface and teams typically use only the sub-products they need. Reach for specific groups rather than trying to map the whole tree up front.