http://rest.kegg.jp/<operation>/<argument>/<argument2 or option> <operation> = info | list | find | get | conv | link <argument> = <database> | <dbentries> |
<database> = KEGG database including KEGG organism (see Table 1) |
| Database | Name | Abbrev | kid | Remark |
| KEGG PATHWAY | pathway | path | map number | |
| KEGG BRITE | brite | br | br number | |
| KEGG MODULE | module | md | M number | |
| KEGG DISEASE | disease | ds | H number | Japanese version: disease_ja ds_ja |
| KEGG DRUG | drug | dr | D number | Japanese version: drug_ja dr_ja |
| KEGG ENVIRON | environ | ev | E number | Japanese version: environ_ja ev_ja |
| KEGG ORTHOLOGY | orthology | ko | K number | |
| KEGG GENOME | genome | genome | T number | |
| KEGG GENOMES | genomes | gn | T number | Composite database: genome + egenome + mgenome |
| KEGG GENES | genes | - | - | Composite database: consisting of KEGG organisms |
| KEGG LIGAND | ligand | ligand | - | Composite database: compound + glycan + reaction + rpair + rclass + enzyme |
| KEGG COMPOUND | compound | cpd | C number | Japanese version: compound_ja cpd_ja |
| KEGG GLYCAN | glycan | gl | G number | |
| KEGG REACTION | reaction | rn | R number | |
| KEGG RPAIR | rpair | rp | RP number | |
| KEGG RCLASS | rclass | rc | RC number | |
| KEGG ENZYME | enzyme | ec | - |
<dbentries> = <dbentry>1[+<dbentry>2...] <dbentry> = <db:entry> | <kid> | <org:gene> |
| Code | Meaning |
| 200 | Success |
| 400 | Bad request (syntax error, wrong database name, etc.) |
| 404 | Not found (e.g., requesting amino acid sequence for RNA) |
http://rest.kegg.jp/info/<database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme |
genomes | genes | ligand | kegg
<org> = KEGG organism code or T number
|
| /info/kegg | displays the current statistics of the KEGG database | |
| /info/pathway | displays the number pathway entries including both the reference and organism-specific pathways | |
| /info/hsa | displays the number of gene entries for the KEGG organism Homo sapiens |
http://rest.kegg.jp/list/<database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme |
organism
<org> = KEGG organism code or T number
http://rest.kegg.jp/list/<database>/<org> <database> = pathway | module <org> = KEGG organism code
http://rest.kegg.jp/list/<dbentries>
<dbentries> = KEGG database entries involving the following <database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme
<org> = KEGG organism code or T number
|
| /list/pathway | returns the list of reference pathways | |
| /list/pathway/hsa | returns the list of human pathways | |
| /list/organism | returns the list of KEGG organisms with taxonomic classification | |
| /list/hsa | returns the entire list of human genes | |
| /list/T01001 | same as above | |
| /list/hsa:10458+ece:Z5100 | returns the list of a human gene and an E.coli O157 gene | |
| /list/cpd:C01290+gl:G00092 | returns the list of a compound entry and a glycan entry | |
| /list/C01290+G00092 | same as above |
http://rest.kegg.jp/find/<database>/<query>
<database> = pathway | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme |
genes | ligand
<org> = KEGG organism code or T number
http://rest.kegg.jp/find/<database>/<query>/<option> <database> = compound | drug <option> = formula | exact_mass | mol_weight |
| Database | Search fields (see flat file format) |
| pathway module disease drug environ ko genome <org> compound glycan reaction rpair rclass enzyme | ENTRY and NAME ENTRY and NAME ENTRY and NAME ENTRY and NAME ENTRY and NAME ENTRY, NAME and DEFINITION ENTRY, NAME and DEFINITION ENTRY, NAME, DEFINITION and ORTHOLOGY ENTRY and NAME ENTRY, NAME, COMPOSITION and CLASS ENTRY, NAME and DEFINITION ENTRY and NAME ENTRY, NAME and DEFINITION ENTRY and NAME |
| /find/genes/shiga+toxin | for keywords "shiga" and "toxin" | |
| /find/genes/"shiga toxin" | for keywords "shiga toxin" |
| /find/compound/C7H10O5/formula | for chemical formula "C7H10O5" | |
| /find/compound/O5C7/formula | for chemical formula containing "O5" and "C7" | |
| /find/compound/174.05/exact_mass | for 174.045 =< exact mass < 174.055 | |
| /find/compound/300-310/mol_weight | for 300 =< molecular weight =< 310 |
http://rest.kegg.jp/get/<dbentries>[/<option>]
<dbentries> = KEGG database entries involving the following <database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme
<org> = KEGG organism code or T number
<option> = aaseq | ntseq | mol | kcf | image | kgml
|
| /get/cpd:C01290+gl:G00092 | retrieves a compound entry and a glycan entry | |
| /get/C01290+G00092 | same as above | |
| /get/hsa:10458+ece:Z5100 | retrieves a human gene entry and an E.coli O157 gene entry | |
| /get/hsa:10458+ece:Z5100/aaseq | retrieves amino acid sequences of a human gene and an E.coli O157 gene | |
| /get/hsa05130/image | retrieves the image file of a pathway map | |
| /get/hsa05130/kgml | retrieves the kgml file of a pathway map New! |
http://rest.kegg.jp/conv/<target_db>/<source_db> (<target_db> <source_db>) = (<kegg_db> <outside_db>) | (<outside_db> <kegg_db>) For gene identifiers: <kegg_db> = <org> <org> = KEGG organism code or T number <outside_db> = ncbi-gi | ncbi-geneid | uniprot For chemical substance identifiers: <kegg_db> = drug | compound | glycan <outside_db> = pubchem | chebi http://rest.kegg.jp/conv/<target_db>/<dbentries> For gene identifiers: <dbentries> = database entries involving the following <database> <database> = <org> | genes | ncbi-gi | ncbi-geneid | uniprot <org> = KEGG organism code or T number For chemical substance identifiers: <dbentries> = database entries involving the following <database> <database> = drug | compound | glycan | pubchem | chebi |
| /conv/eco/ncbi-geneid | conversion from NCBI GeneID to KEGG ID for E. coli genes | |
| /conv/ncbi-geneid/eco | opposite direction | |
| /conv/ncbi-gi/hsa:10458+ece:Z5100 | conversion from KEGG ID to NCBI GI | |
| /conv/genes/ncbi-gi:3113320 | conversion from NCBI GI to KEGG ID when the organism code is not known New! |
http://rest.kegg.jp/link/<target_db>/<source_db>
<target_db> = <database>
<source_db> = <database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme
http://rest.kegg.jp/link/<target_db>/<dbentries>
<dbentries> = KEGG database entries involving the following <database>
<database> = pathway | brite | module | disease | drug | environ | ko | genome |
<org> | compound | glycan | reaction | rpair | rclass | enzyme |
genes
|
| /link/pathway/hsa | KEGG pathways linked from each of the human genes | |
| /link/hsa/pathway | human genes linked from each of the KEGG pathways | |
| /link/pathway/hsa:10458+ece:Z5100 | KEGG pathways linked from a human gene and an E. coli O157 gene | |
| /link/genes/K00500 | List of genes with the KO assignment of K00500 New! | |
| /link/genes/hsa00010 or /link/hsa/hsa00010 | List of human genes in pathway hsa00010 | |
| /link/ko/map00010 or /link/ko/ko00010 | List of KO entries in pathway map00010 or ko00010 | |
| /link/rn/map00010 or /link/rn/rn00010 | List of reaction entries in pathway map00010 or rn00010 | |
| /link/ec/map00010 or /link/ec/ec00010 | List of EC number entries in pathway map00010 or ec00010 | |
| /link/cpd/map00010 | List of compound entries in pathway map00010 |