for i in xrange(10000):
print i
trivia = requests.get('http://numbersapi.com/%d' % i).text
math = requests.get('http://numbersapi.com/%d/math' % i).text
if 'boring' in math and ('plain' in trivia or 'boring' in trivia):
print math, trivia
break
time.sleep(2)
http://numbersapi.com/1321/trivia has given me both "1321 is a most unremarkable number" and "1321 is an uninteresting number", to give an upper bound. ;-)
Edit: on the other hand, in the math category "219 is the smallest number that can be represented as a sum of four positive cubes in two different ways."