AI-generated Key Takeaways
-
Retrieving pageview stats for a Blog requires authorization.
-
The GET request to
https://www.googleapis.com/blogger/v3/blogs/blogId/pageviewsis used to get page view data. -
The
blogIdparameter is required, and the optionalrangeparameter can specify the timeframe for the page view data. -
This request requires authorization using the
https://www.googleapis.com/auth/bloggerscope. -
A successful response returns a PageViews resource.
Requires authorization
Retrieve pageview stats for a Blog. Try it now .
Request
HTTP request
GET https://www.googleapis.com/blogger/v3/blogs/ blogId /pageviews
Parameters
blogId
string
range
string
Acceptable values are:
- "
30DAYS": Page view counts from the last thirty days. - "
7DAYS": Page view counts from the last seven days. - "
all": Total page view counts from all time.
Authorization
This request requires authorization with at least one of the following scopes ( read more about authentication and authorization ).
| Scope |
|---|
https://www.googleapis.com/auth/blogger
|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a PageViews resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.


