Extract price from API to a Rich Snippet
-
Hi all!
I'm trying to create a rich snippet that shows the bitcoin's price in the SERP title.
I've already seen this in the search result of "bitstamp". I've added a screenshot so as you can see what I'm saying.Also i'd like you to recommend me some rich snippet preview that supports extract data from an API.
This is my first Q&A, hope you can understand me

Bye
-
This is not rich snippet. This is title manipulation.
If you look their HTML code their title is as:
<title>Bitstamp - buy and sell bitcoins</title>But if you load page you will see:
($price)Bitstamp...In javascript they have codes as:
var page_title = 'Bitstamp - buy and sell bitcoins';
$('head title').html('($'+loc_num($('span.live_price').attr('price'))+') '+page_title);
this code is responsible for updating price in title. Seems that Google index this and store modified title in their index.Here is official documentation of Rich Snippets:
https://developers.google.com/structured-data/rich-snippets/
and there isn't anything closer to you. Probably you can use only reviews. -
This post is deleted! -
God damn, I didnt realize that it isnt a part of a rich snippet.
My eyes were blind.
Thanks a lot!