# Güncel Fiyat Listesi

### Uç-nokta: /prices/:id

[API URL](/tr/api-klavuzu/api-url.md)

### İstek Metodu: <mark style="color:green;">GET</mark>

### Header Parametreleri

<table><thead><tr><th width="154">parametre</th><th width="138">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>Authorization</td><td>string</td><td>Bearer &#x3C;API KEY> <a data-mention href="#curl-istek-oernegi">#curl-istek-oernegi</a> <a data-mention href="/pages/zRc6fGV2hPXt2r6jcjmm">/pages/zRc6fGV2hPXt2r6jcjmm</a></td></tr></tbody></table>

### İstek Parametreleri

<table><thead><tr><th width="153">parametre</th><th width="140">tipi</th><th width="354">açıklama</th><th>zorunlu</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>İlaca ait atanmış olan tekil ürün id bilgisi. Bu bilgiye /products metodunda bulunan id alanından alınabilir.</td><td><strong>hayır</strong></td></tr><tr><td>page</td><td>integer</td><td>Sayfa numarası <a data-mention href="/pages/LCWrIEr2Oa1wcVJ3MAsR">/pages/LCWrIEr2Oa1wcVJ3MAsR</a></td><td>hayır</td></tr><tr><td>per-page</td><td>integer</td><td>Bir sayfada bulunması istenen kayıt sayısı. Üst limit 500. </td><td>hayır</td></tr></tbody></table>

### Cevap Parametreleri

#### <mark style="color:green;">data</mark>

Cevaplar **data** zarfı içinde aşağıdaki parametreleri içeriyor

<table><thead><tr><th width="208">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>product</td><td>product </td><td><a data-mention href="#product">#product</a></td></tr><tr><td>price</td><td>price</td><td><a data-mention href="#price">#price</a></td></tr></tbody></table>

#### <mark style="color:green;">product</mark>

<table><thead><tr><th width="137">parametre</th><th width="105">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>id</td><td>integer</td><td>ürün tekil id'si</td></tr><tr><td>name</td><td>string</td><td><p>ürün ismi (drug + drugform + product şeklinde oluşturulmaktadır).</p><p></p><p><img src="/files/aEWWuFG9nyLGbhsCXD7s" alt="" data-size="original"></p><p> </p></td></tr></tbody></table>

#### <mark style="color:green;">price</mark>

<table><thead><tr><th width="221">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>effectiveDate</td><td>date</td><td>ilacın fiyat bilgisinin geçerli olduğu tarih. <br><br>İlaçlar 1'den fazla fiyata sahip olabilirler. Fiyatları güncellendikçe, yeni fiyatlar geçerli olma tarihleriyle birlikte (effectiveDate) kaydedilir. </td></tr><tr><td>factory</td><td>integer</td><td>üretici firmanın, ecza depolarına satış yaptığı fiyat (KDV hariç)</td></tr><tr><td>storage</td><td>integer</td><td>ecza depolarının hastanelere veya eczanelere satış yaptığı fiyat (KDV hariç)</td></tr><tr><td>taxPercent</td><td>integer</td><td>ilacın KDV oranı<br><br>Örneğin<br>"8" = %8</td></tr><tr><td>retail</td><td>integer</td><td>KDV dahil perakende satış fiyatı</td></tr><tr><td>storageBased</td><td>boolean</td><td><mark style="color:green;">true =</mark> ilaç depocu fiyatlı ürün sınıfındadır. Bu ürünlerin perakende satışları olmaz. Sadece hastanelerde satılan ürünler bu sınıftadır<br><mark style="color:red;">false =</mark> </td></tr><tr><td>pharmacy</td><td>integer</td><td>KDV hariç eczane satış fiyatı</td></tr><tr><td>publicPrice</td><td>integer</td><td>SGK tarafından belirlenen kamu fiyatı (KDV hariç)</td></tr><tr><td>publicPriceVat</td><td>integer</td><td>KDV dahil kamu fiyatı</td></tr><tr><td>publicPaidPrice</td><td>publicPaidPrice </td><td><a data-mention href="#publicpaidprice">#publicpaidprice</a></td></tr><tr><td>currencyCode</td><td>string</td><td>fiyatın döviz tipi. <br>Dönen cevap; TRY, USD, EUR olabilir</td></tr><tr><td>abroadProduct</td><td>boolean</td><td><mark style="color:green;">true =</mark> yurtdışı ilaç sınıfındadır.<br><mark style="color:red;">false =</mark> Türkiye'de ruhsatlı ilaç sınıfındadır</td></tr><tr><td>abroadPublicPaidPrice</td><td>integer</td><td>yurtdışı ilaçların kamu ödenen fiyatı</td></tr><tr><td>abroadPublicPrice</td><td>integer</td><td>yurtdışı ilaçların kamu fiyatı</td></tr><tr><td>abroadRetail</td><td>integer</td><td>yurtdışı ilaçların perakende satış fiyatı</td></tr></tbody></table>

#### <mark style="color:green;">publicPaidPrice</mark>

<table><thead><tr><th width="222">parametre</th><th width="222">tipi</th><th>açıklama</th></tr></thead><tbody><tr><td>price</td><td>integer</td><td>SGK tarafından geri ödenen kamu fiyatı (KDV hariç)</td></tr><tr><td>priceVatInc</td><td>integer</td><td>KDV dahil SGK tarafından ödenen kamu fiyatı</td></tr><tr><td>discountedPriceVatInc</td><td>integer</td><td></td></tr><tr><td>groupCode</td><td>string</td><td>SGK tarafından belirlenen eşdeğer grup kodu</td></tr><tr><td>groupLowestUnitPrice</td><td>boolean</td><td><mark style="color:green;">true =</mark> eşdeğer grubu içerisinde en düşük birim fiyata sahip ürün<br><mark style="color:red;">false =</mark> </td></tr></tbody></table>

### <mark style="color:blue;">curl</mark> İstek Örneği

```powershell
curl --location 'https://api.vapi.co/prices' \
--header 'Authorization: Bearer <API KEY>' \
```

```
curl --location 'https://api.vapi.co/prices/3195' \
--header 'Authorization: Bearer <API KEY>' \
```

### <mark style="color:blue;">postman</mark> İstek Örneği

### Cevap örneği

**Liste Sonucu**

```json
{
    "data": [
        {
            "product": {
                "id": 147,
                "name": "DELODAY Şurup 0.5 mg/ml 150 ml'lik şişe"
            },
            "price": {
                "effectiveDate": "2022-08-30",
                "factory": 14.17,
                "storage": 15.4,
                "taxPercent": 8,
                "retail": 21.29,
                "storageBased": false,
                "pharmacy": 19.71,
                "discountRate": 0,
                "publicPrice": 19.71,
                "publicPriceVat": 21.29,
                "publicPaidPrice": [
                    {
                        "price": 19.57,
                        "priceVatInc": 21.14,
                        "discountedPriceVatInc": 20.4,
                        "groupCode": "E394A",
                        "groupLowestUnitPrice": false
                    }
                ],
                "currencyCode": "TRY",
                "abroadProduct": false,
                "abroadPublicPaidPrice": null,
                "abroadPublicPrice": null,
                "abroadRetail": null
            }
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/prices?page=1&per-page=500"
        },
        "first": {
            "href": "https://api.vapi.co/prices?page=1&per-page=500"
        },
        "last": {
            "href": "https://api.vapi.co/prices?page=54&per-page=500"
        },
        "next": {
            "href": "https://api.vapi.co/prices?page=2&per-page=500"
        }
    },
    "_meta": {
        "totalCount": 26686,
        "pageCount": 54,
        "currentPage": 1,
        "perPage": 500
    },
    "success": true
}
```

**Tekil Sonuç**

```json
{
    "data": {
        "product": {
            "id": 3195,
            "name": "ASPİRİN Tablet 100 mg (Çocuklar için) 20 tabletlik ambalaj"
        },
        "price": {
            "effectiveDate": "2023-12-25",
            "factory": 35.86,
            "storage": 38.72,
            "taxPercent": 10,
            "retail": 54.53,
            "storageBased": false,
            "pharmacy": 49.57,
            "discountRate": 0,
            "publicPrice": 49.57,
            "publicPriceVat": 54.53,
            "publicPaidPrice": [
                {
                    "price": 24.86,
                    "priceVatInc": 27.34,
                    "discountedPriceVatInc": 26.39,
                    "groupCode": "TR-020B",
                    "groupLowestUnitPrice": false
                }
            ],
            "currencyCode": "TRY",
            "abroadProduct": false,
            "abroadPublicPaidPrice": null,
            "abroadPublicPrice": null,
            "abroadRetail": null
        }
    },
    "success": true
}
```


---

# 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://doc.vapi.co/tr/api-klavuzu/ilaclar/fiyat/guncel-fiyat-listesi.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.
