Periodic API sampling