Metab2MeSH Web Service Guide

Base URL

URL Parameters

A compound name.

MeSH is a Medical Subject Headings (MeSH) descriptor.

Optional. Limit sets the maximum number of returned results; it defaults to 1000 if not set.

Optional. Publimit sets the maximum number of returned publications; it defaults to 250 if not set. Set publimit to 0 to get all publications.

Optional. Tool is a string with no internal spaces that identifies the resource using the service. Inclusion of this parameter allows us to track usage of the service.

Optional. Email associates an email address with the request. Inclusion of this parameter allows us to contact users if there are problems or if the software interface changes.


The XML returned is divided into two sections. The “Request” section echos the input parameters and the values of unset parameters. The “Response” section holds the data from the query. The result set returned is ordered by the p-value of the Fisher’s Exact Test.

Sample Code
Perl Example - This example PERL script will execute a simple batch query to the Metab2MeSH Web Service using compound names from stdin or a file.