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

# Try a live endpoint right now:
curl https://your-app.com/api/quote

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

Getting started

Register for an API key in the dashboard

Authenticate using your API credentials

Make your first API request

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

Choose the plan that fits your needs

Free
For personal projects and prototypes.
$0/month
  • Access to all public endpoints
  • Up to 3 API keys
  • Community support
Get started
Most popular
Basic
For small apps in production.
$9/month
  • Everything in Free
  • Higher rate limits
  • Unlimited API keys
  • Email support
Start with Basic
Premium
For teams that need more headroom.
$29/month
  • Everything in Basic
  • Priority rate limits
  • Priority support
  • Early access to new endpoints
Go Premium

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