Search Web Service

The search web service returns results of search queries from PharmGKB. The WSDL for this service is available here.

Available Methods

search (
  search text (string), 
  is any (boolean), 
  is phenotype (boolean), 
  is genotype (boolean), 
  is relationship (boolean)
)

specialSearch (
  search type (int)
)

The is any parameter determines whether the is phenotype, is genotype and is relationship should be OR'd (if true) or AND'd (is false) together.

The search type shouldb be one of:

  1. Genes with pharmacokinetic significance
  2. Genes with pharmacodynamic significance
  3. Genes with PharmGKB variant data
  4. PK Genes with variants
  5. PD Genes with variants
  6. Drugs with supporting information
  7. Diseases with supporting information
  8. Phenotype datasets
  9. Pathways with PGx significance
  10. Annotated publications describing relationships among genes, drugs and diseases
  11. Literature annotations, pathways and phenotype datasets annotated with pharmacokinetics
  12. Literature annotations, pathways and phenotype datasets annotated with pharmacodynamics
  13. Literature annotations and phenotype datasets annotated with clinical outcome

Return Value

array of: [
  PharmGKB accession #,
  type,
  name,
  hasPhenotype,
  hasGenotype,
  hasRelationship,
  PharmGKB URL
]
PharmGKB® is a registered trademark of HHS and is financially supported by NIH/NIGMS. It is managed at Stanford University (R24 GM61374).
©2001-2012 PharmGKB.