Analytics Reporting API
Accesses Analytics report data.
Data & analytics#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Accesses Analytics report data.
Endpoints 2
reports
- POSTanalyticsreporting.reports.batchGet
/v4/reports:batchGet?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&upload_protocol=string&uploadType=stringReturns the Analytics data.
userActivity
- POSTanalyticsreporting.userActivity.search
/v4/userActivity:search?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&upload_protocol=string&uploadType=stringReturns User Activity data.
API details
- Base URL
https://analyticsreporting.googleapis.com- Authentication
- OAuth 2.0 (implicit flow) with 2 scopes
OAuth 2.0 (authorization code flow) with 2 scopes - Operations
- 2 operations on 2 pathsPOST 2
- Main resources
- reports 1userActivity 1
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
v4 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Analytics Reporting API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Analytics Reporting API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “analyticsreporting.reports.batchGet” (POST /v4/reports:batchGet?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&upload_protocol=string&uploadType=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Analytics Reporting API?
Accesses Analytics report data. It is listed under Data & analytics and has 2 endpoints.
Who publishes the Analytics Reporting API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Analytics Reporting API?
Requests go to https://analyticsreporting.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Analytics Reporting API?
It accepts 2 methods: OAuth 2.0 (implicit flow) with 2 scopes; OAuth 2.0 (authorization code flow) with 2 scopes.
How many endpoints does the Analytics Reporting API have?
2 operations on 2 paths (2 POST). The largest groups are reports, userActivity.
Is forking the Analytics Reporting API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.