---
updatedAt: 2026-08-03T10:03:34.000Z
agentTools:
  projectIndex: https://ramp-docs.transfi.com/llms.txt
---

# Quotes

This section provides API to get the exchange rates for On Ramp.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "x-stoplight": {
    "id": "vky6z3855u5xo"
  },
  "info": {
    "title": "TransFi Integrated API",
    "version": "1.0",
    "description": "Access state of the art crypto payment rails easily using TransFi's API",
    "contact": {
      "name": "Transfi Developer Support",
      "url": "https://transfi.com",
      "email": "support@transfi.com"
    },
    "license": {
      "url": "https://transfi.com",
      "name": "Proprietory"
    }
  },
  "servers": [
    {
      "url": "https://sandbox-api.transfi.com",
      "description": "Sandbox Server"
    }
  ],
  "paths": {
    "/buy/quotes": {
      "get": {
        "summary": "Quotes",
        "tags": [
          "Onramp"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "receiveAmount": {
                              "type": "number"
                            },
                            "cryptoPrice": {
                              "type": "number"
                            },
                            "processingFee": {
                              "type": "integer"
                            },
                            "networkFee": {
                              "type": "number"
                            },
                            "sentAmount": {
                              "type": "string"
                            },
                            "totalFee": {
                              "type": "number"
                            },
                            "receiveFiatAmount": {
                              "type": "number"
                            },
                            "minLimit": {
                              "type": "integer"
                            },
                            "maxLimit": {
                              "type": "integer"
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "Example 1": {
                      "message": {
                        "success": true,
                        "data": {
                          "receiveAmount": 0.429085,
                          "cryptoPrice": 2321.100999,
                          "processingFee": 4,
                          "networkFee": 0.05,
                          "sentAmount": "1000",
                          "totalFee": 4.05,
                          "receiveFiatAmount": 995.95,
                          "minLimit": 24,
                          "maxLimit": 92000
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "message": {
                        "success": true,
                        "data": {
                          "receiveAmount": 0.429085,
                          "cryptoPrice": 2321.100999,
                          "processingFee": 4,
                          "networkFee": 0.05,
                          "sentAmount": "1000",
                          "totalFee": 4.05,
                          "receiveFiatAmount": 995.95,
                          "minLimit": 24,
                          "maxLimit": 92000
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  },
                  "x-examples": {
                    "Example 1": {
                      "message": "Quotes are not supported for the selected currency and payment methods."
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "message": "Quotes are not supported for the selected currency and payment methods."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "Example 1": {
                      "status": false,
                      "data": {
                        "message": "Invalid merchant_id or merchant_secret provided",
                        "code": "UNAUTHORIZED_CUSTOMER"
                      }
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "status": false,
                      "data": {
                        "message": "Invalid merchant_id or merchant_secret provided",
                        "code": "UNAUTHORIZED_CUSTOMER"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-buy-quotes",
        "x-stoplight": {
          "id": "4be0bg4tadkdm"
        },
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "fiatTicker",
            "description": "Fiat currency symbol",
            "required": true
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "amount",
            "description": "Fiat amount",
            "required": true
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "cryptoTicker",
            "description": "Unique ID returns from GET /buy/crypto API",
            "required": true
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "paymentCode",
            "description": "Please refer the paymentCode returns by Payment Methods API",
            "required": true
          }
        ],
        "description": "This section provides API to get the exchange rates for On Ramp."
      },
      "parameters": []
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": ""
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-internal": false
}
```