curl --request GET \
--url https://agenticadvertising.org/api/v1/agents/{encodedUrl}/publishersimport requests
url = "https://agenticadvertising.org/api/v1/agents/{encodedUrl}/publishers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/api/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/api/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/api/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/api/v1/agents/{encodedUrl}/publishers")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/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>",
"manager_domain": "<string>",
"properties_authorized": 1,
"properties_total": 1,
"signing_keys_pinned": true,
"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.
curl --request GET \
--url https://agenticadvertising.org/api/v1/agents/{encodedUrl}/publishersimport requests
url = "https://agenticadvertising.org/api/v1/agents/{encodedUrl}/publishers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/api/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/api/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/api/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/api/v1/agents/{encodedUrl}/publishers")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/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>",
"manager_domain": "<string>",
"properties_authorized": 1,
"properties_total": 1,
"signing_keys_pinned": true,
"last_verified_at": "2023-11-07T05:31:56Z",
"property_ids": [
"<string>"
]
}
],
"next_cursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Path Parameters
Percent-encoded agent_url
Query Parameters
ISO 8601 — return only publishers with last_verified_at ≥ since
Opaque pagination cursor returned by a prior response
Lifecycle status filter — repeat the key once per value (?status=authorized&status=revoked). Default: authorized. The comma-separated single-value form is rejected with 400.
authorized, revoked 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 Page size, default 200, max 1000
1 <= x <= 1000Was this page helpful?