API Reference
Comprehensive documentation for the DeepRankAI API.
Endpoints
Getting Started
The DeepRankAI API allows you to integrate our powerful SEO and content optimization tools into your own applications. All API requests require authentication using an API key.
curl -X GET https://api.deeprankai.com/v1/auth/api-key \
-H "Authorization: Bearer YOUR_API_KEY"
Base URL
All API requests should be made to:
https://api.deeprankai.com
Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Authentication
Get API Key
Retrieve your API key for authentication.
curl -X GET https://api.deeprankai.com/v1/auth/api-key \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Refresh API Key
Generate a new API key and invalidate the old one.
curl -X POST https://api.deeprankai.com/v1/auth/refresh-key \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Content Analysis
Analyze URL
Analyze the content of a URL for SEO optimization.
curl -X POST https://api.deeprankai.com/v1/analyze/url \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Analyze Text
Analyze text content for SEO optimization.
curl -X POST https://api.deeprankai.com/v1/analyze/text \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Detect AI Content
Detect if content was generated by AI.
curl -X POST https://api.deeprankai.com/v1/analyze/ai-detection \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Keyword Research
Extract Keywords
Extract keywords from content.
curl -X POST https://api.deeprankai.com/v1/keywords/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Keyword Suggestions
Get keyword suggestions based on a seed keyword.
curl -X GET https://api.deeprankai.com/v1/keywords/suggestions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Keyword Metrics
Get metrics for specific keywords.
curl -X GET https://api.deeprankai.com/v1/keywords/metrics \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Content Generation
Generate Titles
Generate SEO-optimized titles for content.
curl -X POST https://api.deeprankai.com/v1/generate/titles \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Rephrase Text
Rephrase text while maintaining meaning.
curl -X POST https://api.deeprankai.com/v1/generate/rephrase \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Projects
List Projects
List all projects.
curl -X GET https://api.deeprankai.com/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Create Project
Create a new project.
curl -X POST https://api.deeprankai.com/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Get Project
Get details of a specific project.
curl -X GET https://api.deeprankai.com/v1/projects/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Update Project
Update a specific project.
curl -X PUT https://api.deeprankai.com/v1/projects/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Delete Project
Delete a specific project.
curl -X DELETE https://api.deeprankai.com/v1/projects/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
Need more help?
Check out our comprehensive documentation or contact our support team for assistance with API integration.