The icon for a namespace, as an image. Unlike getBrand this returns bytes, so the endpoint URL can be used directly as an <img> src with no client code. Always succeeds for a well-formed namespace or identity, falling back to a generated monogram. The X-Brand-Source header carries the provenance getBrand would have reported. Does not require auth; results are not personalized.
Parameters
Output
*/*Errors
InvalidNamespace
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "InvalidNamespace"
}
],
"output": {
"encoding": "*/*"
},
"parameters": {
"type": "params",
"required": [
"namespace"
],
"properties": {
"namespace": {
"type": "string",
"maxLength": 317,
"description": "A namespace, NSID, handle or DID to resolve. A namespace is reverse-DNS ('fm.plyr.song'); a handle is not ('plyr.fm'). Both are accepted and are distinguished exactly, since a namespace cannot resolve as an identity."
}
}
},
"description": "The icon for a namespace, as an image. Unlike getBrand this returns bytes, so the endpoint URL can be used directly as an <img> src with no client code. Always succeeds for a well-formed namespace or identity, falling back to a generated monogram. The X-Brand-Source header carries the provenance getBrand would have reported. Does not require auth; results are not personalized."
}