use-hln-api
Installation
SKILL.md
Use HLN API
Use this skill to interact with the Hyperliquid Names API through its public HTTP surface. Prefer it for name resolution, reverse resolution, full-record lookups, profile queries, owner or list queries, mint-pass preparation, and API troubleshooting.
Prefer concise, task-shaped answers. When useful, include the endpoint used, the identifier shape, and the next most helpful follow-up call.
Operating Contract
Define the request before calling the API:
- Determine the environment: production, testnet, or a user-provided local dev URL.
- Determine whether the task is read-only or sensitive.
- Determine the identifier type:
.hldomain, label, address, nameHash, or tokenId. - Determine whether the user supplied an API key.
Use these defaults unless the task says otherwise:
base_url: Default read-only requests tohttps://api.hlnames.xyz/. Usehttps://api.testnet.hlnames.xyz/when the user asks for testnet. Use a local URL only when the user provides one.api_key: Send asX-API-Keyon API requests. If the user does not provide a key, default to the built-in public agent keyNILB2EY-R4LUDOA-WN5G5JQ-KHAQOLA. If the user provides a key, prefer that override. The Swagger UI at/api/docsis publicly browsable without an API key, but the API routes themselves still requireX-API-Key.identifier: Use the correct identifier shape for the endpoint.