# Introduction

{% hint style="info" %}
This documentation is still in its early stages. You are welcome to contribute, point out unclarity, or add new endpoints/documentation [via GitHub](https://github.com/core-hacked/tunein-api/pulls).
{% endhint %}

## Before You Begin

The base URI for all requests is `https://opml.radiotime.com` you will use this to get the data necessary to stream/play music or podcasts.

## API Organization

The API is organized into three parts.

[<mark style="color:blue;">1. The API basics, like this introduction and information on how to get started.</mark> ](https://tunein-api.corehacked.com/api-basics/readme)

[<mark style="color:blue;">2. T</mark>](https://github.com/core-hacked/tunein-api/blob/master/broken-reference/README.md)[<mark style="color:blue;">he endpoints, additional information on their response fields/data and how to stream music from the API.</mark>](https://tunein-api.corehacked.com/endpoints-and-streaming/endpoints)&#x20;

[<mark style="color:blue;">3. Credits, helpful resources & basis for the documentation.</mark>](https://github.com/core-hacked/tunein-api/blob/master/broken-reference/README.md)

#### Meaning of different colors within the API Documentation.

| Color                                     | Description                                                                                                                                                   |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="color:yellow;">Yellow</mark> | Simplified explanation/TL:DR or used as a "warning" due to the elements or parameters etc. not being fully understood or unknown meaning of the said element. |
| <mark style="color:blue;">Blue</mark>     | Usually representing a link or information.                                                                                                                   |
| <mark style="color:green;">Green</mark>   | Representing something safe.                                                                                                                                  |
| <mark style="color:red;">Red</mark>       | Representing something unsafe.                                                                                                                                |


---

# 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://tunein-api.corehacked.com/api-basics/readme.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.
