Powerful REST APIfor your applications

Build scalable applications with a reliable and secure RESTful API service. Easy integration, comprehensive documentation, and powerful features.

Detailed documentation
Secure by default
High performance
{
  "endpoint": "/api/quote",
  "method": "GET",
  "response": {
    "status": "success",
    "data": {
      "message": "Welcome to Random API",
      "features": [
        "API key authentication",
        "OAuth login",
        "Image transforms",
        "QR codes & more"
      ]
    }
  }
}

Powerful features

Everything you need to build robust applications, without the boilerplate.

API key authentication
Create, disable, and revoke scoped API keys from your dashboard, with per-key rate limiting and usage tracking built in.
OAuth login
Sign in with Google or GitHub in one click — no passwords to manage, powered by Better Auth.
Image transforms
Blur, pixelate, or greyscale any image on the fly by passing a URL — perfect for quick previews and placeholders.
QR code generation
Turn any text or link into a scannable PNG QR code with a single GET request.
Fun & utility endpoints
Random quotes, roasts, and more — lightweight endpoints for prototypes, bots, and side projects.
Reliable infrastructure
Built on Next.js and Postgres, deployed for consistent low-latency responses wherever your app runs.

Clear documentation

Start integrating with our API in minutes

# Every request needs an API key:
curl https://your-app.com/api/quote \
  -H "x-api-key: YOUR_API_KEY"

# Response
{
  "quote": "Success is not just about making money.",
  "author": "Unknown"
}

Getting started

Create an API key from your dashboard

Pass it as the x-api-key header on your requests

Every request is tracked and rate limited per key

Full API reference

Every endpoint, with request/response examples in cURL, JavaScript, and Python.

Browse docs

API endpoints

The real, working endpoints available in this API today.

MethodEndpointDescription
GET/api/qrcode?text=Generate a PNG QR code from text or a URL
GET/api/quoteGet a random inspirational quote
GET/api/roastGet a random roast
GET/api/blur?url=Apply a blur effect to an image URL
GET/api/greyscale?url=Convert an image URL to greyscale
GET/api/pixelate?url=Apply a pixelate effect to an image URL

Secure authentication

Industry-standard security for your API requests

Authentication methods

API key authentication

Simple and secure authentication using unique API keys for each project, issued from your dashboard.

OAuth 2.0

Sign in with Google or GitHub — industry-standard authorization with secure token management.

Session-based access

Stateless, cookie-based sessions handled by Better Auth for secure dashboard access.

Security features

  • HTTPS encryption
  • Per-key rate limiting
  • Instant key revocation
// Sign in from the client
const { data } = await authClient.signIn.social({
  provider: "google",
  callbackURL: "/dashboard"
});

// Create an API key once signed in
const key = await authClient.apiKey.create({
  name: "Production server"
});

Simple, transparent pricing

Pay for the volume you need. Every plan includes every endpoint.

Free
For hobby projects and trying things out.
$0/month
  • 3,000 requests/month
  • Up to 2 API keys
  • 20 requests/minute per key
  • Community support on Discord
Get started
Most popular
Pro
For apps running in production.
$9/month
  • 100,000 requests/month
  • Up to 10 API keys
  • 120 requests/minute per key
  • Priority support on Discord
Go Pro
Scale
For high-volume workloads.
$29/month
  • 1,000,000 requests/month
  • Unlimited API keys
  • 600 requests/minute per key
  • Priority support on Discord
Go Scale

Easy integration

Integrate with your favorite programming languages and frameworks

// JavaScript
const res = await fetch(
  "https://your-app.com/api/quote"
);
const data = await res.json();

# Python
import requests

res = requests.get(
    "https://your-app.com/api/quote"
)
data = res.json()

Works with any stack

JavaScript
Python
Ruby
PHP
Java
Go

Integration features

  • Plain HTTP — works with any language or framework
  • Detailed documentation and examples
  • Predictable JSON responses
  • CORS enabled for browser-based apps