Skip to main content

CoinMarketCap::LastPrice - CoinMarketCap store parser: token name, current price in USD


CoinMarketCap::LastPrice parser overview

CoinMarketCap::LastPriceCoinMarketCap::LastPrice - CoinMarketCap store parser. Collects token name and current price in USD.

A-Parser functionality allows you to save parsing settings for CoinMarketCap::LastPrice parser for further use (presets), set up a parsing schedule, and much more.

Saving results is possible in the format and structure that you need, thanks to the built-in powerful Template Toolkit that allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

List of collected data

  • Currency name
  • Currency symbol
  • Current price in USD

Example of the result:

BNB(bnb): $304.73626073939
BTC(bitcoin): $30207.0547397479
GST(green-satoshi-token-bsc): $1.75828189033902

Query examples

As queries, you need to specify the CoinMarketCap Slug, for example:


Result output options

A-Parser supports flexible formatting of results thanks to the built-in Template Toolkit, which allows it to output results in any form, as well as in a structured form, such as CSV or JSON.

Dumping results to JSON

Result format:

[% data = {}; 
data.query = query;
data.currency = p1.currency;
data.price = p1.price; %]$data.json\n

Example of the result:


Possible settings