Skip to content

API base URLs

Ripple makes RESTful APIs available to integrate, manage, and interact with Ripple products and services. To use these APIs you need to use the correct base URL. A base URL is part of a well-formed REST URL.

To form the final API request, append the necessary version, path, resource, and parameters to the base URL.

All environments use unique base URLs

For more information on the correct base URL for the API environment you interact with, see Base URL by API environment.

Components of a base URL

A base URL includes the HTTPS protocol, the [domainPrefix] if required, and the domain. A [domainPrefix] refers to a segment of the base URL that's variable depending on the API and environment.

Each API has its own unique URL and these are the general components:

baseurl

Tenant IDs

Your tenant ID is provided during the onboarding process. Contact your Ripple liaison for assistance.

The examples on this page use the tenant ID aperture for demonstration purposes.

Example

This example uses aperture for the tenant in the test environment using the RippleNet Server API:

URL format
https://{domainPrefix}.{domain}/{path}?{parameters}
Example URL
https://aperture.test.ripplexcurrent.com/v4/payments?page=0&size=100

The following table describes each component of a complete API request:

Field
Example value
Description
ProtocolhttpsRipple uses the HTTPS protocol for all APIs.
Domain Prefixaperture.testDomain prefix requirements vary between APIs and environments.
Verify the prefix requirements used with your API environment.

Prefixes can contain:
  • Tenant: Your tenant ID is provided during the onboarding process. Contact your support team for assistance.
  • Env: This is the value of the API environment you are planning to use.

Example: The RippleNet Server API requires a {tenant}.{env} configuration. The demonstration tenant ID is set to aperture and the environment is set to test.
Domainripplexcurrent.comThe domain is unique for each API.

This example targets the RippleNet Server API and uses the ripplexcurrent.com domain.
Path/v4/paymentsThe path is appended to the base URL to reach the endpoint for the API operation.

This example targets the RippleNet Server API and uses the /v4/payments endpoint.
Parameterspage=0&size=100Apply any required or optional query parameters for your API operation.

This example uses pagination to start on the first page with 100 results per page.

Base URL by API environment

The [domainPrefix] of the base URL is unique to both an API and the environment in which you use the API.

You can use Ripple APIs in the following environments:

  • Test: Simulated partners and simulated currency.
  • UAT: Actual partners and simulated currency.
  • Production: Production environment with actual partners and currency.
Tokens are unique per environment

In addition to unique base URLs, access tokens are also unique per environment. Be sure to request the access token for the desired environment.

Base URL for RippleNet Server API

The RippleNet Server API — including the orchestration payment operations — creates a dynamic [domainPrefix] that consists of {tenant}.{environment}. For more information, see the RippleNet Server API.

Note: The following examples use aperture as the tenant, your tenant ID will be different.

URL Format<td>&nbsp;</td>
https://{domainPrefix}.{domain}/{path}?{parameters}

# This is the URL format for the RippleNet Server API.
Example Base URL<td>&nbsp;</td>
https://aperture.test.ripplexcurrent.com/

# This is the base URL for the RippleNet Server API.
Example fully-qualified URL<td>&nbsp;</td>
https://aperture.test.ripplexcurrent.com/v4/payment?page=0&size=100

# This connects to the test environment and requests a list of payments with 100 results per page.
Environment
Domain Prefix
DomainBase URL
Testaperture.testripplexcurrent.comhttps://aperture.test.ripplexcurrent.com
UATaperture.uatripplexcurrent.comhttps://aperture.uat.ripplexcurrent.com
Productionaperture.prodripplexcurrent.comhttps://aperture.prod.ripplexcurrent.com

Base URL for Smart Liquidation API

The Smart Liquidation API assigns a [domainPrefix] based on the environment. Your tenant information is automatically derived from your API credentials. For more information, see Smart Liquidation API.

URL Format<td>&nbsp;</td><td>&nbsp;</td>
https://{domainPrefix}.{domain}/{path}?{parameters}

# This is the URL format for the Smart Liquidation API.
Example Base URL<td>&nbsp;</td><td>&nbsp;</td>
https://liquidation-test.pub.prod.ripplenet.com/

# This is the base URL for the Smart Liquidation API.
Example fully-qualified URL<td>&nbsp;</td><td>&nbsp;</td>
https://liquidation-test.pub.prod.ripplenet.com/liquidations?page=0&size=100

# This connects to the test environment and requests a list of liquidations with 100 results per page.
Environment
Domain Prefix
Domain
Base URL
Testliquidation-test.pub.prodripplenet.com
liquidation-test.pub.prod.ripplenet.com
Productionliquidation.pub.prodripplenet.comliquidation.pub.prod.ripplenet.com

Base URL for Report Service API

The Report Service API assigns a [domainPrefix] based on the environment. Your tenant information is automatically derived from your API credentials. For more information, see Report Service API.

URL Format<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
https://{domainPrefix}.{domain}/{path}?{parameters}

# This is the URL format for the Report Service API.
Example Base URL<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
https://reporting-test.rnc.ripplenet.com/

# This is the base URL for the Report Service API.
Example fully-qualified URL<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
https://reporting-test.rnc.ripplenet.com/v1/reports/497f6eca-6276-4993-bfeb-53cbbbba6f08

# This connects to the test environment and requests a specific report by ID.
Environment
Domain Prefix
DomainBase URL
Testreporting-test.rncripplenet.comhttps://reporting-test.rnc.ripplenet.com
Productionreporting.rncripplenet.comhttps://reporting.rnc.ripplenet.com