perpAnnotation

Returns the human-readable annotation (category, description, and keywords) for a single perpetual asset.

Field
Type
Description

type

string

Must be "perpAnnotation"

coin

string

Perp asset name, including the DEX prefix for builder-deployed perps (e.g. "xyz:TSLA"). Required. Only perp assets are accepted — spot and outcome markets are rejected.

Request

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "perpAnnotation",
    "coin": "xyz:TSLA"
  }'

Response Fields

Returns null if the asset has no annotation.

Field
Type
Description

category

string

Asset category (e.g. "stocks", "crypto", "commodities", "indices", "FX")

description

string

Human-readable description of the underlying asset

displayName

string

Display name for the asset

keywords

array?

Optional list of search keywords

Response

Last updated