Azure Container Registry
azure · Cloud
Metadata API definition for the Azure Container Registry runtime
Authentication
Sample Requests
Exchange Username, Password and Scope an ACR Access Token
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/oauth2/token?scope=example&service=example"
import requests
params = {
"scope": "example",
"service": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/oauth2/token",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/oauth2/token');
url.searchParams.set('scope', 'example');
url.searchParams.set('service', '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/azure.com/containerregistry/2019-08-15-preview/oauth2/token")
q := baseURL.Query()
q.Set("scope", "example")
q.Set("service", "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/azure.com/containerregistry/2019-08-15-preview/oauth2/token")
uri.query = URI.encode_www_form({
"scope" => "example",
"service" => "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/azure.com/containerregistry/2019-08-15-preview/oauth2/token?" . http_build_query([
"scope" => "example",
"service" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Tells whether this Docker Registry instance supports Docker Registry HTTP API v2
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/v2/"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/v2/",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/v2/'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/v2/"
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/azure.com/containerregistry/2019-08-15-preview/v2/")
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/azure.com/containerregistry/2019-08-15-preview/v2/";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List repositories
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog?n=1&last=example"
import requests
params = {
"n": "1",
"last": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog');
url.searchParams.set('n', '1');
url.searchParams.set('last', '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/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog")
q := baseURL.Query()
q.Set("n", "1")
q.Set("last", "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/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog")
uri.query = URI.encode_www_form({
"n" => "1",
"last" => "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/azure.com/containerregistry/2019-08-15-preview/acr/v1/_catalog?" . http_build_query([
"n" => "1",
"last" => "example"
]);
$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 Azure Container Registry?
Azure Container Registry is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Azure Container Registry is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide