API Snap

API Snap is a developer utility platform that consolidates 13+ commonly needed REST APIs into a single, unified service with one API key. The platform provides QR code generation, screenshot capture, image resize and conversion, HTML-to-PDF rendering, Markdown-to-HTML conversion, URL metadata extraction, cryptographic hashing, JWT decoding, Base64 encoding/decoding, UUID and unique ID generation, color format conversion, lorem ipsum text generation, and SVG placeholder image generation. API Snap aims to eliminate dependency bloat by letting developers replace small libraries and self-hosted utility services with simple HTTP requests against a managed, rate-limited, multi-tenant API.

13 APIs 6 Features
API UtilitiesDeveloper ToolsQR CodesScreenshotsImage ProcessingPDF GenerationMarkdownURL MetadataHashingJWTBase64UUIDColor ConversionLorem IpsumPlaceholder Images

APIs

QR Code API

Generate QR codes encoding any text or URL. Supports configurable size up to 1000 pixels, PNG or SVG output formats, and custom foreground/background hex colors. Returns the enc...

Screenshot API

Capture a webpage screenshot by URL. Configurable viewport width and height, output format (PNG or JPEG), and an option to capture the full scrollable page. A managed alternativ...

Image Resize API

Resize and convert images. Accepts a binary upload, base64 string, or remote URL. Supports PNG, JPEG, WebP, and AVIF output, configurable quality, target width and height up to ...

PDF API

Convert HTML content into a PDF document. Accepts arbitrary HTML and an optional filename title, returning an application/pdf payload with a Content-Disposition header for direc...

Markdown API

Convert Markdown content to HTML. Supports a styled mode that returns a full standalone HTML page with default styling, or an unstyled mode that returns a JSON document with the...

URL Metadata API

Extract URL metadata and Open Graph tags for any web page. Returns a structured JSON document with title, description, image, site name, type, favicon, theme color, author, and ...

Hash API

Compute cryptographic hashes of arbitrary text. Supports MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, and SHA3-512 algorithms with hex, base64, or base64url encodings. Avail...

JWT Decode API

Decode a JSON Web Token without verification, returning the header and payload as JSON along with computed expiration metadata (expired flag, expiresAt, issuedAt). Useful for de...

Base64 API

Base64 encode or decode an arbitrary string. Supports a URL-safe variant for use in URLs and tokens. Accepts a JSON request body specifying the action and returns the result wit...

UUID API

Generate unique identifiers in multiple formats including UUID v4, NanoID, short NanoID, hex, base64, numeric, and timestamp-based IDs. Supports batch generation of up to 100 ID...

Color API

Convert color values between hex, RGB, and HSL formats. Returns structured representations for each format along with computed brightness (0-255) and a derived isDark boolean us...

Lorem Ipsum API

Generate lorem ipsum placeholder text. Supports configurable paragraph and sentence counts (1-20 each) and either plain text or HTML output for use in design mockups, prototypes...

Placeholder Image API

Generate SVG placeholder images for design and prototyping. Supports configurable width and height up to 2000 pixels, custom background and foreground hex colors, and optional c...

Collections

API Snap

OPEN

Pricing Plans

Api Snap Plans Pricing

4 plans

PLANS

Rate Limits

Api Snap Rate Limits

5 limits

RATE LIMITS

FinOps

Features

Unified API Key

A single Bearer API key (prefix snp_) authorizes all 13+ utility endpoints. No per-service signup or per-product key.

REST and JSON

Every endpoint follows a simple REST pattern under https://api-snap.com/api and returns either JSON or the natural binary content type (image, PDF, SVG) for the resource.

Predictable Rate Limit Headers

All responses include X-RateLimit-Limit and X-RateLimit-Remaining headers so clients can implement adaptive throttling.

GET and POST Variants

Stateless endpoints (hash, qr, uuid, color, meta, lorem, placeholder, screenshot) accept GET with query parameters; mutating endpoints (resize, pdf, markdown, base64, jwt-decode) use POST with a JSON or multipart body.

Single REST Service for Many Utilities

Replaces multiple small libraries and self-hosted micro-services for QR generation, screenshots, image resizing, PDF rendering, hashing, and ID generation with one HTTP integration.

Format Flexibility

Image and document endpoints accept multiple input formats (binary, base64, URL) and produce multiple output formats (PNG, JPEG, WebP, AVIF, SVG, PDF, HTML).

Use Cases

Dynamic QR Codes for Marketing

Generate trackable QR codes for campaigns, packaging, business cards, and events without integrating a QR library.

Link Preview Cards

Use the URL Metadata API to build rich link previews and bookmark cards in chat apps, CMS platforms, and feed readers.

Server-Side Screenshot Automation

Capture webpage thumbnails for SEO, social cards, monitoring dashboards, and visual regression checks without operating headless Chromium.

User-Generated Image Resizing

Resize and reformat user uploads on demand for avatars, thumbnails, and responsive images without running an image processing service.

HTML-to-PDF Document Generation

Render invoices, receipts, contracts, and reports as PDF directly from HTML templates.

ID Generation for Microservices

Centralize UUID, NanoID, and prefixed-ID generation across services without bundling identifier libraries into every codebase.

Markdown-Driven CMS Rendering

Convert user or author Markdown into HTML on the fly for blogs, docs sites, and customer-facing UIs.

Token Debugging and Inspection

Decode JWTs in admin tooling and developer utilities to inspect claims, issuers, and expiration without writing per-language decoders.

Design System and Mockup Tools

Generate placeholder images, lorem text, and color conversions inside design tooling, mockup builders, and component playgrounds.

Integrations

HTTP Clients

Works with any HTTP client (curl, fetch, axios, requests) via the Authorization Bearer header or api_key query parameter.

Headless Browser Replacement

Drop-in replacement for self-hosted Puppeteer or Playwright services handling screenshot and PDF workloads.

Image Processing Replacement

Drop-in replacement for libraries such as sharp or imagemagick when consumed as a managed service.

Semantic Vocabularies

Api Snap Context

22 classes · 30 properties

JSON-LD

API Governance Rules

API Snap API Rules

37 rules · 11 errors 18 warnings 8 info

SPECTRAL

JSON Structure

Base64 Base64 Result Structure

2 properties

JSON STRUCTURE

Color Color Conversion Structure

8 properties

JSON STRUCTURE

Hash Hash Result Structure

3 properties

JSON STRUCTURE

Jwt Decode Jwt Decoded Structure

5 properties

JSON STRUCTURE

Lorem Lorem Text Structure

2 properties

JSON STRUCTURE

Meta Url Metadata Structure

10 properties

JSON STRUCTURE

Uuid Id Result Structure

0 properties

JSON STRUCTURE

Example Payloads

Base64 Encode Example

5 fields

EXAMPLE

Color Convert Example

5 fields

EXAMPLE

Hash String Example

5 fields

EXAMPLE

Jwt Decode Example

5 fields

EXAMPLE

Lorem Generate Example

5 fields

EXAMPLE

Markdown Render Example

5 fields

EXAMPLE

Meta Extract Example

5 fields

EXAMPLE

Pdf Generate Example

5 fields

EXAMPLE

Placeholder Generate Example

5 fields

EXAMPLE

Qr Generate Example

5 fields

EXAMPLE

Resize Image Example

5 fields

EXAMPLE

Screenshot Capture Example

5 fields

EXAMPLE

Uuid Generate Example

5 fields

EXAMPLE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🔗
APIReference
APIReference
🔗
OpenAPI
OpenAPI
💰
Pricing
Pricing
📰
Blog
Blog
👥
GitHubOrganization
GitHubOrganization
🔑
Authentication
Authentication
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
JSONLD
JSONLD
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: API Snap
  version: 1.0.0
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Images
    type: folder
  items:
  - info:
      name: Generate QR Code
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/qr
      params:
      - name: data
        value: https://example.com
        type: query
        description: The text or URL to encode in the QR code. Also accepted as `url`.
      - name: size
        value: '300'
        type: query
        description: Width/height of the QR code in pixels (max 1000).
      - name: format
        value: png
        type: query
        description: Output format.
      - name: dark
        value: '#000000'
        type: query
        description: Hex color for dark (foreground) modules.
      - name: light
        value: '#ffffff'
        type: query
        description: Hex color for light (background) modules.
    docs: Generate a QR code image for any text or URL. Returns PNG or SVG.
  - info:
      name: Resize and Convert Images
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/resize
      body:
        type: json
        data: '{}'
    docs: Resize and/or convert images to PNG, WebP, JPEG, or AVIF. Accepts multipart form data (with an `image` file field)
      or a JSON body with a base64-encoded image or image URL.
  - info:
      name: Generate Placeholder Image
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/placeholder
      params:
      - name: w
        value: '300'
        type: query
        description: Image width in pixels (1–2000).
      - name: h
        value: '200'
        type: query
        description: Image height in pixels (1–2000).
      - name: bg
        value: cccccc
        type: query
        description: Background color as a hex string without the `#` prefix.
      - name: fg
        value: '666666'
        type: query
        description: Text/foreground color as a hex string without the `#` prefix.
      - name: text
        value: Hello
        type: query
        description: Label text to display on the image. Defaults to the dimensions (e.g. `300x200`).
    docs: Generate an SVG placeholder image of any size with customizable background color, text color, and label.
- info:
    name: Browser
    type: folder
  items:
  - info:
      name: Capture Webpage Screenshot
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/screenshot
      params:
      - name: url
        value: https://example.com
        type: query
        description: The URL of the webpage to screenshot.
      - name: width
        value: '1280'
        type: query
        description: Viewport width in pixels (max 1920).
      - name: height
        value: '720'
        type: query
        description: Viewport height in pixels (max 1080).
      - name: format
        value: png
        type: query
        description: Image output format.
      - name: full_page
        value: 'false'
        type: query
        description: Capture the full scrollable page instead of only the viewport.
    docs: Capture a screenshot of any publicly accessible URL. Returns PNG or JPEG.
- info:
    name: Documents
    type: folder
  items:
  - info:
      name: Convert HTML to PDF
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/pdf
      body:
        type: json
        data: '{}'
    docs: Convert an HTML string to a downloadable PDF file.
  - info:
      name: Convert Markdown to HTML
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/markdown
      body:
        type: json
        data: '{}'
    docs: 'Convert a Markdown string to HTML. By default returns a fully styled HTML page; pass `styled: false` to get raw
      HTML fragment in a JSON response.'
- info:
    name: Security
    type: folder
  items:
  - info:
      name: Hash a String (GET)
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/hash
      params:
      - name: text
        value: Hello World
        type: query
        description: The string to hash.
      - name: algorithm
        value: sha256
        type: query
        description: Hash algorithm to use.
      - name: encoding
        value: hex
        type: query
        description: Output encoding.
    docs: Compute a cryptographic hash of a string using the specified algorithm.
  - info:
      name: Hash a String (POST)
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/hash
      body:
        type: json
        data: '{}'
    docs: Compute a cryptographic hash of a string via JSON body. Useful for hashing large inputs.
  - info:
      name: Decode a JWT Token
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/jwt-decode
      body:
        type: json
        data: '{}'
    docs: Decode a JSON Web Token (JWT) and return its header, payload, and human-readable expiry information. Does not verify
      the signature.
- info:
    name: Utilities
    type: folder
  items:
  - info:
      name: Generate UUIDs and Unique IDs
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/uuid
      params:
      - name: format
        value: uuid
        type: query
        description: ID format to generate.
      - name: count
        value: '1'
        type: query
        description: Number of IDs to generate (1–100).
      - name: prefix
        value: user_
        type: query
        description: Optional string prefix to prepend to each generated ID.
    docs: 'Generate one or more unique identifiers in various formats: UUID v4, nanoid, hex token, base64, numeric, or timestamp-prefixed.'
  - info:
      name: Extract URL Metadata and Open Graph Tags
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/meta
      params:
      - name: url
        value: https://example.com
        type: query
        description: The URL to extract metadata from.
    docs: Fetch a URL and extract its title, description, Open Graph image, favicon, and other metadata.
  - info:
      name: Base64 Encode or Decode
      type: http
    http:
      method: POST
      url: https://api-snap.com/api/base64
      body:
        type: json
        data: '{}'
    docs: Encode a string to Base64 or decode a Base64 string back to plain text. Supports standard and URL-safe Base64.
  - info:
      name: Convert Color Formats
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/color
      params:
      - name: color
        value: '#ff0000'
        type: query
        description: Color value to convert. Accepts hex (e.g. `#ff0000` or `ff0000`), RGB (e.g. `rgb(255,0,0)`), or HSL (e.g.
          `hsl(0,100%,50%)`).
    docs: Convert a color between hex, RGB, HSL and get metadata like brightness and isDark. Accepts hex, rgb(), or hsl()
      input.
  - info:
      name: Generate Lorem Ipsum Text
      type: http
    http:
      method: GET
      url: https://api-snap.com/api/lorem
      params:
      - name: paragraphs
        value: '3'
        type: query
        description: Number of paragraphs to generate (1–20).
      - name: sentences
        value: '5'
        type: query
        description: Number of sentences per paragraph (1–20).
      - name: format
        value: text
        type: query
        description: Output format. `text` returns JSON; `html` returns `<p>` tags as HTML.
    docs: Generate placeholder lorem ipsum text as plain JSON or an HTML snippet.
bundled: true