I was wondering to use api in powerautomate, I try to figure out how is it working .
I see the necessary information as an output in the powerautome but I can not see them in the powerapps collections because it is null. I tried to get specific outcomes in powerautomate but again it turns me as null. I know the price but I can not use it :).
{
"body": {
"status": {
"timestamp": "2022-10-18T10:38:11.585Z",
"error_code": 0,
"error_message": null,
"elapsed": 38,
"credit_count": 1,
"notice": null
},
"data": {
"ETH": {
"id": 1027,
"name": "Ethereum",
"symbol": "ETH",
"slug": "ethereum",
"num_market_pairs": 6140,
"date_added": "2015-08-07T00:00:00.000Z",
"tags": [
"pos",
"smart-contracts",
"ethereum-ecosystem",
"three-arrows-capital-portfolio",
"polychain-capital-portfolio",
"binance-labs-portfolio",
"blockchain-capital-portfolio",
"boostvc-portfolio",
"cms-holdings-portfolio",
"dcg-portfolio",
"dragonfly-capital-portfolio",
"electric-capital-portfolio",
"fabric-ventures-portfolio",
"framework-ventures-portfolio",
"hashkey-capital-portfolio",
"kenetic-capital-portfolio",
"huobi-capital-portfolio",
"alameda-research-portfolio",
"a16z-portfolio",
"1confirmation-portfolio",
"winklevoss-capital-portfolio",
"usv-portfolio",
"placeholder-ventures-portfolio",
"pantera-capital-portfolio",
"multicoin-capital-portfolio",
"paradigm-portfolio",
"injective-ecosystem"
],
"max_supply": null,
"circulating_supply": 122373863.499,
"total_supply": 122373863.499,
"is_active": 1,
"platform": null,
"cmc_rank": 2,
"is_fiat": 0,
"self_reported_circulating_supply": null,
"self_reported_market_cap": null,
"tvl_ratio": null,
"last_updated": "2022-10-18T10:36:00.000Z",
"quote": {
"USD": {
"price": 1326.5252997487503,
"volume_24h": 9587831373.717987,
"volume_change_24h": 10.2353,
"percent_change_1h": 0.27006698,
"percent_change_24h": 0.43584472,
"percent_change_7d": 3.45198724,
"percent_change_30d": -7.73144151,
"percent_change_60d": -23.63812881,
"percent_change_90d": -16.35961553,
"market_cap": 162332025959.4236,
"market_cap_dominance": 17.4023,
"fully_diluted_market_cap": 162332025959.42,
"tvl": null,
"last_updated": "2022-10-18T10:36:00.000Z"
}
}
}
}
}
}
--------------------------------
In the compose code
{
"price": @{body('Parse_JSON')?['body']?['data']?['ETH']?['quote']?['USD']?['price']},
"volume_24h": @{body('Parse_JSON')?['body']?['data']?['ETH']?['quote']?['USD']?['volume_24h']},
"volume_change_24h": @{body('Parse_JSON')?['body']?['data']?['ETH']?['quote']?['USD']?['volume_change_24h']}
}
and it's the result...
All null
{
"price": null,
"volume_24h": null,
"volume_change_24h": null
}