Add limits to API calls

Resolves #4