API Discovery Service
googleapis · Analytics
Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.
Authentication
Sample Requests
Retrieve the list of APIs supported at this endpoint.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis?alt=json&key=YOUR_API_KEY&name=test&fields=example&userIp=example&preferred=true"aUser=example&oauth_token=example&prettyPrint=true"
import requests
params = {
"alt": "json",
"key": "YOUR_API_KEY",
"name": "test",
"fields": "example",
"userIp": "example",
"preferred": "true",
"quotaUser": "example",
"oauth_token": "example",
"prettyPrint": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis');
url.searchParams.set('alt', 'json');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('name', 'test');
url.searchParams.set('fields', 'example');
url.searchParams.set('userIp', 'example');
url.searchParams.set('preferred', 'true');
url.searchParams.set('quotaUser', 'example');
url.searchParams.set('oauth_token', 'example');
url.searchParams.set('prettyPrint', 'true');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis")
q := baseURL.Query()
q.Set("alt", "json")
q.Set("key", "YOUR_API_KEY")
q.Set("name", "test")
q.Set("fields", "example")
q.Set("userIp", "example")
q.Set("preferred", "true")
q.Set("quotaUser", "example")
q.Set("oauth_token", "example")
q.Set("prettyPrint", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis")
uri.query = URI.encode_www_form({
"alt" => "json",
"key" => "YOUR_API_KEY",
"name" => "test",
"fields" => "example",
"userIp" => "example",
"preferred" => "true",
"quotaUser" => "example",
"oauth_token" => "example",
"prettyPrint" => "true"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis?" . http_build_query([
"alt" => "json",
"key" => "YOUR_API_KEY",
"name" => "test",
"fields" => "example",
"userIp" => "example",
"preferred" => "true",
"quotaUser" => "example",
"oauth_token" => "example",
"prettyPrint" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieve the description of a particular version of an api.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest?alt=json&key=YOUR_API_KEY&fields=example&userIp=example"aUser=example&oauth_token=example&prettyPrint=true"import requests
params = {
"alt": "json",
"key": "YOUR_API_KEY",
"fields": "example",
"userIp": "example",
"quotaUser": "example",
"oauth_token": "example",
"prettyPrint": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest');
url.searchParams.set('alt', 'json');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('fields', 'example');
url.searchParams.set('userIp', 'example');
url.searchParams.set('quotaUser', 'example');
url.searchParams.set('oauth_token', 'example');
url.searchParams.set('prettyPrint', 'true');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest")
q := baseURL.Query()
q.Set("alt", "json")
q.Set("key", "YOUR_API_KEY")
q.Set("fields", "example")
q.Set("userIp", "example")
q.Set("quotaUser", "example")
q.Set("oauth_token", "example")
q.Set("prettyPrint", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest")
uri.query = URI.encode_www_form({
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"userIp" => "example",
"quotaUser" => "example",
"oauth_token" => "example",
"prettyPrint" => "true"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/googleapis.com/discovery/v1/apis/{api}/{version}/rest?" . http_build_query([
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"userIp" => "example",
"quotaUser" => "example",
"oauth_token" => "example",
"prettyPrint" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with API Discovery Service?
API Discovery Service is a Analytics API. Developers commonly use analytics APIs for:
- tracking product usage and user behaviour
- building custom reporting and BI dashboards
- measuring marketing and campaign performance
- running funnel, retention, and cohort analysis
- aggregating metrics from multiple data sources
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. API Discovery Service is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide