Skip to main content
GET
Search

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
required

Name or text.

Required string length: 2 - 200
Example:

"TL1A"

types
string[] | null

Types to search, comma-separated: company, drug, program, target, indication. Default all.

Example:

"company,target"

limit
integer
default:5

Matches per type (1-20).

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

5

Response

Successful Response

data
SearchMatch · object[]
required

Matches, best first within each type.

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