You do not need to read this section, but I highly recommend you do for your own education. 

food

Here is a list of yummy fresh foods and commercial foods you can feed. Safe fresh foods are not limited to this list. Providing these foods in organic is ideal, but of course not required.  

Rat's list:

Rats need a commercial diet to provide vitamins and minerals. The best diets are the following in order.
 .
Commercial food:
-Oxbow Regal Adult Rat Formula (what I recommend)
-Harlan Teklad
-Mazuri (very affordable option)
.
Fresh Foods for Rats
-Whole wheat pasta
-Raw sunflower seeds
-Organic corn
-Cooked or raw egg (duck, chicken, quail)
-Cooked or raw chicken
-Cooked or raw steak
-Live or dried meal worms
-Live crickets (Rats love em!)
-Grapes
-Peas
-Kale
-Banana
-Sliced apple (Do not feed apple seeds)
-Squash (steam cooked)
-Squash seeds
-Raw hazel nuts
-Raw brazil nuts
-Raw Almonds
-Broccoli
-Spring mix lettuce
-Carrots (Fresh or steamed)
-Cooked potato
-Cooked sweet potato
-Raw whole cashews
-Mango (Only offer to female rats)
-Peaches
-Whole Oats
-High quality cereal and cheerios 
-Cauliflower
-Dried cranberries
-String beans (Not canned)
-Raw or cooked beef 
-Tomatoes
-Granola
-Pumpkin seeds
-Pumpkin (Canned or fresh if in season)
-Raw or cooked bones
-Chocolate (Perfectly safe for rats. Dark is better. Only give as treat)
.
Fun fact: Rats can safety have cooked bones. I often give my rats the pork, chicken, and steak bones that are left over from our dinner meals. Bones are safe for rats because rats gnaw the bone rather than chew it, like a dog would. This is why cooked bones are safe for rats, but not safe for dogs. Bones help provide your rats with calcium. Do not offer any pet-store bought dog bones to them and never give them raw hide.
.

Hamster's list:

Hamsters have a sensitive system so only offer small amounts of fresh foods at a time. Hams prefer bugs and seeds, but some enjoy fruits, veggies, and nuts. Hamsters need a commercial diet which ideally is a mix of lab block and seed mixes.
 .
Commercial Diet:
.
(Seed Mixes)
VitaKraft VitaNature - recommended
VitaKraft VitaSmart - recommended
National Geographic Hamster Entree - recommended
Higgins Sunburst - recommended
Higgins Vita Garden - recommended 

Carefresh Complete Menu
Mr. Johnson's Supreme Hamster & Gerbil
Natural Balance Hamster Muesli by Pets at Home
Scarlett Hamster & Gerbil
Sunseed Sunsations Hamster & Gerbil
Versele Laga Hamster Nature Complete
Versele Laga Mini Hamster Nature Complete

(Lab blocks)
Harlan Teklad 24% protein baby/growth formula - Highly recommended. Here is the ebay seller I source from. Mixing this lab block with a seed mix is an ideal food choice: https://www.ebay.com/usr/ecosandy?_trksid=p2057872.m2749.l2754

Kaytee Healthy Support Diet for Rat, Mouse, and Hamster (Forti-Diet Pro-Health)
Living World Green Hamster, Mouse, and Gerbil Food
Martin Little Friends Hamster & Gerbil Food
Mazuri Rat & Mouse
Mr. Johnson’s Advance Hamster and Gerbil Food
Sunseed Critter Cubes
Supreme Science Selective
Versele Laga Hamster Complete

.
Fresh Foods for Hamsters
.
-Live crickets
-Live or dried mealworms
-Scrambled eggs
-Oat meal (plain whole oats)
-Broccoli
-Cauliflower
-Banana
-Squash seeds
-Pumpkin seeds
-Canned pumpkin
-Apple
-Almonds
-Grapes (peel off skin)

My past animal meals:

babies 1

A hamster litter's first meal. Eggs provide essential protein required at this age. This was a large litter. Smaller litters may be offered wheat germ or plain whole oats with a smaller amount of egg.