Skip to main content
GET
List drugs

Authorizations

Authorization
string
header
required

Use a personal or organization Pav API key from Pav developer settings. Send it as Authorization: Bearer <api_key>.

Query Parameters

q
string | null

Free text.

Maximum string length: 300
drug_id
string[] | null

Drug ids, comma-separated.

Example:

"5120"

company_id
string[] | null

Company ids, comma-separated. Includes the companies each one owns.

Example:

"412"

multi_company
boolean
default:false

Only drugs held by more than one company.

Example:

true

status
string[] | null

active (default), inactive, discontinued; comma-separated.

Example:

"active,discontinued"

sort
string | null

One of highest_phase, name, program_count; prefix - to descend. Default -highest_phase.

limit
integer
default:50

Rows per page (1-200).

Required range: 1 <= x <= 200
Example:

50

cursor
string | null

next_cursor from the previous page.

Maximum string length: 2000

Response

Successful Response

data
Drug · object[]
required

Page of drugs.

next_cursor
string | null

Pass as cursor to get the next page. Null on the last page. See Conventions.

Example:

"eyJyIjoicHJvZ3JhbXMiLCJzIjoiY29tcGFueSJ9"

total
integer | null

Rows matching the filters. Null for relevance-ranked q results.

Example:

1284