BOLD Public Retrieval Service (eFetch):

The following are the details necessary to access BOLD's retrieval services:

 
  Parameters
Description
  record_type specimen,sequence,full
  id_type sampleid,processid,specimenid,recordid
  ids (comma seperated id of max 300 OR * for all records)
  return_type text,xml,json
  file_type gzip

Example: