API batches