Use Case

Sitemap API for Link Building & Outreach

Discover all pages on target domains for outreach

Written by SitemapKit Editorial TeamUpdated: Jul 21, 2026

Find all content pages on a potential link partner's site. Identify relevant pages for outreach, broken link building, and guest post opportunities by analyzing sitemap data.

Expected outcome

A repeatable workflow for link building & outreach that turns sitemap data into a structured result your team can validate and reuse.

Before you start

  • A SitemapKit API key stored in a server-side environment variable.
  • A target domain or sitemap URL and a clear success criterion for the link building & outreach workflow.

Implementation workflow

  1. 1

    Define the workflow objective

    Start from this concrete goal: Discover all pages on target domains for outreach

  2. 2

    Request the sitemap data

    Use the implementation example below from server-side code and pass the target domain or sitemap URL required by the workflow.

  3. 3

    Validate and reuse the result

    Check the returned sitemap URLs and page records against the expected outcome for link building & outreach before sending the data to the next system.

Why use SitemapKit?

  • Discover all content pages for outreach targeting
  • Find relevant pages by URL pattern matching
  • Identify sites with large content libraries
  • Scale prospecting across hundreds of domains

Implementation example

# Find all blog posts on a target site for outreach
curl -X POST https://sitemapkit.com/api/v1/sitemap/full \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"url": "target-blog.com"}' | \
  jq -r '[.urls[] | select(.loc | test("blog|article|post"))] | length'

Continue with SitemapKit

Start using SitemapKit for link building & outreach

Free tier includes 100 API calls/month. No credit card required.

Other use cases