---
title: "medpex API: Suggest | Perceptlayer"
description: "Suggest from medpex as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/medpex/suggest
---

[APIs](https://perceptlayer.com/apis) / [medpex](https://perceptlayer.com/apis/medpex) / Suggest

# medpex: Suggest

Suggest from medpex as JSON. 1 credit per successful call.

GET `/v1/medpex/suggest`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 100 characters |

## Example request

medpex

GET /v1/medpex/suggest?query=ibupro 

```
{
  "success": true,
  "data": {
    "query": "ibupro",
    "suggestions": [
      "ibuprofen",
      "ibuprofen 400",
      "ibuprofen 600"
    ],
    "phrases": [
      "ibuprofen",
      "ibuprofen 400",
      "ibuprofen 600"
    ],
    "total": 10
  },
  "meta": {
    "endpoint_family": "suggest"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/medpex?try=suggest#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 2 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `suggestions` | string\[\] |
| `phrases` | string\[\] |
