Getting Started with Onramp
Migrating to Secure Init is now required for all apps moving forward. Please upgrade your app by 7/31/2025.
This migration is mandatory for continued access to Coinbase Onramp and Offramp APIs. Learn more about the migration.
Welcome to Coinbase Onramp. Get up and running in less than 5 minutes.
Step 1: Sign up for a CDP account
If you already have a Coinbase account, you can just Sign in.
Step 2: Verify your email
Enter your email address and verify with a code sent to you immediately after signup. Set up 2-factor authentication (2FA) with your phone number.
Step 3: Get your Project ID
A default project name displays (you can rename this). Copy your Project ID to use later (this is referred to as appId
).
Step 4: Create a Secret API Key
Navigate to the API Keys tab. Create and download your API key. Enter an API key nickname (restrictions are optional).
Secure your private/public key pair in a safe location.
Install CDP CLI tools
Install cdpcurl
to make test API calls. cdpcurl
allows you to make authenticated HTTP requests to the Coinbase API with your API key.
Integrate Coinbase Onramp and Offramp into your product
Coinbase’s fiat-to-crypto (Onramp) and crypto-to-fiat (Offramp) APIs and SDKs offer a lightweight way for Apps to generate URLs to Coinbase’s hosted widgets.
Developers can use the REST API to interact with Coinbase Onramp and Offramp.
In addition, we recommend generating a One-click-buy URL via API for most developers!
See Also: