1. OnRamp
CryptopocketAPI
  • Common
    • Authentication
      POST
    • User Registration
      POST
    • Check KYC Verification
      GET
    • Token Price
      GET
  • OnRamp
    • Get payment methods
      GET
    • Get Quote
      GET
    • Create Payment Intend (RampOn)
      POST
    • Get Payment
      GET
    • List of Payments
      GET
  • OffRamp
    • Get quote
      GET
    • Create rampoff opetation
      POST
    • Get rampoff status
      GET
    • Get List
      GET
  • Webhooks
    • Webhook Event Update
      POST
    • Webhook Event Subscribe
      POST
  1. OnRamp

Get Quote

GET
/api/quote
Returns the amount of tokens for a given fiat amount.
Query Parameters:
amount (required): The amount in euros that the user wishes to convert to tokens.
payment_type (required): The type of payment the user intends to use.Allowed values: card | psd2 | transfer
symbol (required): The token symbol to which the user wants to convert the amount (USDT).
chain(required): The blockchain in which the desired token exists. Ex: polygon,bsc,ethereum
RESPONSE EXAMPLE:
{
    "status": "ok",
    "data": {
        "tokens": 101.619859
    }
}

Solicitud

Parámetros de consulta

Respuestas

🟢200
application/json
Body

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/quote?amount=100&symbol=cpc&payment_type=psd2&chain=polygon'
Respuesta Ejemplo de Respuesta
{}
Modificado en 2026-04-08 19:00:29
Anterior
Get payment methods
Siguiente
Create Payment Intend (RampOn)
Built with