curl --request GET \
--url https://agenticadvertising.org/v1/agents/{encodedUrl}/publishersimport requests
url = "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"agent_url": "<string>",
"directory_indexed_at": "2023-11-07T05:31:56Z",
"publishers": [
{
"publisher_domain": "<string>",
"discovery_method": "direct",
"manager_domain": "<string>",
"properties_authorized": 1,
"properties_total": 1,
"signing_keys_pinned": true,
"status": "authorized",
"last_verified_at": "2023-11-07T05:31:56Z",
"property_ids": [
"<string>"
]
}
],
"next_cursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}AAO directory inverse-lookup
Given a percent-encoded agent_url, returns the publishers whose adagents.json authorizes that agent, with provenance (discovery_method, manager_domain), per-publisher property counts (properties_authorized, properties_total, scoped to this publisher only — never network-wide), signing-key pin status, and lifecycle state (authorized / revoked).
Spec: docs/aao/directory-api.mdx (adcp#4823). This endpoint is the spec-compliant richer-shape replacement for the legacy /api/registry/lookup/agent/{agentUrl}/domains, which returns domain strings only.
agent_url is matched with the adagents.json agent URL matching rule, after AdCP URL canonicalization of both sides. A publisher whose authorized_agents[].url is origin-only (https://a.example or https://a.example/) authorizes every agent URL with that canonical origin (same scheme, host and port), so it is returned for https://a.example/mcp and https://a.example/a2a alike (DR-0023, AdCP 3.3). An entry with a path matches that canonical URL only, and a non-root trailing slash is significant: https://a.example/mcp and https://a.example/mcp/ are different agents and can return different publisher sets. Ask for the spelling the publisher’s adagents.json lists. (Through 2026-10-18 this endpoint folded the two trailing-slash spellings together and answered both with the slashless agent’s publishers; that disagreed with the spec and with the validator.) The agent_url in the response echoes the canonicalized lookup key, slash included.
curl --request GET \
--url https://agenticadvertising.org/v1/agents/{encodedUrl}/publishersimport requests
url = "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/v1/agents/{encodedUrl}/publishers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"agent_url": "<string>",
"directory_indexed_at": "2023-11-07T05:31:56Z",
"publishers": [
{
"publisher_domain": "<string>",
"discovery_method": "direct",
"manager_domain": "<string>",
"properties_authorized": 1,
"properties_total": 1,
"signing_keys_pinned": true,
"status": "authorized",
"last_verified_at": "2023-11-07T05:31:56Z",
"property_ids": [
"<string>"
]
}
],
"next_cursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Query Parameters
Opt into expanded per-row fields — repeat the key once per value. v1: properties adds property_ids[] to each PublisherEntry so consumers can run full set-diff against a federated fetch (count-equality is not set-equality). Unknown values return 400. The comma-separated form is rejected with 400.
properties Was this page helpful?