# Drug Arama

### Uç-nokta: /drugs

[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 Anahtarı><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="383">açıklama</th><th>zorunlu</th></tr></thead><tbody><tr><td>name</td><td>string</td><td>Aratılmak istenen isim ilacın ismi. Girilen değer ilaç isminin başlangıcından itibaren aranır</td><td>hayır</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. <a data-mention href="/pages/LCWrIEr2Oa1wcVJ3MAsR">/pages/LCWrIEr2Oa1wcVJ3MAsR</a></td><td>hayır</td></tr></tbody></table>

### Cevap Parametreleri

Drug listesi [Drug Listesi](/tr/api-klavuzu/ilaclar/drug-listesi.md#cevap-parametreleri) bölümünden görüntülenebilir.&#x20;

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

```
curl --location 'https://api.vapi.co/drugs?name=aspiri' \
--header 'Authorization: Bearer API KEY'
```

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

<figure><img src="/files/CvG14wZANn23TPRvf2M1" alt=""><figcaption></figcaption></figure>

### Cevap örneği

```json
{
    "data": [
        {
            "drug": {
                "id": 276,
                "name": "ASPİRİN"
            }
        },
        {
            "drug": {
                "id": 4556,
                "name": "ASPİRİN COMPLEX"
            }
        },
        {
            "drug": {
                "id": 277,
                "name": "ASPİRİN FORTE"
            }
        },
        {
            "drug": {
                "id": 278,
                "name": "ASPİRİN PLUS C"
            }
        }
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
        },
        "first": {
            "href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
        },
        "last": {
            "href": "https://api.vapi.co/drugs?name=aspiri&page=1&per-page=200"
        }
    },
    "_meta": {
        "totalCount": 4,
        "pageCount": 1,
        "currentPage": 1,
        "perPage": 200
    },
    "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/drug-arama.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.
