Either way, I would look at creating a custom RSS feed on the blog, then add that RSS feed to your website.
]]>Now I want to show posts from blog on ball, when I have a post in website on basketball.
The way you suggested needs many feeds to be created and used, while I am looking for something to take a query or keyword and look into the blog for related topics on that query or keyword.
Thanks again
]]>The solution to your problem greatly rests on how your website was created.
]]>site and blog are both on WP, but under separate installations.
Hope I have provided the information.
Many thanks
]]>I would suggest taking a look at these articles:
https://digitalborn.org/display-wp-posts-rest-api/
https://premium.wpmudev.org/blog/using-wordpress-rest-api/
Google search to get you in the right direction:
display posts from another wordpress site via api
Hope this helps!
]]>