CoinMarketCap::LastPrice - CoinMarketCap scraper: token name, current price in USD
Overview of the parser

CoinMarketCap::LastPrice – CoinMarketCap store parser. Collects the token name and current price in USD.A-Parser functionality allows you to save CoinMarketCap::LastPrice parsing settings for future use (presets), set parsing schedules, and much more.
Results can be saved in the format and structure you need, thanks to the powerful built-in Template Toolkit templating engine, which allows you to apply additional logic to results and output data in various formats, including JSON, SQL, and CSV.
Collected data
- Currency name
- Currency symbol
- Current price in USD
Queries
You must specify the CoinMarketCap Slug as queries, for example:
bitcoin
bnb
green-satoshi-token-bsc
...
Output results examples
A-Parser supports flexible result formatting thanks to the built-in Template Toolkit templating engine, which allows it to output results in any form, as well as in structured formats like CSV or JSON
Default output
Result format:
$currency($query): \$$price\n
Result example:
BNB(bnb): $304.73626073939
BTC(bitcoin): $30207.0547397479
GST(green-satoshi-token-bsc): $1.75828189033902
Dump results to JSON
General output format:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.query = query;
obj.currency = p1.currency;
obj.price = p1.price;
obj.json %]
Initial text:
[
Final text:
]
Result example:
[{"currency":"BTC","query":"bitcoin","price":19066.5547826873}]
To make the "Head" and "End" options available in the Task Editor, you need to activate "More options".