Skip to main content
POST
/
api
/
registry
/
expand
/
product-identifiers
Expand product identifiers
curl --request POST \
  --url https://agenticadvertising.org/api/registry/expand/product-identifiers \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_url": "<string>",
  "publisher_properties": [
    {
      "publisher_domain": "examplepub.com",
      "property_types": [
        "<string>"
      ],
      "property_ids": [
        "<string>"
      ],
      "tags": [
        "<string>"
      ]
    }
  ]
}
'
import requests

url = "https://agenticadvertising.org/api/registry/expand/product-identifiers"

payload = {
"agent_url": "<string>",
"publisher_properties": [
{
"publisher_domain": "examplepub.com",
"property_types": ["<string>"],
"property_ids": ["<string>"],
"tags": ["<string>"]
}
]
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
agent_url: '<string>',
publisher_properties: [
{
publisher_domain: 'examplepub.com',
property_types: ['<string>'],
property_ids: ['<string>'],
tags: ['<string>']
}
]
})
};

fetch('https://agenticadvertising.org/api/registry/expand/product-identifiers', 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/registry/expand/product-identifiers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'agent_url' => '<string>',
'publisher_properties' => [
[
'publisher_domain' => 'examplepub.com',
'property_types' => [
'<string>'
],
'property_ids' => [
'<string>'
],
'tags' => [
'<string>'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://agenticadvertising.org/api/registry/expand/product-identifiers"

payload := strings.NewReader("{\n \"agent_url\": \"<string>\",\n \"publisher_properties\": [\n {\n \"publisher_domain\": \"examplepub.com\",\n \"property_types\": [\n \"<string>\"\n ],\n \"property_ids\": [\n \"<string>\"\n ],\n \"tags\": [\n \"<string>\"\n ]\n }\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://agenticadvertising.org/api/registry/expand/product-identifiers")
.header("Content-Type", "application/json")
.body("{\n \"agent_url\": \"<string>\",\n \"publisher_properties\": [\n {\n \"publisher_domain\": \"examplepub.com\",\n \"property_types\": [\n \"<string>\"\n ],\n \"property_ids\": [\n \"<string>\"\n ],\n \"tags\": [\n \"<string>\"\n ]\n }\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://agenticadvertising.org/api/registry/expand/product-identifiers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent_url\": \"<string>\",\n \"publisher_properties\": [\n {\n \"publisher_domain\": \"examplepub.com\",\n \"property_types\": [\n \"<string>\"\n ],\n \"property_ids\": [\n \"<string>\"\n ],\n \"tags\": [\n \"<string>\"\n ]\n }\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "agent_url": "<string>",
  "properties": [
    "<unknown>"
  ],
  "identifiers": [
    {
      "type": "<string>",
      "value": "<string>",
      "property_id": "<string>",
      "publisher_domain": "<string>"
    }
  ],
  "property_count": 123,
  "identifier_count": 123,
  "generated_at": "<string>"
}

Body

application/json
agent_url
string
required
publisher_properties
object[]
required

Response

200 - application/json

Expanded identifiers

agent_url
string
required
properties
any[]
required
identifiers
object[]
required
property_count
integer
required
identifier_count
integer
required
generated_at
string
required