Is there some sort of fix price for X byte?

Thank you very much, you helped me alot!
Are you actually familiar with bitcoinjs-lib?
Because I'm wondering how I could actually automate transaction on a website if I have to know what transaction ID's are unspent.
This Unspent Transaction stuff is a hurdle I didn't expect.
