api base stream