/v1 list endpoint follows the rules on this page.
Ids, not names
Entity filters take Pav ids, comma-separated:company_id, drug_id,
program_id. company_id includes the companies it owns (subsidiaries and
acquired companies). Get an id from a name with Search:
Free text: q
q is the only free-text parameter.
Filters
The same names mean the same thing everywhere:phase, status,
indication, target, modality, therapeutic_area. Filters combine with
AND. Pass several values comma-separated (phase=2,3) or repeat the
parameter. For a term that contains a comma, pass its ontology id.
Dates
from and to (YYYY-MM-DD, inclusive) filter each list’s primary date.
Rows with no date never match.
/v1/changes takes since, an ISO 8601 timestamp, instead.
Sorting
sort=field ascends and sort=-field descends. An unknown field returns
400 listing the allowed ones.
Views
Programs, similar programs and patents takeview=full (default) or
view=slim, which returns light rows without nested records.
Paging
Lists takelimit (1–200, default 50) and cursor, and return:
- Pass
next_cursorback ascursor. It is absent on the last page. - Pages never skip or repeat rows, at any depth.
totalis the exact match count. It is absent for relevance-rankedqresults, which end after 1,000 rows.- A cursor works only with the same endpoint and
sort.
Responses and errors
Fields with no value are omitted. Every parameter error, including an unknown parameter, is400 validation_error. All errors share one shape; see
Rate limits and errors.
Example 400 response
Changes in 2.0
- Name filters
company,short_name,drug,sponsorremoved: use ids. include_subsidiariesremoved:company_idalways includes owned companies.offset,include_total,direction,date_fieldremoved: usecursor,total,sort=-field,from/to.conditionis nowindication; dealsevent_typeis nowstatus; patentsstateis nowstatusandinclude_membersis nowview.- Programs are identified by
program_idand carrylast_updated. /v1/programs/autocomplete,/v1/companies/{company_id}/programsand/v1/companies/{company_id}/changesremoved: use/v1/search,/v1/programs?company_id=and/v1/changes?company_id=./v1/fdalist removed: one list per FDA record type.