Typescript
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>" }
Retrieve publication details using its custom domain
Custom domain of the publication
Publication details retrieved successfully