# Hyperliquid — Retrieve outcome templates

Get Hyperliquid Outcome Templates data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as type, and retrieve structured data including template identifier, template name pattern, template description pattern, template keyword definitions, and template role configuration for template browsers, and configuration tools, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/hyperliquid/hyperliquid-retrieve-outcome-templates/ac992aa6-75b5-4656-bd0b-19f553c3db17/
API ID: ac992aa6-75b5-4656-bd0b-19f553c3db17
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/outcome-templates
Page update time: 2026-12-03T02:49:36.159Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:35.806Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Outcome Templates API

POST type="outcomeTemplates". The response is an array of template definitions with id, name, description, keywords and role. Text patterns may contain template slots; the query lists definitions rather than filling their values or creating an outcome.

## What You Can Build

- **Template browsers**: Display each definition with its identifier.
- **Configuration tools**: Retain keyword and role definitions with their own template.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `[].id` | Template identifier |
| `[].name` | Template name pattern |
| `[].description` | Template description pattern |
| `[].keywords` | Template keyword definitions |
| `[].role` | Template role configuration |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Retrieve outcome templates request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "type": "outcomeTemplates"
        }
      ],
      "properties": {
        "type": {
          "const": "outcomeTemplates",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "outcomeTemplates"
          ],
          "example": "outcomeTemplates",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object",
      "description": "Retrieve outcome templates Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "description": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "keywords": {
        "type": "array",
        "items": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "name": {
        "type": "string"
      },
      "role": {
        "type": "object",
        "properties": {
          "standaloneOutcome": {
            "type": "object",
            "properties": {
              "sideNames": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "questionOutcome": {
            "type": "object",
            "properties": {
              "parent": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/outcome-templates' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "type": "outcomeTemplates"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[
  {
    "description": "This market compares {modelA} ({shortNameA}) and {modelB} ({shortNameB}) on {dateTime} using {leaderboard} at {leaderboardUrl}. Benchmark version, category, filters, and evaluation settings are {benchmarkSettings}, applied identically to both models. Each model is the exact version and configuration identified by its leaderboard name. Renames count only if the leaderboard publisher identifies the same model; replacements and other configurations do not. A relocated or renamed leaderboard counts only if its publisher identifies the same evaluation with the specified settings. The Snapshot is the latest official leaderboard version matching those settings public at or before {dateTime}. Proof requires official publication metadata identifying that version or a verifiable timestamped capture of its contents by then. A date alone suffices only if the entire date precedes the deadline in an established timezone. Later captures qualify only if official metadata or earlier captures prove identical contents public by the deadline. Official version order prevails; capture order alone does not order versions. Unresolved conflicts over version selection or required facts leave them unestablished. Comparison favors the {comparisonDirection} value of {metric}, where direction is higher or lower. Tiebreakers are {tiebreakers}, with each metric and direction specified; none means no tiebreakers. They apply in the specified order only after equality on all earlier criteria. Only specified cr",
    "id": "aiModelHeadToHead",
    "keywords": [
      [
        "benchmarkSettings",
        "string"
      ],
      [
        "comparisonDirection",
        "string"
      ],
      [
        "dateTime",
        "dateTime"
      ]
    ],
    "name": "{shortNameA} v {shortNameB}: {leaderboard} on {dateTime}",
    "role": {
      "standaloneOutcome": {
        "sideNames": [
          "{shortNameA}",
          "{shortNameB}"
        ]
      }
    }
  },
  {
    "description": "This outcome resolves to Yes if, under the parent question's rules, it is the earliest registered candidate not otherwise resolved to No that identifies the one winning entry of the Award, and otherwise resolves to No. Its Subject is {subject}. A Subject that identifies a work, group, or named person on more than one entry, or that {candidate} does not name in full or in short form, identifies no entry. Resolution follows the parent question's timing and source rules. {candidate} is a display label.",
    "id": "awardCandidate",
    "keywords": [
      [
        "candidate",
        "string"
      ],
      [
        "subject",
        "string"
      ]
    ],
    "name": "{candidate}",
    "role": {
      "questionOutcome": {
        "parent": "awardWinner"
      }
    }
  },
  {
    "description": "This {field} market covers whether {entry} wins the {period} {award} (the \"Award\"). {entry} identifies, in the Award's context, one person, group, organization, or work and need not be a nominee. {entry} wins if official channels have named it as of fixing, under any name unambiguously identifying it, as a winner, recipient, laureate, fellow, or honoree of the Award, including as a named recipient for a winning work, team, or group, or as the work for which a winner is named; being credited on, a member of, affiliated with, or accepting for a winning entry without being so named does not count. A result is complete once official channels have announced every winner of the Award; nominations, shortlists, and partial announcements do not complete it. Official channels are the publications, events, and broadcasts of {awardingBody} and the Award's conferring body and administrator. The trigger is the earliest verifiable announcement on an official channel that establishes a Yes or No condition below; an announcement is not a trigger if, within one hour after it and before {resolutionDeadline}, it is withdrawn or removed or an official channel contradicts it. Fixing is the earlier of one hour after the trigger and {resolutionDeadline}, or {resolutionDeadline} without a trigger. Facts are as official channels have stated them as of fixing; a verifiably later statement supersedes earlier ones on the same channel or made at an event or broadcast, an explicit correction by fixing prev",
    "id": "awardEntryWins",
    "keywords": [
      [
        "award",
        "string"
      ],
      [
        "awardingBody",
        "string"
      ],
      [
        "displayName",
        "string"
      ]
    ],
    "name": "{displayName} wins {period} {award}?",
    "role": {
      "standaloneOutcome": {
        "sideNames": [
          "Yes",
          "No"
        ]
      }
    }
  }
]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Are returned names already instantiated outcome names?
They can be template patterns. Keep template slots distinct from completed outcome values.

### Does this API fill the template or create an outcome?
No. It lists definitions. Filling a template and creating an outcome require a separately managed workflow.

### Is role identical for every template?
Preserve each template’s returned role object rather than assuming one fixed role shape for all templates.

### Can I request one template ID or submit keyword values?
This implementation accepts its fixed type only. It does not expose a template selector or instantiation body.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- hyperliquid: https://openany.si/hyperliquid/hyperliquid-retrieve-outcome-templates/ac992aa6-75b5-4656-bd0b-19f553c3db17/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
