# SEO API — UnifAPI

> Keyword volume, SERP checks, backlinks, domain rank. Keyword volume and ideas, SERP checks, backlinks, domain rank and spam score — live organic and AI SERP data as unified JSON for SEO agents.

- Category: SEO
- API base URL: https://api.unifapi.com
- Auth: `Authorization: Bearer <UnifAPI API key>` (OAuth recommended for MCP clients)
- MCP server: https://mcp.unifapi.com
- Developer docs: https://docs.unifapi.com/api/seo
- OpenAPI spec: https://unifapi.com/openapi.json
- HTML page: https://unifapi.com/apis/seo
- Full catalog: https://unifapi.com/apis.md

## Agent workflows

- Run live organic and AI SERP checks so a ranking agent can read ranked elements, target visibility, competitor domains, and rich SERP features instead of scraping result pages.
- Pull keyword, competitor, and backlink records — search volume, ranked keywords, competing domains, referring domains, and anchors — as a per-record alternative to a seat-based SEO suite.
- Return SERP and link evidence with cited sources and query metadata so an agent can combine it with social, news, and maps records in one brief.

## Endpoints (42)

Every endpoint returns the UnifAPI JSON envelope (`request_id`, `data`, `pagination` on lists, `billing`) and bills max(records × credits per record, minimum) in credits.

### Get anchor texts used in backlinks to a target

`POST /seo/backlinks/anchors`

Return the anchor texts used in backlinks pointing to a target, each with backlink, referring-domain, and spam-score counters, to analyze anchor-text distribution.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/anchors/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/anchors/post

### Count backlinks for many targets

`POST /seo/backlinks/bulk-backlinks`

Return the total number of backlinks pointing to up to 1000 domains, subdomains, or pages at once, for bulk link-volume comparison.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-backlinks/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-backlinks/post

### Count new and lost backlinks for many targets

`POST /seo/backlinks/bulk-new-lost-backlinks`

Return the number of new and lost backlinks for up to 1000 domains, subdomains, or pages since a given date, for bulk link-velocity tracking.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-new-lost-backlinks/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-new-lost-backlinks/post

### Count new and lost referring domains in bulk

`POST /seo/backlinks/bulk-new-lost-referring-domains`

Return the number of new and lost referring domains for up to 1000 domains, subdomains, or pages since a given date, for bulk referring-domain velocity tracking.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-new-lost-referring-domains/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-new-lost-referring-domains/post

### Summarize backlinks for many pages at once

`POST /seo/backlinks/bulk-pages-summary`

Return backlink summaries for up to 1000 pages, domains, or subdomains at once, each with backlink, referring-domain, and spam-score counters, for bulk link-profile comparison.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-pages-summary/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-pages-summary/post

### Get backlink ranks for many targets

`POST /seo/backlinks/bulk-ranks`

Return the backlink rank score (0-1000, similar to PageRank) for up to 1000 domains, subdomains, or pages at once, for quick bulk authority comparison.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-ranks/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-ranks/post

### Count referring domains for many targets

`POST /seo/backlinks/bulk-referring-domains`

Return the number of referring domains pointing to up to 1000 domains, subdomains, or pages at once, for bulk referring-domain comparison.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-referring-domains/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-referring-domains/post

### Get spam scores for many targets

`POST /seo/backlinks/bulk-spam-score`

Return the DataForSEO spam score (0-100) for up to 1000 domains, subdomains, or pages at once, to flag risky backlink targets in bulk.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/bulk-spam-score/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/bulk-spam-score/post

### Find competitors by shared referring domains

`POST /seo/backlinks/competitors`

Return the domains that share referring domains with a target, ranked by the number of shared referring domains, to discover competitors in the same backlink neighborhood.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/competitors/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/competitors/post

### Find domains linking to multiple targets

`POST /seo/backlinks/domain-intersection`

Return the domains that link to a set of targets, with per-target backlink metrics. Useful for a link-gap analysis: domains linking to competitors but not to your site.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/domain-intersection/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/domain-intersection/post

### List target pages ranked by backlinks

`POST /seo/backlinks/domain-pages`

Return the pages of a target domain or subdomain that receive backlinks, each with crawl data and backlink counters, to find the most-linked pages of a site.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/domain-pages/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/domain-pages/post

### Summarize backlinks for each page of a target

`POST /seo/backlinks/domain-pages-summary`

Return per-page backlink summaries for a target domain or subdomain, each page with backlink, referring-domain, and spam-score counters, to find the most-linked pages.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/domain-pages-summary/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/domain-pages-summary/post

### Get historical backlink metrics for a target

`POST /seo/backlinks/history`

Return a monthly time series of a target's backlink profile since 2019 — backlinks, referring domains, new/lost counts, and rank — for link-growth trend analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/history/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/history/post

### List individual backlinks pointing to a target

`POST /seo/backlinks/list`

Return the individual backlinks pointing to a target domain, subdomain, or page, each with the referring URL, anchor, dofollow flag, rank, and spam score, for detailed link auditing.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/list/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/list/post

### Find pages linking to multiple targets

`POST /seo/backlinks/page-intersection`

Return the referring pages that link to a set of targets, with the backlinks to each target. Useful for finding pages that link to your competitors but not to your site.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/page-intersection/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/page-intersection/post

### List referring domains pointing to a target

`POST /seo/backlinks/referring-domains`

Return the domains that link to a target domain, subdomain, or page, each with backlink, referring-domain, and spam-score counters for referring-domain analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/referring-domains/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/referring-domains/post

### List referring IP networks pointing to a target

`POST /seo/backlinks/referring-networks`

Return the IP addresses or subnets that host pages linking to a target, each with backlink and referring-domain counters, to assess referring-network diversity.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/referring-networks/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/referring-networks/post

### Get the backlink profile summary for a target

`POST /seo/backlinks/summary`

Return an overview of a target's backlink profile: total backlinks, referring domains/pages/IPs, rank, spam score, and broken-link counters, for a quick link-profile health check.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/summary/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/summary/post

### Get backlink metrics over time

`POST /seo/backlinks/timeseries`

Return a time series of a target's backlink metrics grouped by day, week, month, or year between two dates, for tracking backlink and referring-domain trends.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/timeseries/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/timeseries/post

### Get new and lost backlinks over time

`POST /seo/backlinks/timeseries-new-lost`

Return a time series of new and lost backlinks and referring domains for a target, grouped by day, week, month, or year, for link-velocity analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/backlinks/timeseries-new-lost/post
- Docs: https://docs.unifapi.com/api/seo/backlinks/timeseries-new-lost/post

### Estimate organic traffic for domains

`POST /seo/competitors/bulk-traffic`

Return the estimated monthly organic and paid search traffic for a list of domains, for quick competitor sizing and prospecting across many domains at once.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/bulk-traffic/post
- Docs: https://docs.unifapi.com/api/seo/competitors/bulk-traffic/post

### Find a domain's organic competitors

`POST /seo/competitors/domain`

Return the domains that compete with a target domain in organic search, with shared-keyword counts and ranking/traffic metrics, for competitive landscape analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/domain/post
- Docs: https://docs.unifapi.com/api/seo/competitors/domain/post

### Find keywords two domains both rank for

`POST /seo/competitors/domain-intersection`

Return the keywords for which two domains both rank, with each domain's position and URL, to find shared keywords or keyword gaps between competitors.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/domain-intersection/post
- Docs: https://docs.unifapi.com/api/seo/competitors/domain-intersection/post

### Get a domain's ranking and traffic overview

`POST /seo/competitors/domain-rank-overview`

Return the organic and paid ranking distribution and estimated traffic for a target domain, summarizing how many keywords it ranks for in each position bucket.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/domain-rank-overview/post
- Docs: https://docs.unifapi.com/api/seo/competitors/domain-rank-overview/post

### Estimate historical traffic for domains

`POST /seo/competitors/historical-bulk-traffic`

Return a monthly estimated organic and paid traffic time series for a list of domains since 2019, for comparing competitor growth trajectories over time.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/seo/competitors/historical-bulk-traffic/post
- Docs: https://docs.unifapi.com/api/seo/competitors/historical-bulk-traffic/post

### Get a domain's historical ranking overview

`POST /seo/competitors/historical-rank-overview`

Return a monthly time series of a domain's organic and paid ranking distribution and estimated traffic since 2019, for trend and seasonality analysis.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/seo/competitors/historical-rank-overview/post
- Docs: https://docs.unifapi.com/api/seo/competitors/historical-rank-overview/post

### Get historical SERP snapshots for a keyword

`POST /seo/competitors/historical-serps`

Return historical snapshots of the SERP composition for a keyword since 2019, summarizing how many results and which SERP feature types appeared over time.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/historical-serps/post
- Docs: https://docs.unifapi.com/api/seo/competitors/historical-serps/post

### Find keywords specific pages rank for

`POST /seo/competitors/page-intersection`

Return the keywords that a set of specific page URLs rank for, with each page's position, to analyze keyword overlap across competing pages or your own content.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/page-intersection/post
- Docs: https://docs.unifapi.com/api/seo/competitors/page-intersection/post

### Find the keywords a domain ranks for

`POST /seo/competitors/ranked-keywords`

Return the keywords a target domain or page ranks for in organic search, each with search volume, difficulty, and the exact ranking position and URL, for competitor keyword research.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/ranked-keywords/post
- Docs: https://docs.unifapi.com/api/seo/competitors/ranked-keywords/post

### List a domain's top ranking pages

`POST /seo/competitors/relevant-pages`

Return the pages of a target domain that drive the most organic search traffic, each with its ranking distribution and estimated traffic, for content gap and page-level analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/relevant-pages/post
- Docs: https://docs.unifapi.com/api/seo/competitors/relevant-pages/post

### Find domains competing for keywords

`POST /seo/competitors/serp`

Return the domains that rank for a set of seed keywords, ranked by visibility, with average position, estimated traffic, and the number of shared keywords, to discover SERP competitors.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/serp/post
- Docs: https://docs.unifapi.com/api/seo/competitors/serp/post

### List a domain's subdomains with traffic

`POST /seo/competitors/subdomains`

Return the subdomains of a target domain, each with its organic ranking distribution and estimated traffic, to see which subdomains drive search visibility.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/competitors/subdomains/post
- Docs: https://docs.unifapi.com/api/seo/competitors/subdomains/post

### Collect autocomplete keyword suggestions

`POST /seo/keywords/autocomplete`

Run one live autocomplete lookup for a seed query and receive the suggested searches the engine offers, with relevance scores — useful for SEO keyword discovery and content-gap research.

- Price: 1 credit per record, minimum 10 credits ($0.01) per call
- Details: https://unifapi.com/apis/seo/keywords/autocomplete/post
- Docs: https://docs.unifapi.com/api/seo/keywords/autocomplete/post

### Score keyword difficulty

`POST /seo/keywords/difficulty`

Return the keyword difficulty (0-100 chance of ranking in the top-10 organic results) for up to 1,000 keywords in one request, for prioritizing achievable SEO targets.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/difficulty/post
- Docs: https://docs.unifapi.com/api/seo/keywords/difficulty/post

### Find keywords a domain ranks for

`POST /seo/keywords/for-site`

Return the keywords a target domain is relevant for, each with search volume, CPC, competition, keyword difficulty, and search intent, for competitor and own-site keyword research.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/for-site/post
- Docs: https://docs.unifapi.com/api/seo/keywords/for-site/post

### Get historical keyword data

`POST /seo/keywords/history`

Return historical search volume and search ad metrics since 2019 for specified keywords, for trend and seasonality analysis.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/history/post
- Docs: https://docs.unifapi.com/api/seo/keywords/history/post

### Discover keyword ideas

`POST /seo/keywords/ideas`

Expand seed keywords into related search terms that fall into the same product or service categories, each with search volume, CPC, competition, keyword difficulty, and search intent for SEO and content research.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/ideas/post
- Docs: https://docs.unifapi.com/api/seo/keywords/ideas/post

### Classify keyword search intent

`POST /seo/keywords/intent`

Return the search intent (informational, navigational, commercial, or transactional) with probabilities for up to 1,000 keywords, for mapping keywords to the right content type.

- Price: 1 credit per record, minimum 10 credits ($0.01) per call
- Details: https://unifapi.com/apis/seo/keywords/intent/post
- Docs: https://docs.unifapi.com/api/seo/keywords/intent/post

### Look up keyword metrics

`POST /seo/keywords/overview`

Return current SEO metrics for specified keywords, including search volume, CPC, competition, keyword difficulty, and search intent, for prioritizing keyword targets.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/overview/post
- Docs: https://docs.unifapi.com/api/seo/keywords/overview/post

### Find related keywords

`POST /seo/keywords/related`

Expand a seed keyword using the 'searches related to' element, each with search volume, CPC, competition, keyword difficulty, and search intent for SEO and content research.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/related/post
- Docs: https://docs.unifapi.com/api/seo/keywords/related/post

### Find keyword suggestions

`POST /seo/keywords/suggestions`

Expand a seed keyword into long-tail search queries that include it, each with search volume, CPC, competition, keyword difficulty, and search intent for SEO and content research.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/seo/keywords/suggestions/post
- Docs: https://docs.unifapi.com/api/seo/keywords/suggestions/post

### Collect organic SERP SEO evidence

`POST /seo/serp`

Run one live organic SERP check for SEO optimization evidence, including target visibility, competitor domains, rich SERP features, normalized per-result checks, People Also Ask context, AI Overview presence, and optional pixel ranking data.

- Price: 1 credit per record, minimum 10 credits ($0.01) per call
- Details: https://unifapi.com/apis/seo/serp/post
- Docs: https://docs.unifapi.com/api/seo/serp/post

## Guides

- [SEO Agent live rank audits](https://unifapi.com/blog/seo-agent-live-rank-audits) — Use live SERP, keyword, competitor, backlink, and rendered-page records in an SEO Agent brief.
- [SEO, GEO, and Browser visibility stack](https://unifapi.com/blog/seo-geo-browser-visibility-stack) — Join classic rank, AI-answer visibility, and rendered-page evidence in one workflow.
- [Browser API for agent web reading](https://unifapi.com/blog/browser-api-for-agent-web-reading) — Why rendered Markdown and link graphs strengthen SEO page audits.
- [SERP features — glossary](https://unifapi.com/glossary/serp-features) — Snippets, People Also Ask, packs, and AI Overviews defined, with what each means for tracking.
- [Local pack (map pack) — glossary](https://unifapi.com/glossary/local-pack) — How the three-listing map block ranks and why location sampling matters.

## Related APIs

- [GEO API](https://unifapi.com/apis/geo/index.md) — AI answer visibility, LLM mentions, AI search volume
- [Google Ads API](https://unifapi.com/apis/google-ads/index.md) — Ads Transparency Center: advertisers and ads
- [Browser API](https://unifapi.com/apis/browser/index.md) — Markdown, HTML, screenshots, links
