Skip to main content

API Overview

The NowRamp Onramp API lets you compare crypto purchase quotes across multiple payment gateways and process checkouts with the best available provider.

Base URL

Authentication

The Onramp API endpoints are public — no API key is required. Pass your projectId as a query parameter (GET) or in the request body (POST).
Optionally include a public key (pk_) in the X-API-Key header for higher rate limits:
Never expose secret keys (sk_) in client-side code. Secret keys are only needed for partner dashboard operations, not for the Onramp API.

Endpoints

Sessions (authenticated)

See the Sessions API reference for full documentation.

Onramp (public)

See the Onramp API reference for full request/response documentation.

Request Format

  • All POST requests should use Content-Type: application/json
  • Request bodies should be JSON-encoded
  • All timestamps are in ISO 8601 format (UTC)

Response Format

Success Response

Error Response

See Error Handling for the full list of error codes.

Rate Limiting

Rate Limit Headers

When you exceed the rate limit, the API returns 429 Too Many Requests. Implement exponential backoff to handle this gracefully.

Idempotency

For the POST /checkout-intent endpoint, include an Idempotency-Key header to prevent duplicate orders:
Idempotency keys are valid for 24 hours. Requests with the same key return the cached response from the original request.

SDKs

Next Steps