# API

#### API Overview

The Ortege API, built on the [Cube framework](https://cube.dev/docs/product/introduction), provides seamless access to blockchain data via multiple endpoints, supporting REST, GraphQL, and WebSocket interfaces. Our API is designed to meet the needs of both backend and frontend developers, with practical tutorials to guide you in integrating and consuming data.

To get started, download our [**Postman collection**](/en/ortege-products/api/postman-collection.md), follow our [**Authentication**](/en/ortege-products/api/authentication.md) guide to securely access the API, explore our [**Cubes**](/en/ortege-products/api/cubes.md) to understand the data structure, and review the [**Query Syntax**](/en/ortege-products/api/query-syntax.md) section for tips on forming efficient queries.

**Choose Your Path to Explore the API**:

1. [Postman Collection](/en/ortege-products/api/postman-collection.md): This collection includes pre-configured requests for each API endpoint, allowing you to quickly test and interact with the API without writing code.
2. [**Authentication**](/en/ortege-products/api/authentication.md): Learn how to securely authenticate with the Ortege API using JWT tokens.
3. [**Cubes**](/en/ortege-products/api/cubes.md): Discover the structure of our datasets, organized into cubes that allow efficient data querying and analysis.
4. [**Query Syntax**](/en/ortege-products/api/query-syntax.md): Understand the syntax options available for forming API requests, including REST and GraphQL queries.
5. [**Tutorials**](/en/ortege-products/api/tutorials.md): Follow hands-on guides to build applications with real use cases:
   * [**Consuming Stacks Stacking Data**](/en/ortege-products/api/tutorials/consuming-stacks-stacking-data.md)
   * [**Building a Bloomberg-Style Terminal**](/en/ortege-products/api/tutorials/build-a-bloomberg-style-terminal.md)

**Accessing the API**:

* **REST API**: Access via HTTP requests to interact with data through a simple REST interface.
* **GraphQL API**: Query data with flexible, precise data retrieval using GraphQL.
* **WebSocket API**: Set up real-time streams for dynamic applications requiring instant data updates.

Our API enables high-performance, scalable blockchain data access to power your applications, research, or analytics. Start by exploring each section in the navigation to deepen your understanding and make the most of Ortege’s comprehensive API.

***


---

# 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.ortege.ai/en/ortege-products/api.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.
