web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerAutomate Coinmark...
Power Apps
Answered

PowerAutomate Coinmarketcap API Problem

(0) ShareShare
ReportReport
Posted on by 13

Hi,

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 :).

How can get the price on the app?

Can anyone have an idea ?

1.png

This is the output of parse json ,

{
    "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
}
Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Furkank ,

     

    I copied your data and made a test. However, the result is different from yours. Please see the images.

    vxiaochenmsft_0-1666232764238.png

    vxiaochenmsft_1-1666232851141.png

    vxiaochenmsft_2-1666232915482.png

    vxiaochenmsft_3-1666232940976.png

     

    Best Regards,

    Wearsky

  • Verified answer
    FurkanKara Profile Picture
    13 on at

    Hi Wearsky,

    I got the issue,

    its because; at end of my last compose's output there is only one body but my code was like this
    "price": @{body('Parse_JSON')?['body']?['data']?['ETH']?['quote']?['USD']?['price']},
    To solve this problem I wrote like that

    "price": @{body('Parse_JSON')?['data']?['ETH']?['quote']?['USD']?['price']}

    just deleted one body() part and it worked.

    Thank you

    Kind Regards

    Furkan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard