It matters, because the treatment is different. German cockroaches are the small ones, about half an inch, light brown with two dark stripes behind the head, and they live inside, in the kitchen and bathroom, breeding year round. They are the roach in almost every apartment call we get on Long Island, in Queens, and in the Bronx. American cockroaches are the big ones, an inch and a half or more, reddish brown, and the NYC Health Department notes they are typically found in moist basements and lower floors, coming up through drains and from the building's lower levels. Oriental cockroaches are black and stay low and damp.
If the roaches are small, fast, and in your kitchen cabinets at night, you have German roaches and the rest of this guide is for you. If you see one or two very large roaches in a ground floor or basement apartment, especially near a floor drain, that is a building plumbing and moisture problem more than a kitchen problem, and the fix is drains, gaps, and the basement, not your cabinets. Our answer page on what kind of cockroach you have has photos and the tells.
One more identification point: the NYS IPM Program at Cornell notes German cockroaches aggregate because of pheromones in their droppings. Where you see the black pepper specks collected, that is the harborage, and that is where the bait goes.