Get Keyword Performance
Changed onGet keyword-level search performance data from Google Search Console. Returns clicks, impressions, CTR, and average position for each keyword.
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Optional post ID belonging to this blog. Filter keywords by its current public URL; omit for blog-wide keywords. Search Console returns top rows, not every query.
Start date (YYYY-MM-DD). Defaults to 28 days ago.
End date (YYYY-MM-DD). Defaults to today.
Maximum number of results to return
Field to sort results by
Sort order
Response
Keyword performance data retrieved successfully
Example response
{
"data": [
{
"key": "inblog seo",
"clicks": 150,
"impressions": 3200,
"ctr": 0.047,
"position": 4.2
}
],
"meta": {
"start_date": "2025-01-01",
"end_date": "2025-01-28",
"total": 100,
"post_id": 456
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the new optional
queryrequest parameterpost_id - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added
subschema #2to theresponse propertyallOflist for the response status
- breaking