Skip to main content
API Documentation
Coming Soon

Outline AI API Documentation

Extract structured content outlines and hierarchical information from web pages

Outline AI API

Coming Soon

AI-powered hierarchical content outlines from any webpage. Extract and organize content into structured outlines with customizable depth and multiple output formats.

API Details

GET /outline?url={url}&format={format}&depth={depth}

Generate AI-powered hierarchical content outlines from any webpage. Perfect for content analysis, document structuring, and information architecture.

Required parameters

  • urlstringTarget URL to generate outline for

Optional parameters

  • formatstringjson, markdown, or text (default: json)
  • depthintegerMaximum heading depth 1-6 (default: 3)
  • include_snippetsbooleanInclude content snippets (default: true)

AI-Enhanced Structuring

Leverages OpenAI GPT models to intelligently organize content into hierarchical structures.

Multiple Formats

Get outlines in JSON, Markdown, or plain text format to fit your workflow.

Plan Access & Limits

Available on Starter (200/month), Professional (1,000/month), and AI Specialist (1,500/month) plans.

Outline AI API
curl "https://api.ogfetch.com/outline?url=https://docs.anthropic.com&format=json&depth=3" \
-H "X-API-Key: ogf_live_your_api_key_here"

Response Schema

Outline AI API Response
{
"url": "https://docs.anthropic.com",
"title": "Home - Anthropic",
"outlined_at": "2025-07-24T02:37:55Z",
"outline": {
"sections": [
{
"level": 1,
"title": "Developer Platform",
"snippet": "Information about the Anthropic developer platform",
"subsections": [
{
"level": 2,
"title": "Get Started",
"snippet": "Guide on making your first API call in minutes",
"subsections": [
{
"level": 3,
"title": "Quick Start Guide",
"snippet": "Step-by-step instructions for beginners"
},
{
"level": 3,
"title": "Authentication",
"snippet": "How to set up API keys and authentication"
}
]
},
{
"level": 2,
"title": "API Reference",
"snippet": "Complete documentation for all endpoints"
}
]
},
{
"level": 1,
"title": "Claude Models",
"snippet": "Overview of available Claude AI models",
"subsections": [
{
"level": 2,
"title": "Claude 3.5 Sonnet",
"snippet": "Most intelligent model for complex tasks"
},
{
"level": 2,
"title": "Claude 3 Haiku",
"snippet": "Fastest model for simple tasks"
}
]
}
]
},
"metadata": {
"estimated_read_time": 8,
"max_depth": 3,
"total_sections": 16,
"word_count": 2140
}
}

Response Fields

outline.sections: Hierarchical array of content sections with titles and snippets
metadata.total_sections: Total number of sections found in the content
metadata.estimated_read_time: Estimated reading time in minutes
metadata.max_depth: Maximum nesting level of the outline structure

Use Cases

Perfect for content analysis and organization

• Documentation Analysis: Structure large docs into navigable outlines
• Content Planning: Extract hierarchical structure from competitor content
• Research Organization: Organize web research into structured formats
• Information Architecture: Understand content organization patterns
• Content Migration: Preserve structure when moving content between platforms