<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Web API Example</title>
</head>
<body>
    <form action="http://www.chemspider.com/WebAPI.aspx">
        <!-- depending on this selector one of the following groups of options is taken into account -->
        <select name="mode">
            <option value="search" label="Search Service" />
        </select>
        
        <!----------------------------------------------------------------------------->
        <!-- search mode -->
        <!----------------------------------------------------------------------------->
        <!-- this is MOL or SDF file to be processed -->
        <input type="hidden" name="molfile" />
        <!-- this is one of three modes for structure matching -->
        <select name="search_type">
            <option value="structure" label="Search Exact Structure" />
            <option value="substructure" label="Search Substructure" />
        </select>
        <!-- these options are valid for both exact and substructure search -->
        <input type="checkbox" name="match_stereo" value="Match Stereo" />
        <input type="checkbox" name="match_isotope" value="Match Isotopes" />
        <input type="checkbox" name="match_charge" value="Match Charges" />
        <!-- this option is valid for substructure search only -->
        <input type="checkbox" name="match_ring" value="Match Rings With Chains" />
        
        <!-- Name to search by -->
        <input type="text" name="chemname" />
        <!-- if selected name must be matched literally -->
        <input type="checkbox" name="match_exact_name" />
        
        <!-- Molecular formula query -->
        <input type="text" name="MF" />
        <!-- Molecular weight minimum and maximum -->
        <input type="text" name="MW_min" />
        <input type="text" name="MW_max" />
        <!-- Nominal mass minimum and maximum -->
        <input type="text" name="NM_min" />
        <input type="text" name="NM_max" />
        <!-- Average mass minimum and maximum -->
        <input type="text" name="AM_min" />
        <input type="text" name="AM_max" />
        <!-- Monoisotopic mass minimum and maximum -->
        <input type="text" name="MM_min" />
        <input type="text" name="MM_max" />
        
        <!-- LogP -->
        <input type="text" name="LogP_min" />
        <input type="text" name="LogP_max" />
        <!-- LogD at 5.5 -->
        <input type="text" name="LogD_1_min" />
        <input type="text" name="LogD_1_max" />
        <!-- LogD at 7.4 -->
        <input type="text" name="LogD_2_min" />
        <input type="text" name="LogD_2_max" />
        <!-- Rule of 5 alert -->
        <input type="text" name="RuleOf5_min" />
        <input type="text" name="RuleOf5_max" />
        <!-- # of H acceptors -->
        <input type="text" name="HAcceptors_min" />
        <input type="text" name="HAcceptors_max" />
        <!-- # of H donors -->
        <input type="text" name="HDonors_min" />
        <input type="text" name="HDonors_max" />
        <!-- Freely Rotatable Bonds -->
        <input type="text" name="FRB_min" />
        <input type="text" name="FRB_max" />
        <!-- Polar Surface Area -->
        <input type="text" name="PSA_min" />
        <input type="text" name="PSA_max" />
        <!-- Molar Volume -->
        <input type="text" name="MV_min" />
        <input type="text" name="MV_max" />
        <!-- Index of Refraction -->
        <input type="text" name="IR_min" />
        <input type="text" name="IR_max" />
    </form>
</body>
</html>