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, greyscale, resize, crop, rotate, convert formats or add meme captions to any image by passing a URL.
QR code generation
Turn any text or link into a scannable PNG QR code with a single GET request.
Fun & utility endpoints
Currency conversion, random test data, text utilities, dice, link previews, quotes and more — for prototypes, bots and side projects.
Usage analytics
Requests per day, error rate, latency percentiles and a quota meter, broken down by endpoint and by API key.
Request logs
See the latest 100 requests per key with status, endpoint and latency, so debugging takes minutes instead of guesswork.
Live API playground
Try any endpoint from the docs with your own key and see the JSON or image response instantly.
Reliable infrastructure
Built on Next.js and Postgres, with a public status page showing live health and real traffic numbers.

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

Every endpoint available today. Click one for parameters and code samples.

MethodEndpointDescription
GET/api/qrcode?text=Generate a scannable PNG QR code from any text or URL.
GET/api/quoteGet a random inspirational quote with its author.
GET/api/roastGet a random, lighthearted roast.
GET/api/blur?url=Apply a blur effect to an image at the given URL and return the result as a PNG.
GET/api/greyscale?url=Convert an image at the given URL to greyscale and return it as a PNG.
GET/api/pixelate?url=Apply a pixelate effect to an image at the given URL and return it as a PNG.
GET/api/beautify?url=Apply a beautify effect to an image at the given URL and return the result as a PNG.
GET/api/currency?from=&to=&amount=Convert an amount between ~170 currencies using daily-updated exchange rates.
GET/api/random?type=Generate random test data: UUIDs, names, emails, usernames, passwords, colors, numbers, IPs, phones, addresses, full user objects, lorem ipsum and dates.
GET/api/text?op=&text=Transform or analyze text: slugify, count words, change case, reverse, base64, URL-encode and hash.
GET/api/preview?url=Fetch a web page and return its Open Graph / Twitter Card metadata: title, description, image, site name, favicon and more.
GET/api/roll?dice=Roll dice using standard notation, like 2d6 or 1d20+5.
GET/api/coin?count=Flip one or more coins.
GET/api/pick?items=Pick one or more random items from a list.
GET/api/placeholder?width=&height=Generate a placeholder image of any size with a text label.
GET/api/resize?url=&width=&height=Resize an image.
GET/api/crop?url=&left=&top=&width=&height=Crop a rectangular region out of an image.
GET/api/rotate?url=&angle=Rotate an image by any angle, clockwise.
GET/api/convert?url=&format=Convert an image between PNG, JPEG, WebP, AVIF and GIF, with adjustable quality.
GET/api/meme?url=&top=&bottom=Add classic top and bottom meme captions (white outlined text) to an image.

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, the playground, usage analytics and request logs.

Free
For hobby projects and trying things out.
$0/month
  • 3,000 requests/month
  • Up to 2 API keys
  • 20 requests/minute per key
  • 7-day usage analytics & request logs
  • 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
  • 30-day usage analytics & request logs
  • 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
  • 30-day usage analytics & request logs
  • 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