> For the complete documentation index, see [llms.txt](https://fortuna-protocol.gitbook.io/fortuna-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fortuna-protocol.gitbook.io/fortuna-docs/introduction/what-is-fortuna-farmework/oracle.md).

# Oracle

## Introduction

AI Oracle is an intelligent market resolution service that automatically determines prediction market outcomes using real-world data and AI reasoning.

### Key Features

* **AI-Powered Resolution** - Analyzes multiple data sources
* **Real-Time Data** - Crypto prices, news, web content
* **Transparent Evidence** - Full reasoning and sources provided
* **Multi-Category Support** - Crypto, sports, politics, finance, tech, events
* **REST API** - Simple integration
* **Solana Native** - Direct on-chain submissions

***

## How It Works

1. **Request** - Send your market question and criteria
2. **Gather** - AI fetches data from multiple sources
3. **Resolve** - Returns outcome, confidence score, and evidence

***

## Supported Categories

| Category | Example                               |
| -------- | ------------------------------------- |
| Crypto   | "Will BTC hit $200K by 2025?"         |
| Politics | "Will X win the election?"            |
| Sports   | "Will team X win?"                    |
| Finance  | "Will AAPL reach $250?"               |
| Tech     | "Will Apple release foldable iPhone?" |

***

## Best Practices

### Writing Good Predictions

✅ **Good:** "Will BTC exceed $150,000 on CoinGecko by March 31, 2025?"

* Specific, measurable, has deadline

❌ **Bad:** "Will Bitcoin moon?"

* Vague, no criteria, no timeframe

**Tips:**

* Be specific and measurable
* Reference verifiable sources
* Use UTC for deadlines
* Define edge cases


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://fortuna-protocol.gitbook.io/fortuna-docs/introduction/what-is-fortuna-farmework/oracle.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.
