Skip to main content
GET
The SEO endpoint is a powerful, dynamic endpoint that generates various types of SEO content based on the type parameter. This single endpoint handles sitemap generation, RSS feeds, robots.txt, IndexNow protocol, and AI-optimized content.

Path Parameters

string
required
The type of SEO content to generate. Supported values:
  • sitemap - XML sitemap for search engines
  • rss - RSS 2.0 feed for content syndication
  • atom - Atom 1.0 feed (alternative to RSS)
  • robots - robots.txt for crawler directives
  • llm - LLM.txt for AI content consumption
  • indexnow - IndexNow protocol key verification

Query Parameters

string
required
Account ID (required for admin API keys, ignored for account API keys)

Response Formats

The response format depends on the content type requested:

Sitemap (/api/v1/seo/sitemap)

Returns XML sitemap with homepage, articles, and topic pages. Content-Type: application/xml Cache Control: public, max-age=3600, s-maxage=7200

RSS Feed (/api/v1/seo/rss)

Returns RSS 2.0 compliant feed with latest articles. Content-Type: application/rss+xml Cache Control: public, max-age=1800, s-maxage=3600

Atom Feed (/api/v1/seo/atom)

Returns Atom 1.0 compliant feed as an alternative to RSS. Content-Type: application/atom+xml Cache Control: public, max-age=1800, s-maxage=3600

Robots.txt (/api/v1/seo/robots)

Returns robots.txt with crawling directives. Content-Type: text/plain Cache Control: public, max-age=86400

LLM.txt (/api/v1/seo/llm)

Returns AI-optimized content index for machine learning consumption. Content-Type: text/plain Cache Control: public, max-age=3600, s-maxage=7200

IndexNow (/api/v1/seo/indexnow)

Returns the IndexNow verification key for search engine notification protocol. Content-Type: text/plain Cache Control: public, max-age=86400

SEO Features

Intelligent Content Prioritization

  • Homepage: Priority 1.0, daily updates
  • Articles: Priority 0.8, monthly updates based on modification dates
  • Topic Pages: Priority 0.6, weekly updates for content discovery

Caching Strategy

Different content types have optimized cache durations:
  • Sitemap: 1 hour cache, 2 hours CDN (frequent updates for new content)
  • Feeds: 30 minutes cache, 1 hour CDN (balance freshness with performance)
  • Robots: 24 hours cache (stable crawling directives)
  • LLM: 1 hour cache, 2 hours CDN (updated with content changes)
  • IndexNow: 24 hours cache (stable verification key)

Search Engine Optimization

  • Canonical URLs: Proper canonical URL generation for all content
  • Structured Content: XML sitemap includes last modification dates and priorities
  • Feed Standards: RSS 2.0 and Atom 1.0 compliant feeds
  • AI Integration: LLM.txt follows emerging standards for AI content consumption

Use Cases

  • Search Engine Indexing: Submit sitemap to Google Search Console
  • Content Syndication: RSS/Atom feeds for feed readers and aggregators
  • AI Training: LLM.txt for AI model training and content understanding
  • Crawler Management: robots.txt for managing search engine crawling
  • Real-time Indexing: IndexNow for immediate search engine notification

Path Parameters

type
enum<string>
required

Type of SEO content to retrieve

Available options:
sitemap,
rss,
robots,
llm,
atom

Query Parameters

account_id
string

Account ID (required for admin API keys, ignored for account API keys)

Response

SEO content retrieved successfully

The response is of type string.