API Snap

API Snap

API Snap is a developer utility API that bundles 13+ common tools into a single REST API with one API key. Generate QR codes, resize images, capture…

Developer tools#development

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

API Snap is a developer utility API that bundles 13+ common tools into a single REST API with one API key. Generate QR codes, resize images, capture screenshots, convert HTML to PDF, hash strings, generate UUIDs, extract URL metadata, and more. Free tier includes 100 API calls/month with no credit card required. All endpoints support CORS and return JSON (or binary where appropriate). Built for developers who want to ship faster.

Endpoints 14

Images

  • GETGenerate QR code/api/qr?data=https://example.comGenerate a QR code image for any text or URL. Returns PNG or SVG.
  • POSTResize and convert images/api/resizeResize 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…
  • GETGenerate placeholder image/api/placeholderGenerate an SVG placeholder image of any size with customizable background color, text color, and label.

Browser

  • GETCapture webpage screenshot/api/screenshot?url=https://example.comCapture a screenshot of any publicly accessible URL. Returns PNG or JPEG.

Documents

  • POSTConvert HTML to PDF/api/pdfConvert an HTML string to a downloadable PDF file.
  • POSTConvert Markdown to HTML/api/markdownConvert 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.

Security

  • GETHash a string (GET)/api/hash?text=Hello WorldCompute a cryptographic hash of a string using the specified algorithm.
  • POSTHash a string (POST)/api/hashCompute a cryptographic hash of a string via JSON body. Useful for hashing large inputs.
  • POSTDecode a JWT token/api/jwt-decodeDecode a JSON Web Token (JWT) and return its header, payload, and human-readable expiry information. Does not verify the signature.

Utilities

  • GETGenerate UUIDs and unique IDs/api/uuidGenerate one or more unique identifiers in various formats: UUID v4, nanoid, hex token, base64, numeric, or timestamp-prefixed.
  • GETExtract URL metadata and Open Graph tags/api/meta?url=https://example.comFetch a URL and extract its title, description, Open Graph image, favicon, and other metadata.
  • POSTBase64 encode or decode/api/base64Encode a string to Base64 or decode a Base64 string back to plain text. Supports standard and URL-safe Base64.
  • GETConvert color formats/api/color?color=#ff0000Convert a color between hex, RGB, HSL and get metadata like brightness and isDark. Accepts hex, rgb(), or hsl() input.
  • GETGenerate lorem ipsum text/api/loremGenerate placeholder lorem ipsum text as plain JSON or an HTML snippet.

API details

Base URL
https://api-snap.com
Authentication
A bearer token in the Authorization header
Operations
14 operations on 13 pathsGET 8POST 6
Main resources
Utilities 5Images 3Security 3Documents 2Browser 1
Response formats
application/json image/png image/jpeg image/svg+xml
Description format
OpenAPI 3.0.3, API version 1.0.0

How to test the API Snap in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the API Snap collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Generate QR code” (GET /api/qr?data=https://example.com), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the API Snap?

API Snap is a developer utility API that bundles 13+ common tools into a single REST API with one API key. Generate QR codes, resize images, capture… It is listed under Developer tools and has 14 endpoints.

Who publishes the API Snap?

It is listed from API Snap's public API description (an OpenAPI document), not published by API Snap on Swastik Codes. Anyone who controls api-snap.com can claim the profile by adding a DNS TXT record.

What is the base URL of the API Snap?

Requests go to https://api-snap.com. Endpoint paths are added to this base URL.

How do I authenticate with the API Snap?

With A bearer token in the Authorization header.

How many endpoints does the API Snap have?

14 operations on 13 paths (8 GET, 6 POST). The largest groups are Utilities, Images, Security, Documents.

Is forking the API Snap free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.