Try Gentrol Insect Growth Regulator https://www.amazon.com/Gentrol-Insect-Growth-Regulator-IGR/dp/B002PE9P0K/ref=mp_s_a_1_4?crid=3E7NZIVX6GXGD&keywords=gentrol+igr&qid=1666023437&qu=eyJxc2MiOiIzLjQzIiwicXNhIjoiMy4wMiIsInFzcCI6IjMuMDgifQ%3D%3D&sprefix=gentroi%2Caps%2C.... Also, try the Advion bait as well. Will rid your apartment of infestation just needs to be reapplied every few months.
OP, if you have a roach problem, consider getting these gentrol insect discs; they work to destroy the reproductive cycle of roaches. It takes awhile to work but it makes roaches have smaller and smaller babies until they eventually die out. It's a must have if you have a roach problem!
https://www.amazon.com/Gentrol-Insect-Growth-Regulator-IGR/dp/B002PE9P0K
They are fungus gnats, and they're damn near impossible to get rid of. They like to breed deep in your drains, flower pots, trash cans, behind stove, basically anything organic.
First, nuke every single drain with draino and get rid of all indoor plants.
Buy this stuff and hit your drains every single night before bed. 99% will be gone pretty quick, but you might have to do it for months to win the war.
https://www.amazon.com/gp/product/B002PE9P0K/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
​
Get some of these and wrap them around plastic cups so that the sticky part extends above the lip. You may need to put a rubber band around them as well to keep them on, despite the stickiness. Then, fill it with apple cider vinegar. You'll have them caught all over it in no time, but again you'll have to keep them going for potentially months.
https://www.amazon.com/gp/product/B07KRRJT5J/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1