Introduction

Welcome to the BlogHunter API documentation. Our API allows you to programmatically generate blog posts, manage your sites, and retrieve analytics data.

The API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

Authentication

Authenticate your API requests using your API key. You can manage your API keys in the dashboard settings.

Authorization: Bearer YOUR_API_KEY

Endpoints

Generate a Post

Create a new blog post based on a topic or keyword.

POST /api/v1/posts/generate
{
  "topic": "The Future of AI in Marketing",
  "keywords": ["AI", "marketing", "automation"],
  "tone": "professional"
}

List Posts

Retrieve a list of your generated posts.

GET /api/v1/posts

Rate Limits

The API is rate limited to 100 requests per minute per user. If you need higher limits, please contact support.