The openFDA API supports searching by range in date, numeric, or string fields.
[min+TO+max]
. These include the values in the range. For example, [1+TO+5]
will match 1 through 5.[2004-01-01+TO+2005-01-01]
will search for records between Jan 1, 2004 and Jan 1, 2005.