Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rocks.docs.rive.wtf/llms.txt

Use this file to discover all available pages before exploring further.

Every API key is tied to one IP. To apply for a key, DM southctrl on Discord.
Use the endpoint path below, replace the required params, and send Authorization: Bearer YOUR_API_KEY.

Quick Start

1

Choose a username

Use the Cash App username without the $ symbol.
2

Pick a format

Use json for the payment link or png for a QR image.
3

Call the route

Send a request to /api/cashapp.
Use format=png when you want a scannable QR code directly.

Generate CashApp QR Code

Generate QR codes and payment information for CashApp usernames.

Endpoint

GET /api/cashapp

Query Parameters

username
string
required
Cash App username without $.
format
string
default:"json"
Format: json or png.

Example Request

cURL (JSON)
curl -X GET "https://rocks.rive.wtf/api/cashapp?username=mrbeast" \
  -H "Authorization: Bearer YOUR_API_KEY"
cURL (PNG)
curl -X GET "https://rocks.rive.wtf/api/cashapp?username=mrbeast&format=png" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -o mrbeast-qr.png
JavaScript
const response = await fetch('https://rocks.rive.wtf/api/cashapp?username=mrbeast', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);
Python
import requests

headers = {'Authorization': 'Bearer YOUR_API_KEY'}
params = {'username': 'mrbeast'}

response = requests.get(
    'https://rocks.rive.wtf/api/cashapp',
    headers=headers,
    params=params
)

print(response.json())

Example Response (JSON)

{
  "url": "https://cash.app/$mrbeast"
}

Response Format

When format=png is specified, the endpoint returns a PNG image of the QR code directly.
returned URL is the CashApp payment link that can be used to send payments to the specified user.