A person I know on Instagram posted that if someone answers their question they would pay $1000.
I answered it for fun and now they want to pay.
Should I accept it? is it haram or no?

It is permissible for you to take the money, and it would be halal.