Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

Get cryptocurrency prices

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"
    ]
  }
]