---
title: "Get onramp user limits"
method: POST
path: "/v2/onramp/limits"
tags: ["Onramp"]
---

# Get onramp user limits

`POST /v2/onramp/limits`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/onramp/limits`
- Auth: HTTP bearer

Returns the transaction limits for an onramp user based on their payment method and user identifier. Use this API to show users their remaining purchase capacity before initiating an onramp transaction.
Currently supports `GUEST_CHECKOUT_APPLE_PAY` payment method with phone number identification. The phone number must have been previously verified via OTP.

## Request body

- object
  - `paymentMethodType` 'GUEST_CHECKOUT_APPLE_PAY' | 'GUEST_CHECKOUT_GOOGLE_PAY', required: The type of payment method to be used to complete an onramp order.
  - `userId` string, required: The user identifier value. For `phone_number` type, this must be in E.164 format.
  - `userIdType` 'phone_number', required: The type of user identifier: - `phone_number`: A phone number in E.164 format associated with an onramp user.

## Response `200`

Successfully retrieved user limits.

- object
  - `limits` OnrampUserLimit[], required: The list of limits applicable to the user.
    - `limitType` 'weekly_spending' | 'lifetime_transactions', required: The type of limit: - `weekly_spending`: Rolling 7-day spending limit. The limit applies to the sum of all completed transactions within a sliding 168-hour (7-day) window. As time passes, older transactions naturally expire from the window. $500 is the default limit. - `lifetime_transactions`: All-time transaction count limit. Tracks the total number of completed transactions across the user's entire history with no time-based expiration. Once the limit is reached, no further transactions are allowed. 15 is the default limit.
    - `currency` string: The currency of the limit amounts. Only present for spending limits, not for count-based limits.
    - `limit` string, required: The maximum limit value.
    - `remaining` string, required: The remaining amount or count available.
  - `limitUpgradeOptions` OnrampLimitUpgradeOption[]: The user's limit upgrade status and associated upgrade details. Omitted when limit upgrades are not available for the calling app or user. Use the [Request Limit Upgrade](https://docs.cdp.coinbase.com/api-reference/v2/rest-api/onramp/request-limits-upgrade) endpoint to request a limit upgrade.
    - `status` 'unrequested' | 'resubmit' | 'pending' | 'active' | 'inactive', required: The status of verification: - `unrequested`: The limit upgrade has not been submitted. - `resubmit`: One or more identity fields must be resubmitted. - `pending`: The submitted identity fields are pending review. - `active`: The limit upgrade is active. - `inactive`: The limit upgrade was rejected and cannot be resubmitted.
    - `fields` OnrampLimitUpgradeIdentityFieldKey[], required: The identity fields associated with the current status. Contains fields to submit for `unrequested` and `resubmit`, fields pending review for `pending`, and is empty for `active` and `inactive`.
    - `limitUpgrades` OnrampLimitUpgrade[], required: The limit values associated with this upgrade.
      - `limitType` 'weekly_spending' | 'lifetime_transactions', required: The type of limit: - `weekly_spending`: Rolling 7-day spending limit. The limit applies to the sum of all completed transactions within a sliding 168-hour (7-day) window. As time passes, older transactions naturally expire from the window. $500 is the default limit. - `lifetime_transactions`: All-time transaction count limit. Tracks the total number of completed transactions across the user's entire history with no time-based expiration. Once the limit is reached, no further transactions are allowed. 15 is the default limit.
      - `maxUpgrade` string, required: The maximum limit value possible after completing the upgrade. Risk factors may impact the actual limit value that takes effect. For `lifetime_transactions`, `2147483647` represents an unlimited number of transactions.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

## Changes

- **2026-12-01** `06cb41a4fb57`: 4 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `429`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `500`
- **2026-10-16** `ff3c1fdef902`: 4 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `429`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `500`
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/onramp/limits/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
