# Oracles

Provides connectivity across the various **Oracles.**

### GET Get Price

**Endpoint**: `/api/getPrice`

**Method**: `GET`

**Description**: Retrieve the current price for a specified asset.

**Parameters**:

* `assetId` (required): The unique identifier of the asset.

**Response**:

* `200 OK`: Returns a JSON object with the current price of the asset.
* `404 Not Found`: If the assetId does not exist.

**Example**:

```http
GET /api/getPrice?assetId=bitcoin
```

### GET Get Supported Tokens

**Endpoint**: `/api/getSupportedTokens`

**Method**: `GET`

**Description**: Fetch a list of all tokens currently supported by the service.

**Parameters**: None

**Response**:

* `200 OK`: Returns a JSON array containing supported tokens and their details.

**Example**:

```http
GET /api/getSupportedTokens
```


---

# 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.dexlens.io/sdk-and-api/api/oracles.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.
