Uphold Assets API

Assets, networks and rails.

Operations 13

GET /core/assets List assets #
POST /core/assets/_mget Get many assets #
GET /core/assets/{asset} Get asset #
GET /core/assets/{asset}/rates Get asset rates #
GET /core/assets/{asset}/historical-rates Get asset historical rates #
GET /core/networks List networks #
GET /core/networks/{network} Get network #
POST /core/networks/{network}/validate-address Validate network address #
GET /core/rails List rails #
PUT /core/assets/test-helpers/skip-assets-cooldowns Skip assets cooldowns #
GET /market-pulse/assets/{assetCode}/news List asset news #
GET /market-pulse/assets/{assetCode}/statistics Get asset statistics #
GET /market-pulse/assets/{assetCode}/information Get asset information #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/uphold-assets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

uphold-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Uphold Assets API
  version: 0.1.0
  description: 'Operations tagged Assets across 2 of this provider''s published API definitions: uphold-core-api-openapi.json, uphold-market-pulse-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.enterprise.sandbox.uphold.com
  description: Sandbox
- url: https://api.enterprise.uphold.com
  description: Production
security:
- OAuth2: []
tags:
- name: Assets
  description: Assets, networks and rails.
paths:
  /core/assets:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.list-assets
      summary: List assets
      description: List assets supported by the platform.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/list-assets-type-filter'
      - $ref: '#/components/parameters/list-assets-sort'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/list-assets-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/assets/_mget:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    post:
      operationId: core.get-many-assets
      summary: Get many assets
      description: Retrieve several assets by their codes.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      requestBody:
        $ref: '#/components/requestBodies/get-many-assets-request-body'
      responses:
        '200':
          $ref: '#/components/responses/get-many-assets-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/assets/{asset}:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.get-asset
      summary: Get asset
      description: Retrieve an asset by code.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/asset-code'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-asset-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/get-asset-not-found-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/assets/{asset}/rates:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.get-asset-rates
      summary: Get asset rates
      description: Retrieve asset rates against other assets.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/asset-code'
      - $ref: '#/components/parameters/get-asset-rates-denomination-filter'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-asset-rates-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/get-asset-rates-not-found-response'
        '409':
          $ref: '#/components/responses/get-asset-rates-conflict-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/assets/{asset}/historical-rates:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.get-asset-historical-rates
      summary: Get asset historical rates
      description: Retrieve historical rates for a specific asset.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/asset-code'
      - $ref: '#/components/parameters/denomination'
      - $ref: '#/components/parameters/asset-historical-rates-interval'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-asset-historical-rate-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/get-asset-historical-rate-not-found-response'
        '409':
          $ref: '#/components/responses/get-asset-historical-rate-conflict-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/networks:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.list-networks
      summary: List networks
      description: List networks supported by the platform.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/list-networks-type-filter'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/list-networks-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/networks/{network}:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.get-network
      summary: Get network
      description: Retrieve a network by code.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/network-code'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-network-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/get-network-not-found-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/networks/{network}/validate-address:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    post:
      operationId: core.validate-network-address
      summary: Validate network address
      description: Validate an address for a specific network.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/network-code'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      requestBody:
        $ref: '#/components/requestBodies/validate-network-address-request-body'
      responses:
        '200':
          $ref: '#/components/responses/validate-network-address-response'
        '400':
          $ref: '#/components/responses/bad-request'
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/validate-network-address-not-found-response'
        '409':
          $ref: '#/components/responses/validate-network-address-conflict-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/rails:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: core.list-rails
      summary: List rails
      description: List rails supported by the platform.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      parameters:
      - $ref: '#/components/parameters/list-rails-type-filter'
      - $ref: '#/components/parameters/list-rails-network-code-filter'
      - $ref: '#/components/parameters/list-rails-method-filter'
      - $ref: '#/components/parameters/list-rails-asset-code-filter'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/list-rails-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /core/assets/test-helpers/skip-assets-cooldowns:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    put:
      operationId: core.skip-assets-cooldowns
      summary: Skip assets cooldowns
      description: Skips assets cooldowns for testing purposes.
      tags:
      - Assets
      x-uphold:
        operation:
          notImplementedIn:
          - production
        security:
          OAuth2:
            subjects:
            - user:individual
            - user:business
      security:
      - OAuth2:
        - core.assets:use-test-helpers
      parameters:
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '204':
          $ref: '#/components/responses/skip-assets-cooldowns-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /market-pulse/assets/{assetCode}/news:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: market-pulse.list-asset-news
      summary: List asset news
      description: Retrieve the latest news for a specific asset.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      security:
      - OAuth2:
        - market-pulse.assets.news:read
      parameters:
      - $ref: '#/components/parameters/asset-code_2'
      - $ref: '#/components/parameters/news-limit'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/list-asset-news-response'
        '400':
          $ref: '#/components/responses/bad-request'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /market-pulse/assets/{assetCode}/statistics:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: market-pulse.get-asset-statistics
      summary: Get asset statistics
      description: Retrieve real-time market statistics for a specific asset.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      security:
      - OAuth2:
        - market-pulse.assets.statistics:read
      parameters:
      - $ref: '#/components/parameters/asset-code_2'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-asset-statistics-response'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/get-asset-statistics-not-found-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
  /market-pulse/assets/{assetCode}/information:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    get:
      operationId: market-pulse.get-asset-information
      summary: Get asset information
      description: Retrieve descriptive information for a specific asset.
      tags:
      - Assets
      x-uphold:
        security:
          OAuth2:
            subjects:
            - client
            - user:business
            - user:individual
      security:
      - OAuth2:
        - market-pulse.assets.information:read
      parameters:
      - $ref: '#/components/parameters/asset-code_2'
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/accept-language'
      - $ref: '#/components/parameters/x-on-behalf-of'
      - $ref: '#/components/parameters/x-uphold-user-ip'
      - $ref: '#/components/parameters/x-uphold-user-agent'
      - $ref: '#/components/parameters/x-uphold-user-origin'
      - $ref: '#/components/parameters/x-uphold-user-country'
      - $ref: '#/components/parameters/x-uphold-user-subdivision'
      - $ref: '#/components/parameters/x-uphold-user-city'
      responses:
        '200':
          $ref: '#/components/responses/get-asset-information-response'
        '400':
          $ref: '#/components/responses/bad-request'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/get-asset-information-not-found-response'
        '429':
          $ref: '#/components/responses/too-many-requests'
webhooks:
  core.assets.cooldown-ended:
    servers:
    - url: https://api.enterprise.sandbox.uphold.com
      description: Sandbox
    - url: https://api.enterprise.uphold.com
      description: Production
    post:
      operationId: core.assets-cooldown-ended
      summary: Assets cooldown ended
      description: The cooldown period for a set of assets has ended.
      tags:
      - Assets
      parameters:
      - $ref: '#/components/parameters/webhook-id'
      - $ref: '#/components/parameters/webhook-timestamp'
      - $ref: '#/components/parameters/webhook-signature'
      requestBody:
        description: Assets cooldown ended event.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/assets-cooldown-webhook-event'
            examples:
              Assets Financial Promotions Cooldown Ended:
                value:
                  id: 123e4567-e89b-12d3-a456-426614174000
                  type: core.assets.cooldown-ended
                  createdAt: '2021-01-01T00:00:00.000Z'
                  data:
                    userId: cd21b26d-35d2-408a-9201-b8fdbef7a604
                    assets:
                    - BTC
                    - ETH
                    cooldown:
                      rule: financial-promotions
                      features:
                      - buy
                      - deposit
                      endsAt: '2024-12-31T23:59:59.000Z'
      responses:
        '200':
          description: Return a 200 status to indicate that the data was received successfully.
components:
  schemas:
    asset-type:
      description: The type of the asset.
      type: string
      enum:
      - fiat
      - crypto
    asset-statistics:
      type: object
      properties:
        circulatingSupply:
          description: The asset's circulating supply.
          type: number
        marketCap:
          description: The asset's market capitalization.
          type: number
        volume24h:
          description: The asset's trading volume in the last 24 hours.
          type: number
        allTimeHigh:
          description: The asset's all-time high valuation in USD.
          type: number
      required:
      - circulatingSupply
      - marketCap
      - volume24h
      - allTimeHigh
    rail-card:
      type: object
      allOf:
      - $ref: '#/components/schemas/rail-base'
      - type: object
        properties:
          type:
            enum:
            - card
          method:
            enum:
            - credit-card
            - debit-card
    network-bank:
      allOf:
      - $ref: '#/components/schemas/network-base'
      - type: object
        properties:
          type:
            enum:
            - bank
          reference:
            description: The reference used for the network, if any.
            type: object
            properties:
              type:
                description: The type of reference.
                type: string
                enum:
                - payment-reference
            required:
            - type
    network-card:
      allOf:
      - $ref: '#/components/schemas/network-base'
      - type: object
        properties:
          type:
            enum:
            - card
    rail-method:
      type: string
      enum:
      - crypto-transaction
      - credit-card
      - debit-card
      - bank-transfer
      - apple-pay
      - paypal
      - venmo
    feedback:
      description: A feedback message with a code and human-readable description.
      type: object
      properties:
        code:
          description: A short string with a brief explanation about the code reported.
          type: string
        message:
          description: A human-readable message providing more details.
          type: string
        details:
          description: Additional information about the feedback reported.
          type: object
          additionalProperties: true
      required:
      - code
      - message
    network-base:
      type: object
      properties:
        code:
          description: The unique code of the network.
          type: string
        name:
          description: The name of the network.
          type: string
        type:
          $ref: '#/components/schemas/network-type'
        logo:
          description: The logo of the network.
          type: string
          format: url
      required:
      - code
      - name
      - type
    rail-bank-constraint-allowed-deposit-accounts:
      type: object
      properties:
        rule:
          type: string
          enum:
          - allowed-deposit-accounts
        allowed:
          type: string
          enum:
          - default-only
      required:
      - rule
      - allowed
    network:
      type: object
      discriminator:
        propertyName: type
        mapping:
          crypto: '#/components/schemas/network-crypto'
          card: '#/components/schemas/network-card'
          bank: '#/components/schemas/network-bank'
          apm: '#/components/schemas/network-apm'
      oneOf:
      - title: Crypto
        $ref: '#/components/schemas/network-crypto'
      - title: Card
        $ref: '#/components/schemas/network-card'
      - title: Bank
        $ref: '#/components/schemas/network-bank'
      - title: Alternative payment method
        $ref: '#/components/schemas/network-apm'
    asset-information-response:
      type: object
      properties:
        information:
          $ref: '#/components/schemas/asset-information'
      required:
      - information
    rail-apm:
      type: object
      allOf:
      - $ref: '#/components/schemas/rail-base'
      - type: object
        properties:
          type:
            enum:
            - apm
          method:
            enum:
            - apple-pay
            - paypal
            - venmo
    asset-features:
      type: string
      enum:
      - buy
      - sell
      - transfer
      - withdraw
      - deposit
    string-no-edge-spaces:
      type: string
      pattern: ^\S.*\S$|^\S$
    asset-information:
      description: Descriptive information about the asset.
      type: string
    rail:
      type: object
      discriminator:
        propertyName: type
        mapping:
          crypto: '#/components/schemas/rail-crypto'
          card: '#/components/schemas/rail-card'
          bank: '#/components/schemas/rail-bank'
          apm: '#/components/schemas/rail-apm'
      oneOf:
      - title: Crypto
        $ref: '#/components/schemas/rail-crypto'
      - title: Card
        $ref: '#/components/schemas/rail-card'
      - title: Bank
        $ref: '#/components/schemas/rail-bank'
      - title: Alternative payment method
        $ref: '#/components/schemas/rail-apm'
    asset:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/asset-type'
        code:
          description: The unique code of the asset.
          type: string
        name:
          description: The name of the asset.
          type: string
        symbol:
          description: The symbol of the asset.
          type: string
        decimals:
          description: The maximum number of decimal places this asset can have.
          type: integer
          minimum: 0
        logo:
          description: The logo of the asset.
          type: string
          format: url
        features:
          description: The features of the asset.
          type: array
          items:
            $ref: '#/components/schemas/asset-features'
        cooldowns:
          description: The cooldowns of the asset.
          type: array
          items:
            type: object
            properties:
              rule:
                description: The cooldown rule.
                type: string
                enum:
                - financial-promotions
              features:
                description: The features affected by the cooldown.
                type: array
                items:
                  $ref: '#/components/schemas/asset-features'
              endsAt:
                description: The date and time when the cooldown ends.
                type: string
                format: date-time
      required:
      - code
      - name
      - type
      - decimals
      - cooldowns
      - features
    assets-cooldown-webhook-event:
      allOf:
      - $ref: '#/components/schemas/webhook-event'
      - type: object
        properties:
          data:
            type: object
            properties:
              userId:
                description: The id of the user.
                type: string
                format: uuid
              assets:
                description: The list of asset codes affected by the cooldown ending.
                type: array
                items:
                  type: string
              cooldown:
                type: object
                properties:
                  rule:
                    description: The cooldown rule.
                    type: string
                    enum:
                    - financial-promotions
                  features:
                    description: The features affected by the cooldown.
                    type: array
                    items:
                      type: string
                      enum:
                      - buy
                      - deposit
                  endsAt:
                    description: The date and time when the cooldown ended.
                    type: string
                    format: date-time
                required:
                - rule
                - features
                - endsAt
            required:
            - userId
            - assets
            - cooldown
    webhook-event:
      description: The webhook event information.
      type: object
      properties:
        id:
          description: The id of the event.
          type: string
          format: uuid
        type:
          description: The type of event.
          type: string
        createdAt:
          description: The date and time when the event was created.
          type: string
          format: date-time
        data:
          description: The event payload.
          type: object
      required:
      - id
      - type
      - createdAt
      - data
    rail-base:
      type: object
      properties:
        type:
          allOf:
          - $ref: '#/components/schemas/rail-type'
          - description: The type of the rail.
        network:
          description: The network code of the rail.
          type: string
        method:
          allOf:
          - $ref: '#/components/schemas/rail-method'
          - description: The method through which operations are carried over the network.
        asset:
          description: The asset code of the rail.
          type: string
        decimals:
          description: The number of decimal places for the asset within the network.
          type: integer
          minimum: 0
        features:
          description: The features of the asset within the network.
          type: array
          items:
            type: string
            enum:
            - withdraw
            - deposit
      required:
      - type
      - network
      - method
      - asset
      - decimals
      - features
    network-crypto:
      allOf:
      - $ref: '#/components/schemas/network-base'
      - type: object
        properties:
          type:
            enum:
            - crypto
          exampleAddress:
            description: An example address for the network.
            type: string
          reference:
            description: The reference used for the network, if any.
            type: object
            properties:
              type:
                description: The type of reference.
                type: string
                enum:
                - destination-tag
                - memo
            required:
            - type
          explorer:
            description: Details for exploring the blockchain.
            type: object
            properties:
              addressUrl:
                description: The URL to view address details.
                type: string
              txUrl:
                description: The URL to view transaction details.
                type: string
    network-apm:
      allOf:
      - $ref: '#/components/schemas/network-base'
      - type: object
        properties:
          type:
            enum:
            - apm
    error:
      description: The error information.
      allOf:
      - $ref: '#/components/schemas/feedback'
    rail-bank-constraint:
      oneOf:
      - $ref: '#/components/schemas/rail-bank-constraint-allowed-deposit-accounts'
      discriminator:
        propertyName: rule
        mapping:
          allowed-deposit-accounts: '#/components/schemas/rail-bank-constraint-allowed-deposit-accounts'
    news-item:
      type: object
      properties:
        title:
          description: The title of the news article.
          type: string
        publishedAt:
          description: The publication date and time of the news article.
          type: string
          format: date-time
        source:
          description: The source of the news article.
          type: string
        url:
          description: The URL to the full news article.
          type: string
          format: uri
    r

# --- truncated at 32 KB (85 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/uphold/refs/heads/main/openapi/uphold-assets-api-openapi.yml