Paul Marquez has been charged with endangering the welfare of a child and harassment after allegedly offered his partner's child online for $100 (£65).
Authorities say Marquez, 22, had been out with the baby's mother a few times but felt she was not paying him enough attention. They say he was angry with her so he posted the adverts with photos of her daughter on the Craigslist website.
The mother notified police after she received a phone call from a person offering to buy the baby on Craigslist.
The name of his girlfriend - reported to be Katie Devalle - was given in the advert, which was placed on the 'Baby and Kids' section of the website.
'The reason I decided to put this post was because I got bored and wanted to get a little laugh and a little kick out of it, but nothing serious', Marquez told police, according to the New York Daily News.
Marquez - who has a two-year-old child himself, is said to have met the mother online and dated her a few times.
According to a criminal complaint, Marquez says he wanted to get back at the woman. He is being held in lieu of 1,000 dollars bail.
A source told the New York Post: 'He was apparently upset she wouldn’t pay him more attention and posted the two ads as revenge.
'The mom didn’t have time for him. She was working all the time.'