Apigee API
googleapis · Analytics
Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days.
Authentication
Sample Requests
Gets a category on the portal.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}?alt=json&key=YOUR_API_KEY&tzo=example&sort=desc&topk=example&limit=10&fields=example&filter=example&format=INGRESS_CONFIG_VIEW_UNSPECIFIED&offset=0&select=example&sortby=example&$.xgafv=1&callback=example&realtime=true&timeUnit=example"aUser=example&timeRange=example&uploadType=example&oauth_token=example&prettyPrint=true&tsAscending=true&access_token=example&upload_protocol=example&envgroupHostname=example"import requests
params = {
"alt": "json",
"key": "YOUR_API_KEY",
"tzo": "example",
"sort": "desc",
"topk": "example",
"limit": "10",
"fields": "example",
"filter": "example",
"format": "INGRESS_CONFIG_VIEW_UNSPECIFIED",
"offset": "0",
"select": "example",
"sortby": "example",
"$.xgafv": "1",
"callback": "example",
"realtime": "true",
"timeUnit": "example",
"quotaUser": "example",
"timeRange": "example",
"uploadType": "example",
"oauth_token": "example",
"prettyPrint": "true",
"tsAscending": "true",
"access_token": "example",
"upload_protocol": "example",
"envgroupHostname": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}');
url.searchParams.set('alt', 'json');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('tzo', 'example');
url.searchParams.set('sort', 'desc');
url.searchParams.set('topk', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('fields', 'example');
url.searchParams.set('filter', 'example');
url.searchParams.set('format', 'INGRESS_CONFIG_VIEW_UNSPECIFIED');
url.searchParams.set('offset', '0');
url.searchParams.set('select', 'example');
url.searchParams.set('sortby', 'example');
url.searchParams.set('$.xgafv', '1');
url.searchParams.set('callback', 'example');
url.searchParams.set('realtime', 'true');
url.searchParams.set('timeUnit', 'example');
url.searchParams.set('quotaUser', 'example');
url.searchParams.set('timeRange', 'example');
url.searchParams.set('uploadType', 'example');
url.searchParams.set('oauth_token', 'example');
url.searchParams.set('prettyPrint', 'true');
url.searchParams.set('tsAscending', 'true');
url.searchParams.set('access_token', 'example');
url.searchParams.set('upload_protocol', 'example');
url.searchParams.set('envgroupHostname', 'example');
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/apigee/v1/v1/{name}")
q := baseURL.Query()
q.Set("alt", "json")
q.Set("key", "YOUR_API_KEY")
q.Set("tzo", "example")
q.Set("sort", "desc")
q.Set("topk", "example")
q.Set("limit", "10")
q.Set("fields", "example")
q.Set("filter", "example")
q.Set("format", "INGRESS_CONFIG_VIEW_UNSPECIFIED")
q.Set("offset", "0")
q.Set("select", "example")
q.Set("sortby", "example")
q.Set("$.xgafv", "1")
q.Set("callback", "example")
q.Set("realtime", "true")
q.Set("timeUnit", "example")
q.Set("quotaUser", "example")
q.Set("timeRange", "example")
q.Set("uploadType", "example")
q.Set("oauth_token", "example")
q.Set("prettyPrint", "true")
q.Set("tsAscending", "true")
q.Set("access_token", "example")
q.Set("upload_protocol", "example")
q.Set("envgroupHostname", "example")
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/apigee/v1/v1/{name}")
uri.query = URI.encode_www_form({
"alt" => "json",
"key" => "YOUR_API_KEY",
"tzo" => "example",
"sort" => "desc",
"topk" => "example",
"limit" => "10",
"fields" => "example",
"filter" => "example",
"format" => "INGRESS_CONFIG_VIEW_UNSPECIFIED",
"offset" => "0",
"select" => "example",
"sortby" => "example",
"$.xgafv" => "1",
"callback" => "example",
"realtime" => "true",
"timeUnit" => "example",
"quotaUser" => "example",
"timeRange" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"tsAscending" => "true",
"access_token" => "example",
"upload_protocol" => "example",
"envgroupHostname" => "example"
})
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/apigee/v1/v1/{name}?" . http_build_query([
"alt" => "json",
"key" => "YOUR_API_KEY",
"tzo" => "example",
"sort" => "desc",
"topk" => "example",
"limit" => "10",
"fields" => "example",
"filter" => "example",
"format" => "INGRESS_CONFIG_VIEW_UNSPECIFIED",
"offset" => "0",
"select" => "example",
"sortby" => "example",
"$.xgafv" => "1",
"callback" => "example",
"realtime" => "true",
"timeUnit" => "example",
"quotaUser" => "example",
"timeRange" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"tsAscending" => "true",
"access_token" => "example",
"upload_protocol" => "example",
"envgroupHostname" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));ListSecurityProfileRevisions lists all the revisions of the security profile.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}:listRevisions?alt=json&key=YOUR_API_KEY&fields=example&$.xgafv=1&callback=example&pageSize=1&pageToken=example"aUser=example&uploadType=example&oauth_token=example&prettyPrint=true&access_token=example&upload_protocol=example"import requests
params = {
"alt": "json",
"key": "YOUR_API_KEY",
"fields": "example",
"$.xgafv": "1",
"callback": "example",
"pageSize": "1",
"pageToken": "example",
"quotaUser": "example",
"uploadType": "example",
"oauth_token": "example",
"prettyPrint": "true",
"access_token": "example",
"upload_protocol": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}:listRevisions",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{name}:listRevisions');
url.searchParams.set('alt', 'json');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('fields', 'example');
url.searchParams.set('$.xgafv', '1');
url.searchParams.set('callback', 'example');
url.searchParams.set('pageSize', '1');
url.searchParams.set('pageToken', 'example');
url.searchParams.set('quotaUser', 'example');
url.searchParams.set('uploadType', 'example');
url.searchParams.set('oauth_token', 'example');
url.searchParams.set('prettyPrint', 'true');
url.searchParams.set('access_token', 'example');
url.searchParams.set('upload_protocol', 'example');
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/apigee/v1/v1/{name}:listRevisions")
q := baseURL.Query()
q.Set("alt", "json")
q.Set("key", "YOUR_API_KEY")
q.Set("fields", "example")
q.Set("$.xgafv", "1")
q.Set("callback", "example")
q.Set("pageSize", "1")
q.Set("pageToken", "example")
q.Set("quotaUser", "example")
q.Set("uploadType", "example")
q.Set("oauth_token", "example")
q.Set("prettyPrint", "true")
q.Set("access_token", "example")
q.Set("upload_protocol", "example")
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/apigee/v1/v1/{name}:listRevisions")
uri.query = URI.encode_www_form({
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"$.xgafv" => "1",
"callback" => "example",
"pageSize" => "1",
"pageToken" => "example",
"quotaUser" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"access_token" => "example",
"upload_protocol" => "example"
})
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/apigee/v1/v1/{name}:listRevisions?" . http_build_query([
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"$.xgafv" => "1",
"callback" => "example",
"pageSize" => "1",
"pageToken" => "example",
"quotaUser" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"access_token" => "example",
"upload_protocol" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets the IAM policy on an environment. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.getIamPolicy` permission to call this API.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{resource}:getIamPolicy?alt=json&key=YOUR_API_KEY&fields=example&$.xgafv=1&callback=example"aUser=example&uploadType=example&oauth_token=example&prettyPrint=true&access_token=example&upload_protocol=example&options.requestedPolicyVersion=1"import requests
params = {
"alt": "json",
"key": "YOUR_API_KEY",
"fields": "example",
"$.xgafv": "1",
"callback": "example",
"quotaUser": "example",
"uploadType": "example",
"oauth_token": "example",
"prettyPrint": "true",
"access_token": "example",
"upload_protocol": "example",
"options.requestedPolicyVersion": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{resource}:getIamPolicy",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/googleapis.com/apigee/v1/v1/{resource}:getIamPolicy');
url.searchParams.set('alt', 'json');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('fields', 'example');
url.searchParams.set('$.xgafv', '1');
url.searchParams.set('callback', 'example');
url.searchParams.set('quotaUser', 'example');
url.searchParams.set('uploadType', 'example');
url.searchParams.set('oauth_token', 'example');
url.searchParams.set('prettyPrint', 'true');
url.searchParams.set('access_token', 'example');
url.searchParams.set('upload_protocol', 'example');
url.searchParams.set('options.requestedPolicyVersion', '1');
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/apigee/v1/v1/{resource}:getIamPolicy")
q := baseURL.Query()
q.Set("alt", "json")
q.Set("key", "YOUR_API_KEY")
q.Set("fields", "example")
q.Set("$.xgafv", "1")
q.Set("callback", "example")
q.Set("quotaUser", "example")
q.Set("uploadType", "example")
q.Set("oauth_token", "example")
q.Set("prettyPrint", "true")
q.Set("access_token", "example")
q.Set("upload_protocol", "example")
q.Set("options.requestedPolicyVersion", "1")
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/apigee/v1/v1/{resource}:getIamPolicy")
uri.query = URI.encode_www_form({
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"$.xgafv" => "1",
"callback" => "example",
"quotaUser" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"access_token" => "example",
"upload_protocol" => "example",
"options.requestedPolicyVersion" => "1"
})
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/apigee/v1/v1/{resource}:getIamPolicy?" . http_build_query([
"alt" => "json",
"key" => "YOUR_API_KEY",
"fields" => "example",
"$.xgafv" => "1",
"callback" => "example",
"quotaUser" => "example",
"uploadType" => "example",
"oauth_token" => "example",
"prettyPrint" => "true",
"access_token" => "example",
"upload_protocol" => "example",
"options.requestedPolicyVersion" => "1"
]);
$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 Apigee API?
Apigee API 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. Apigee API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?