# registeredOutcomes

Returns a list of recently registered prediction market outcomes that have not yet been settled, ordered by most recent first.

## POST Request

<table><thead><tr><th width="161">Field</th><th width="119">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>type</code></td><td>string</td><td>Must be <code>"registeredOutcomes"</code></td></tr><tr><td><code>limit</code></td><td>integer</td><td>Max results to return, default 50, max 50 (optional)</td></tr><tr><td><code>name</code></td><td>string</td><td>Filter by outcome name (optional)</td></tr><tr><td><code>class</code></td><td>string</td><td>Filter by outcome class, e.g. <code>"priceBinary"</code> (optional)</td></tr><tr><td><code>underlying</code></td><td>string</td><td>Filter by underlying asset, e.g. <code>"HYPE"</code> (optional)</td></tr><tr><td><code>period</code></td><td>string</td><td>Filter by period, e.g. <code>"15m"</code> (optional)</td></tr></tbody></table>

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "registeredOutcomes",
    "limit": 10,
    "underlying": "HYPE"
  }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
import os

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'registeredOutcomes',
        'limit': 10,
        'underlying': 'HYPE'
    },
    headers={
        'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
        'Content-Type': 'application/json'
    }
)

print(response.json())
```

{% endtab %}

{% tab title="Javascript" %}

```javascript
import axios from 'axios';

try {
    const response = await axios.post('https://api.hydromancer.xyz/info', {
        type: 'registeredOutcomes',
        limit: 10,
        underlying: 'HYPE'
    }, {
        headers: {
            'Authorization': `Bearer ${process.env.HYDROMANCER_API_KEY}`,
            'Content-Type': 'application/json'
        }
    });

    console.log(response.data);
} catch (error) {
    console.error('Error:', error.message);
}
```

{% endtab %}
{% endtabs %}

***

## Response Fields

Returns an array of outcome objects. Each object consists of metadata and stats.

<details>

<summary>Response</summary>

```json
[
  {
    "outcomeId": 3636,
    "name": "Recurring",
    "description": "class:priceBinary|underlying:HYPE|expiry:20260409-1145|targetPrice:52.328|period:15m",
    "sideSpecs": [
      { "name": "Yes" },
      { "name": "No" }
    ],
    "class": "priceBinary",
    "underlying": "HYPE",
    "expiry": "20260409-1145",
    "targetPrice": "52.328",
    "period": "15m",
    "quoteToken": "1452",
    "yesAssetId": "#36360",
    "noAssetId": "#36361",
    "yesStats": {
      "coin": "#36360",
      "trades": 0,
      "uniqueTraders": 0,
      "volumeNotional": "0",
      "volumeContracts": "0",
      "lastPrice": "0",
      "vwap": 0.0,
      "minPrice": "0",
      "maxPrice": "0",
      "avgTradeNotional": 0.0,
      "medianTradeNotional": 0.0,
      "largestTrade": "0",
      "firstTrade": 0,
      "lastTrade": 0
    },
    "noStats": {
      "coin": "#36361",
      "trades": 0,
      "uniqueTraders": 0,
      "volumeNotional": "0",
      "volumeContracts": "0",
      "lastPrice": "0",
      "vwap": 0.0,
      "minPrice": "0",
      "maxPrice": "0",
      "avgTradeNotional": 0.0,
      "medianTradeNotional": 0.0,
      "largestTrade": "0",
      "firstTrade": 0,
      "lastTrade": 0
    }
  }
]
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hydromancer.xyz/readme/rest-api/outcomes/registeredoutcomes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
