> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pag.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Get asset price



## OpenAPI

````yaml openapi.json GET /api/v1/getAssetPrice
openapi: 3.1.0
info:
  title: PagFinance Partner API
  version: 1.0.0
  description: >-
    Curated partner-facing surface of the PagFinance API. Full narrative: see
    the API Reference pages.
servers:
  - url: https://app.pag.finance
    description: Production
security:
  - partnerApiKey: []
tags:
  - name: Auth
  - name: Users
  - name: Partners
  - name: KYC
  - name: Prices
  - name: Validate
  - name: Cashout
  - name: Cashin
  - name: Receipts
  - name: Links
paths:
  /api/v1/getAssetPrice:
    get:
      tags:
        - Prices
      summary: Get asset price
      operationId: getAssetPrice
      parameters:
        - name: assetId
          in: query
          required: false
          schema:
            type: integer
        - name: fiatCurrency
          in: query
          required: false
          schema:
            type: string
          description: e.g. BRL
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                success: true
                error: null
                data:
                  price: 5.42
                  pair: USDC/BRL
                  baseCurrency: USDC
                  quoteCurrency: BRL
                  cached: true
      security: []
components:
  securitySchemes:
    partnerApiKey:
      type: http
      scheme: bearer
      description: 'Bearer API key: sk_live_...'

````