# Quick Start

## Make your first request

To make your first request, submit a request to the `price` endpoint. This will return the price in the specific fiat.

## Get Bitcoin price in fiat currency

<mark style="color:blue;">`GET`</mark> `/api/prices/{pair}`

The /api/prices endpoint allows you to retrieve real-time Bitcoin price in the fiat currency that you pass as a parameter

#### Query Parameters

| Name                                   | Type   | Description                              |
| -------------------------------------- | ------ | ---------------------------------------- |
| pair<mark style="color:red;">\*</mark> | String | Pair for which you want to get the price |

{% tabs %}
{% tab title="200 The request was successful, and the response contains the prices for the requested trading pairs." %}

```json
[{
   "EXCHANGE":"CoinGecko",
   "PAIR":"BTC_USD",
   "PRICE":"29,267.50",
   "TIMESTAMP":1690381874.0738702
},
{
   "EXCHANGE":"Blockchain.com",
   "PAIR":"BTC_USD","PRICE":"29.290,96",
   "TIMESTAMP":1690381968.9088767
},
{
   "EXCHANGE":"Yadio",
   "PAIR":"BTC_USD",
   "PRICE":"29,455",
   "TIMESTAMP":1690558576.920071
},
{
   "EXCHANGE":"CoinBasePro",
   "PAIR":"BTC_USD",
   "PRICE":"29,297.61",
   "TIMESTAMP":1690569372.876815
}]
```

{% endtab %}

{% tab title="500: Internal Server Error An unexpected error occurred on the server." %}

{% endtab %}

{% tab title="400 The request is invalid or missing required parameters." %}

{% endtab %}
{% endtabs %}

Examples:

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

```
curl 
```

{% endtab %}
{% endtabs %}


---

# 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://scrapcoinpro.gitbook.io/scrapcoin/quick-start.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.
