Is there an ability to fetch Yoast data separately from the page?

I have a project that uses subdomains as custom post type endpoints in my Frontity theme. However, because the route for these subdomains/custom post types is always /, I am only seeing <head> data corresponding to the home page of the website. I can see that the Yoast data is working for other pages:

Is there a way I can just pull the Yoast data from a different route than what is being served? Is this the right way to do this? Should I be using the head-tags package instead? Thanks for any help! Below is a link to the repo:

if you wanted to get the full yoast_head you can do something along the lines of

theme’s index.js

beforeSSR: async ({ state, actions, libraries }) => {
  if(state.router.link === '/') 
    // make sure contact page is loaded into our state
    await actions.source.fetch('/contact')
  }
}

site’s index.js

// get the contact data we grabbed in beforeSSR
const contact_data = state.source.get('/contact-us')
const contact_post = state.source[contact_data.type][contact_data.id];  
console.log(contact_poast.yoast_head) // full yoast_head string

I don’t know you get individual items out of yoast though, other than parsing that string