Getting theme options

I created a custom rest url like site.com/options. So, I need help about this. What is the best way to getting this options to using in Frontity?