GET
/
v1
/
publications
/
domain
/
{domain}
Get publication by domain
import { ParagraphAPI } from "@paragraph_xyz/sdk"

const api = new ParagraphAPI()
const publication = await api.getPublicationByDomain("avc.xyz")
{
  "id": "<string>",
  "name": "<string>",
  "ownerUserId": "<string>",
  "slug": "<string>",
  "customDomain": "<string>",
  "summary": "<string>",
  "logoUrl": "<string>"
}

Path Parameters

domain
string
required

Custom domain of the publication

Response

Publication details retrieved successfully