For the complete documentation index, see llms.txt. This page is also available as Markdown.

batchPerpAnnotations

Get human-readable annotations for multiple perpetual assets in a single request.

Returns the human-readable annotation (category, description, display name, and keywords) for multiple perpetual assets in a single request. This is the batched form of perpAnnotation — results are returned as an object keyed by coin.

POST Request

Field
Type
Description

type

string

Must be "batchPerpAnnotations"

coins

array

Array of perp asset names, including the DEX prefix for builder-deployed perps (e.g. "xyz:TSLA"). Required, non-empty. Only perp assets are accepted — spot and outcome markets are rejected. Duplicates are de-duplicated.

Limits

You can query up to 100 coins at once. Requests exceeding this are rejected with a 400 error.

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

Response Fields

Field
Type
Description

annotations

object

Map of coin → annotation payload. Each value is the same object returned by perpAnnotation (category, description, displayName, keywords), or null if the perp has no annotation.

failed_coins

array

Coins whose underlying request failed (transport/HTTP error). Distinct from a successful null annotation.

A coin with no annotation appears in annotations with a null value — it is not a failure. Only coins whose node request errored land in failed_coins.

Response

Last updated