Skip to main content
GET
/
v1
/
coins
/
{id}
Get coin by ID
import { ParagraphAPI } from "@paragraph_xyz/sdk"

const api = new ParagraphAPI()
const coin = await api.getCoin("S2AlaNG5Hw0NdNptmLTw")
{
  "id": "<string>",
  "contractAddress": "<string>",
  "symbol": "<string>",
  "postId": "<string>"
}

Path Parameters

id
string
required

Paragraph-internal unique identifier for the coin

Response

Coin details retrieved successfully

id
string
required

Unique identifier for the coin

contractAddress
string
required

Base contract address for the coin

symbol
string
required

Token symbol

postId
string
required

ID of the post this token is associated with

I