- Action ID
actions.intent.GET_CRYPTOCURRENCY_PRICE
- Description
- Get prices for a particular cryptocurrency.
- Example queries
- JSON-LD sample
-
[ { "exampleValues": [ { "@context": "https://schema.googleapis.org", "@type": "MonetaryAmount", "currency": "USD", "validAt": "2018-01-01T00:00:00" } ], "name": "cryptocurrency", "schemaType": [ "https://schema.googleapis.org/MonetaryAmount" ] }, { "exampleValues": [ { "@context": "https://schema.googleapis.org", "@type": "MonetaryAmount", "currency": "USD", "validAt": "2018-01-01T00:00:00" } ], "name": "exchange", "schemaType": [ "https://schema.googleapis.org/MonetaryAmount" ] }, { "exampleValues": [ { "@context": "https://schema.googleapis.org", "@type": "MonetaryAmount", "currency": "USD", "validAt": "2018-01-01T00:00:00" } ], "name": "targetMonetarySpec", "schemaType": [ "https://schema.googleapis.org/MonetaryAmount" ] } ]
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `actions.intent.GET_CRYPTOCURRENCY_PRICE` action enables users to get the price of a specified cryptocurrency."],["Users can trigger this action by asking for the value or price of a cryptocurrency, like \"What is the value of Bitcoin?\"."],["The action returns cryptocurrency price information utilizing schema.org's MonetaryAmount structure for currency, timestamp, and value."],["The JSON-LD sample showcases how the action utilizes schema.org types like MonetaryAmount for representing cryptocurrency, exchange, and target monetary specifications."]]],[]]