KEGG WebLinks

KEGG WebLinks are a collection of REST-style URLs, which are made available to KEGG API subscribers for making links to KEGG web pages.

In most KEGG web pages, relative URLs are used to specify internal links, so that the users can stay within either the KEGG main site (kegg.jp) or the GenomeNet mirror site (genome.jp). There is a minor difference between the two sites; namely, whether the LinkDB data is displayed by default (genome.jp) or after clicking on the button (kegg.jp) in the DBGET retrieval system.
https://www.kegg.jp/dbget-bin/www_bget?hsa:929
http://www.genome.jp/dbget-bin/www_bget?hsa:929
It is recommended to make links to the kegg.jp site and use the following simplified form,
https://www.kegg.jp/entry/hsa:929
for example, when interpreting the pathway map "conf" file, which is written with relative URLs.

The rewrite rules used in KEGG WebLinks include:
^/entry/(.*)$/dbget-bin/www_bget?$1
^/pathway/(.*)$  /kegg-bin/show_pathway?$1
^/module/(.*)$/kegg-bin/show_module?$1
^/brite/(.*)$/kegg-bin/get_htext?$1


General form

URL form

https://www.kegg.jp/<operation>/<argument> <operation> = entry | pathway | module | brite

Database name

<database> = KEGG databases (Table 1) and KEGG MEDICUS extension databases (Table 2) = pathway | brite | module | ko | genome | <org> | vg | ag | compound | glycan | reaction | rclass | enzyme | network | variant | disease | drug | dgroup | environ | genes | ligand | kegg | <medicus> <org> = KEGG organism code <medicus> = disease_ja | drug_ja | dgroup_ja | environ_ja | compound_ja

Database entry identifier

<dbentry> = <kid> | <org>:<gene> | <database>:<entry> <kid> = KEGG identifier <gene> = Gene entry name or accession <entry> = Database entry name or accession <dbentries> = <dbentry>1[+<dbentry>2...]


ENTRY

Name

entry – retrieve database entries

URL form

https://www.kegg.jp/entry/<dbentries> <dbentries> = Entries of the following <database> <database> = pathway | brite | module | ko | genome | <org> | vg | ag | compound | glycan | reaction | rclass | enzyme | network | variant | disease | drug | dgroup | environ | <medicus>

https://www.kegg.jp/entry/<database>:<entry> <database> = ndc | yj

Description

This URL returns the KEGG database entry page(s). It is equivalent to
    https://www.kegg.jp/dbget-bin/www_bget?<dbentries>

In the second form the database name "ndc" or "yj" may be used to link to the FDA drug label (redirected to DailyMed) or the Japanese drug label in Japanese (JAPIC database) maintained within KEGG.

Examples



PATHWAY

Name

pathway - retrieve pathway map with optional coloring of objects

URL form

https://www.kegg.jp/pathway/<mapid>[+<map_objects>] <mapid> = KEGG pathway map identifier <map_objects> = <dbentry>1[+<dbentry>2...]

Description

This URL returns the KEGG pathway map page. It is equivalent to
    https://www.kegg.jp/kegg-bin/show_pathway?<mapid>[+<map_objects>]

Examples

See also

Search Pathway in KEGG Mapper for more details of map objects that can be specified.


MODULE

URL form

module - retrieve module map with optional coloring of objects

URL form

https://www.kegg.jp/module/<modid>[+<mod_objects>] <modid> = KEGG module identifier <mod_objects> = <dbentry>1[+<dbentry>2...]

Description

This URL returns the KEGG module page. It is equivalent to
    https://www.kegg.jp/kegg-bin/show_module?<modid>[+<mod_objects>]

Examples

See also

Search Module in KEGG Mapper for more details of module objects that can be specified.


BRITE

Name

brite - retrieve brite hierarchy with optional coloring of objects

URL form

https://www.kegg.jp/brite/<brid>[+<br_objects>] <brid> = KEGG brite hierarchy identifier <br_objects> = <dbentry>1[+<dbentry>2...]

https://www.kegg.jp/brite/br08303/<atc_code> https://www.kegg.jp/brite/br08301/<jtc_code> https://www.kegg.jp/brite/jp08303/<atc_code> https://www.kegg.jp/brite/jp08301/<jtc_code> <atc_code> = 7-letter ATC code <jtc_code> = 4-digit Japanese therapeutic category

Description

This URL returns the KEGG BRITE hierarchy page. It is equivalent to
    https://www.kegg.jp/kegg-bin/get_htext?<brid>[+<br_objects>]

The second form can be used to link to the hierarchy of WHO's ATC code or the Japanese therapeutic category either in English (br files) or in Japanese (jp files).

Examples

See also

Search Brite in KEGG Mapper for more details of brite objects that can be specified.


Last updated: June 1, 2018