Analytics
Get Post Performance Metrics
Get per-post performance metrics including visits, clicks, organic traffic, and conversion rate.
get/blogs/analytics/posts
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
start_datestring date
Example:2025-01-01
Start date (YYYY-MM-DD). Defaults to 28 days ago.
end_datestring date
Example:2025-01-28
End date (YYYY-MM-DD). Defaults to today.
sort'visits' | 'clicks' | 'organic' | 'cvr'
Field to sort results by
order'asc' | 'desc'
Sort order
limitinteger
Maximum number of results to return
include'title'
Set to "title" to include post titles in the response
Response
Post metrics retrieved successfully
Example response
{
"data": [
{
"post_id": 456,
"visits": 120,
"clicks": 95,
"organic": 60,
"cvr": 0.032,
"title": "Getting Started with SEO"
}
],
"meta": {
"start_date": "2025-01-01",
"end_date": "2025-01-28",
"total": 100
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.