# LaminarForge -- full API reference Every endpoint below is callable today. Authenticate with `X-API-Key: ` or `Authorization: Bearer `, or pay per call over x402 (see bottom). Base URLs are per group. All paths are relative to the group base URL. ## Format Utils Base URL: `https://lf-format-utils.laminarforge.dev` - `GET /` -- Service info Returns the service name and list of available endpoints. Available on both workers. - `GET /v1/base-convert` -- Base32/58/62/85/64 encode and decode - `GET /v1/base64` -- Base64 encode/decode Encodes or decodes Base64 data. Mode can be 'encode' or 'decode'. Uses standard Base64 alphabet (with + and /). - `GET /v1/base64url` -- Base64 URL-safe encode/decode Encodes or decodes data using URL-safe Base64 (uses - instead of +, _ instead of /, no padding). - `GET /v1/case-converter` -- Convert string case (camel/snake/kebab/pascal) Converts a string between different cases: camelCase, snake_case, kebab-case, PascalCase, Title Case, UPPERCASE, or lowercase. - `POST /v1/case-converter` -- Convert string case via POST Same as GET but accepts parameters in the request body as JSON. - `GET /v1/color-converter` -- Convert colors: HEX↔RGB↔HSL Converts colors between HEX, RGB, HSL, and CMYK formats. Accepts hex values, named colors, rgb(r,g,b), or hsl(h,s%,l%) strings. - `POST /v1/color-converter` -- Convert colors via POST Same as GET but accepts parameters in the request body as JSON. - `GET /v1/cron-parser` -- Parse cron expressions Parses a standard 5-field cron expression (minute hour day-of-month month day-of-week) and returns a human-readable description with expanded field values. - `POST /v1/csv-to-json` -- Convert CSV to JSON array Accepts CSV text and converts it to a JSON array of objects. The first line is treated as the header row. Accepts input via request body or ?csv= query parameter. - `GET /v1/date-converter` -- Convert date between formats Parses a date string from various input formats (ISO, US, EU, Unix timestamp, or natural language) and returns it in multiple output formats (ISO, US, EU, RFC 2822, RFC 3339, Unix timestamp). - `GET /v1/distance` -- Distance / length unit converter - `GET /v1/epoch` -- Epoch/Unix timestamp converter Converts a Unix epoch timestamp (in seconds or milliseconds) to human-readable date/time. If no input is provided, returns the current timestamp information. - `GET /v1/json-flatten` -- Flatten nested JSON to dot-notation - `GET /v1/json-minify` -- Strip whitespace from JSON Strips all whitespace from a JSON string, returning a compact representation. Also reports compression statistics. - `POST /v1/json-minify` -- Minify JSON via POST Strips whitespace from JSON. Accepts raw JSON string in body, a JSON object with 'json' field, or ?json= query parameter. Returns minified output and compression stats. - `POST /v1/json-to-csv` -- Convert JSON array to CSV Accepts a JSON array of objects and converts it to CSV format. The first object's keys become the CSV header row. Accepts input via request body or ?json= query parameter. - `POST /v1/json-to-xml` -- Convert JSON to XML Accepts a JSON object or array and converts it to XML. The root element is . Nested objects become nested elements, arrays repeat element tags. Accepts input via request body or ?json= query parameter. - `POST /v1/json-to-yaml` -- Convert JSON to YAML Accepts a JSON object or array and converts it to YAML format. Supports nested objects, arrays, strings, numbers, booleans, and null. Accepts input via request body or ?json= query parameter. - `POST /v1/json-unflatten` -- Unflatten dot-notation keys to nested JSON - `GET /v1/percentage` -- Percentage calculator - `GET /v1/roman` -- Convert between Roman numerals and numbers Converts between integers (1–3999) and Roman numerals. By default converts number to Roman. Use &reverse=true for Roman to number. Also auto-detects Roman input if the value isn't numeric. - `GET /v1/si-convert` -- SI / unit prefix converter - `GET /v1/slug` -- Generate URL-safe slug Converts an input string into a URL-friendly slug. Strips diacritics, removes special characters, and replaces spaces with a separator. Supports configurable separator, max length, and lowercase option. - `GET /v1/temperature` -- Temperature scale converter - `GET /v1/text-diff` -- Line-by-line text diff - `POST /v1/text-diff` -- Line-by-line text diff via POST - `GET /v1/weight` -- Weight / mass unit converter - `POST /v1/xml-to-json` -- Convert XML to JSON Accepts XML text and converts it to a JSON object. Parses flat XML structures with simple child elements. Accepts input via request body or ?xml= query parameter. - `POST /v1/yaml-to-json` -- Convert YAML to JSON Accepts YAML text and converts it to a JSON object. Supports basic key: value structures, nested objects, and arrays. Accepts input via request body or ?yaml= query parameter. ## Validation Utils Base URL: `https://lf-validation-utils.laminarforge.dev` - `GET /v1/abn-validate` -- Validate Australian Business Number Validates an Australian Business Number (ABN) using the official ATO checksum algorithm (mod 89). Strips spaces and dashes automatically. - `GET /v1/acn-validate` -- Validate Australian Company Number Validates an Australian Company Number (ACN) using the official checksum algorithm (mod 10). Strips spaces and dashes automatically. - `GET /v1/bin-lookup` -- Look up BIN/IIN information - `GET /v1/card-format` -- Format and mask credit card - `GET /v1/coordinate-validate` -- Validate lat/lng coordinates Validates geographic coordinates, checking latitude (-90 to 90) and longitude (-180 to 180) ranges. Accepts separate lat/lng params or a comma/space-separated string. - `GET /v1/ein-validate` -- Validate US EIN Validates a US EIN (9-digit format XX-XXXXXXX) and identifies the IRS office associated with the prefix (first 2 digits). - `GET /v1/email-validate` -- Validate email address syntax Validates an email address format using RFC-compatible regex. Returns detailed breakdown of local part, domain, and structure. - `GET /v1/ipv4-validate` -- Validate IPv4 address Validates an IPv4 address, checking octet ranges (0–255) and classifying as private, loopback, or multicast. - `GET /v1/ipv6-validate` -- Validate IPv6 address Validates an IPv6 address, classifying as loopback, unique-local, or link-local. - `GET /v1/isbn-validate` -- Validate ISBN-10 and ISBN-13 Validates ISBN-10 (with check digit 0-9 or X) and ISBN-13 identifiers using checksum verification. Strips dashes, spaces, and 'ISBN' prefix automatically. - `GET /v1/json-format` -- Pretty-print JSON Parses a JSON string and returns it pretty-printed with configurable indentation. - `POST /v1/json-format` -- Pretty-print JSON via POST Same as GET but accepts JSON string in request body or ?json= query parameter. - `POST /v1/json-schema-validate` -- Validate JSON against schema Validates JSON data against a provided JSON Schema. Supports type checking, required properties, min/max, pattern, enum, minItems/maxItems, and additionalProperties. - `GET /v1/json-validate` -- Validate JSON string syntax Validates whether a string is valid JSON and reports the parsed type (object, array, string, number, etc.) with byte size. - `POST /v1/json-validate` -- Validate JSON via POST Same as GET but accepts JSON string in request body or ?json= query parameter. - `GET /v1/luhn-validate` -- Validate credit card via Luhn - `POST /v1/luhn-validate` -- Validate credit card via Luhn (POST) - `GET /v1/mac-validate` -- Validate MAC address and lookup vendor - `GET /v1/password-strength` -- Check password strength Analyzes a password and returns a strength score (0–100) with classification: weak, fair, good, or strong. Checks length, character variety, common passwords, and sequential patterns. - `GET /v1/phone-validate` -- Validate phone number format - `GET /v1/regex` -- Test regex against text Tests a regular expression pattern against input text and returns all matches, including capture groups. Supports standard flags (g, i, m, etc.). - `POST /v1/regex` -- Test regex via POST Same as GET but accepts parameters via request body or query string. - `POST /v1/semver-bump` -- Bump a semantic version - `GET /v1/semver-validate` -- Validate semantic version - `GET /v1/ssn-validate` -- Validate US SSN - `GET /v1/url-syntax` -- Validate URL syntax Validates URL syntax and returns parsed components (protocol, hostname, port, path, query, hash). Attempts to add https:// prefix if no protocol is provided. - `POST /v1/url-syntax` -- Validate URL syntax via POST Same as GET but accepts parameters via request body. - `GET /v1/uuid-validate` -- Validate UUID and detect version ## Security Utils Base URL: `https://lf-security-utils.laminarforge.dev` - `GET /v1/aes-decrypt` -- AES-256-GCM decrypt Decrypts AES-256-GCM ciphertext using the same key, IV, and optional AAD. Accepts hex or base64 ciphertext. - `GET /v1/aes-encrypt` -- AES-256-GCM encrypt Encrypts plaintext using AES-256-GCM with a random 12-byte IV. Returns ciphertext, IV, and authentication tag. Supports hex or base64 output encoding. - `GET /v1/blake2` -- BLAKE2b hash / keyed MAC (256/512) - `GET /v1/crc32` -- CRC32 checksum Computes the CRC32 checksum of an input string. Returns the unsigned decimal, signed integer, and hex representations. - `GET /v1/entropy-check` -- Entropy / randomness statistical check - `GET /v1/hash` -- Compute hash (md5/sha1/sha256/sha384/sha512/all) Computes a hash using the specified algorithm: md5, sha1, sha256, sha384, sha512, or 'all' to compute all five at once. - `GET /v1/hmac` -- HMAC sign/verify Signs data using HMAC with SHA-256, SHA-384, or SHA-512, or verifies an existing HMAC signature. Accepts a secret key and data string. - `GET /v1/jwt-encode` -- JWT encode Creates a signed JWT token using HMAC with HS256, HS384, or HS512. Accepts a JSON payload and secret key. Automatically adds iat and exp claims. - `GET /v1/jwt-verify` -- JWT verify/decode Decodes and verifies a JWT token's signature using HS256/HS384/HS512. Returns decoded header and payload, expiry status, and remaining TTL. - `GET /v1/md5` -- Compute MD5 hash Computes the MD5 hash of an input string. Returns the hash as a 32-character hexadecimal string. - `GET /v1/otp` -- HOTP/TOTP one-time password generator - `GET /v1/password-entropy` -- Password strength / entropy analysis - `GET /v1/password-hash` -- Password hash/verify Hashes a password with a salt using iterated SHA-256, or verifies a password against a stored hash. Supports configurable iteration count. - `GET /v1/random-token` -- CSPRNG random token generator - `GET /v1/rsa-crypt` -- RSA encrypt/decrypt/keygen Generates RSA key pairs (2048/4096 bit) or encrypts/decrypts data using RSA-OAEP with SHA-256. Key generation returns hex and PEM formats. - `GET /v1/secure-compare` -- Constant-time string compare Compares two strings in constant time to prevent timing attacks. Supports hex, base64, and UTF-8 encodings. - `GET /v1/sha256` -- Compute SHA-256 hash Computes the SHA-256 hash of an input string. Returns the hash as a 64-character hexadecimal string. - `GET /v1/sha3` -- SHA-3 hash (224/256/384/512) - `GET /v1/totp` -- TOTP generate/verify Generates or verifies a TOTP code using a base32-encoded secret. Supports 6-8 digit codes with configurable time period (default 30s). ## Business Utils Base URL: `https://lf-business-utils.laminarforge.dev` - `GET /v1/age-calculator` -- Calculate age from birth date Calculates precise age in years, months, and days between a birth date and a target date (or today). Returns total days, weeks, months, hours, zodiac sign, and next birthday. - `GET /v1/bic-swift-lookup` -- BIC/SWIFT Lookup Looks up bank information for a BIC/SWIFT code (8 or 11 characters). Returns bank name, location, and country. Includes a database of major global banks. - `GET /v1/business-days` -- Business Days Calculator Calculates the number of business days (excluding weekends) between two dates, or adds/subtracts a number of business days to/from a given date. - `GET /v1/cagr` -- CAGR Calculator - `GET /v1/country-info` -- Look up country info Returns detailed information about a country including ISO codes, currencies, languages, capital, continent, phone prefix, and TLD. Look up by 2-letter code, 3-letter code, or name. - `POST /v1/country-info` -- Look up country info via POST Same as GET but accepts parameters in the request body as JSON. - `GET /v1/country-list` -- List all countries Returns a list of all countries with basic information. Can be filtered by continent or searched by name/code. - `GET /v1/currency-format` -- Currency Format Returns formatting information for a currency code (symbol, decimal places, locale format example) or lists all supported currencies. Optionally formats an amount. - `GET /v1/day-count` -- Day Count Convention - `GET /v1/freelance-rate` -- Freelance Rate Calculator Calculates recommended freelance billing rates based on desired annual income, billable hours, overhead percentage, and tax rate. Returns hourly, daily, weekly, and monthly rates. - `GET /v1/geo-tools` -- Geo Distance / Bounding Box / Center / Bearing - `GET /v1/holiday-list` -- Holiday List Returns US federal holidays for a given year (2020-2099). Includes observed dates for holidays that fall on weekends. - `GET /v1/invoice-words` -- Invoice Amount to Words - `GET /v1/mortgage-calculator` -- Mortgage Calculator Calculates monthly mortgage payments, total interest, and total paid over the loan term using standard amortization formula. - `GET /v1/ratio` -- Percentage / Ratio Converter - `GET /v1/roi` -- ROI Calculator - `GET /v1/salary-converter` -- Convert salary periods Converts salary amounts between hourly, daily, weekly, monthly, and yearly rates. Configurable working hours per week, days per week, and weeks per year. - `GET /v1/sales-tax` -- Sales Tax (US) Returns sales tax rate for a US state. If no state is specified, returns all state rates sorted by rate (highest first). Optionally computes tax and total for a given amount. - `GET /v1/timezone-by-coords` -- Timezone by Coordinates Returns an approximate IANA timezone for a given latitude and longitude. Uses a coordinate-range lookup (accurate within ~500km). - `GET /v1/timezone-info` -- Timezone Info Returns detailed information about an IANA timezone: UTC offset, DST/standard abbreviations, country, major cities, and current local time. - `GET /v1/vat-calculator` -- VAT Calculator Calculates VAT for a given amount in supported countries. If no country is specified, returns all VAT rates sorted by rate. - `GET /v1/week-number` -- Calculate ISO week number Returns the ISO 8601 week number for a given date. Includes week start/end dates, day of week, and quarter. If no date is provided, returns the current week number. ## Agent Tools Base URL: `https://lf-agent-tools.laminarforge.dev` - `GET /v1/agent-schema-gen` -- Generate tool schema from description Generates an OpenAI-compatible function/tool call schema from a name, description, and JSON parameter definition. Returns the schema object in openai-tool-call format. - `GET /v1/code-desc` -- Code to natural language description - `GET /v1/content-safety` -- LLM content safety classifier - `POST /v1/extract-structured` -- Structured data extractor from text - `GET /v1/gdpr-consent` -- Check URL for GDPR consent mechanisms Scans a URL's HTML for GDPR consent indicators: cookie banners, consent management JavaScript libraries, and privacy policy links. Returns a compliance score and assessment. - `GET /v1/hashtag-analytics` -- Analyze hashtag patterns Extracts and analyzes hashtags from text. Returns total count, unique count, and a sorted list of all hashtags with frequency counts. - `GET /v1/haversine` -- Distance between coordinates Calculates the great-circle distance between two latitude/longitude coordinate pairs using the Haversine formula. Returns distance in kilometers and miles. - `GET /v1/html-to-structured` -- Convert HTML tables/lists to structured JSON Parses HTML content and extracts elements into structured JSON with headers and data rows. Accepts raw HTML string or a URL to fetch and parse. - `GET /v1/pii-redact` -- PII redaction tool - `GET /v1/plus-code` -- Convert lat/lng to Plus Code Converts between latitude/longitude coordinates and Open Location Code (Plus Code). Provide 'code' to decode to coordinates, or 'lat'+'lon' to encode to a Plus Code. - `GET /v1/prompt-injection` -- Detect prompt injection attempts Scans text for common prompt injection patterns: instruction override attempts, jailbreak keywords, role-play escapes, system prompt manipulation, delimiter bypasses, and exfiltration attempts. - `GET /v1/rag-chunk` -- RAG text chunker advanced - `POST /v1/schema-from-sample` -- JSON Schema generator from sample - `GET /v1/slides-from-markdown` -- Convert markdown to slide deck JSON Parses markdown content and splits it into slide objects based on headings (#) and horizontal rules (---). Returns an array of slide objects each with title, content, and heading level. - `GET /v1/source-link-verify` -- Verify HTTP links in bulk Checks the accessibility of up to 20 URLs via HEAD requests. Returns HTTP status codes, content types, and redirect locations for each link. Accepts links as comma-separated string or JSON array. - `GET /v1/structured-parse` -- Parse unstructured text into structured fields Extracts structured fields from unstructured text: detects email addresses, phone numbers, URLs, numbers, and counts words. Deduplicates extracted values. - `GET /v1/tool-call-validate` -- Validate tool call arguments against schema Validates tool call arguments against a provided JSON schema (OpenAI tool-call format or plain JSON Schema). Reports missing required fields, unexpected fields, and argument count. - `GET /v1/tool-output-fmt` -- Format tool output as table/CSV/JSON Takes a JSON array/object and formats it as a markdown table, CSV, or re-serialized JSON. Useful for transforming tool call outputs for different contexts. - `GET /v1/web-content-extract` -- Extract readable content from URL Fetches a URL and extracts the page title, meta description, and cleaned body text (with scripts and styles removed). Max 10,000 chars of extracted text returned. - `GET /v1/zip-by-coords` -- Reverse geocode to ZIP/postal code Looks up the postal code (ZIP code), city, state, and country for a given latitude/longitude using OpenStreetMap Nominatim reverse geocoding. ## VPS Browser Base URL: `https://lf-vps-browser.laminarforge.dev` - `GET /v1/ai-cache-key` -- Generate deterministic AI cache keys Generates a deterministic cache key from LLM request parameters (prompt, model, temperature). Used for caching AI responses. Returns a prefix:model:contentHash style key with component breakdown. - `GET /v1/knowledge-base-qa` -- Simple knowledge base Q&A Answers basic questions about the LaminarForge API using a built-in knowledge base. Matches question keywords to pre-defined answers about API keys, pricing, health, rate limits, and documentation. - `GET /v1/safety` -- Content safety classification Scans input text for toxic/hateful content, sexual content, violence/gore, and PII/personal data using keyword and regex pattern matching. Returns a safety assessment with per-category findings. - `GET /v1/pdf-from-html` -- Convert HTML to PDF proxy Accepts inline HTML content or a URL to fetch HTML from, wraps it in a styled document, and returns the processed HTML suitable for PDF rendering. Provide 'html' parameter with raw markup or 'url' parameter to fetch from a URL. - `GET /v1/tool-orchestrator` -- Sequential tool orchestration Executes a sequence of HTTP requests (up to 5 steps) as defined in a JSON plan array. Each step can specify method, URL, and headers. Returns results for each step including HTTP status, body length, and success indicator. - `GET /v1/web-screenshot` -- Capture screenshot of a URL (basic) Fetches the HTML content of a target URL and returns it with a screenshot proxy response. Passes through to a screenshot-api service. Returns base64-encoded image preview on success. ## Platform Base URL: `https://lf-format-utils.laminarforge.dev` - `GET /v1/balance` -- Check balance and credits Returns the current account balance, daily usage, limit, and remaining calls for the authenticated key. Requires authentication. - `POST /v1/checkout` -- Create Stripe checkout session Creates a Stripe Checkout Session for upgrading an API key to a paid tier (Starter, Pro, or Business). Returns the checkout URL for redirect. - `GET /v1/health` -- Health check Returns service health status, version, and KV store availability for the worker. No authentication required. - `POST /v1/keys` -- Create API key Generate a free-tier API key. Returns the raw key once — must be saved immediately. The key is stored as a SHA-256 hash; the raw value is never retrievable again. - `GET /v1/usage` -- Usage stats Returns current daily usage statistics for the authenticated API key, including tier info, daily limit, and remaining calls. Requires authentication. - `POST /v1/webhook` -- Stripe webhook Receives Stripe webhook events (checkout.session.completed, customer.subscription.updated/deleted). Verifies the webhook signature using Stripe-Signature header, then updates the corresponding API key tier in KV storage. ## Image Utils Base URL: `https://lf-image-utils.laminarforge.dev` - `GET /v1/barcode-generate` -- Barcode Generator Generates an SVG barcode (code128-style) from input text. Max 50 characters input. - `GET /v1/color-palette` -- Color Palette Extracts a color palette from base64 image data or URL using k-means clustering. Similar to dominant colors but optimized for palette generation with configurable color count (2-32). - `GET /v1/compress` -- Image Compress Analyzes byte entropy and redundancy in image data to estimate compression potential. Returns entropy score, estimated gzip ratio, and unique byte count. Accepts base64 data or image URL. - `GET /v1/dominant-color` -- Dominant Color Extracts dominant colors from base64 image data or image URL using k-means clustering. Returns colors as RGB values and hex codes with relative weights. - `GET /v1/exif-read` -- EXIF Reader Parses JPEG/TIFF EXIF metadata from base64-encoded image data or image URL. Extracts format, dimensions, file size, JFIF data, and embedded EXIF strings. - `GET /v1/favicon-generate` -- Favicon Generator - `GET /v1/format-detect` -- Format Detect Detects image/video/document format from binary headers (magic bytes). Supports JPEG, PNG, GIF, WebP, BMP, TIFF, SVG, ICO, HEIC, AVIF, and PDF. Accepts base64 data, hex bytes, or URL. - `GET /v1/grayscale` -- Grayscale Converter Analyzes an image and returns grayscale sample data using one of three methods: luminosity (ITU-R BT.601), average, or lightness. Returns per-sample RGB → gray conversions with statistics. - `GET /v1/image-ascii` -- Image to ASCII Converts an image to ASCII art. Supports multiple character sets (standard, simple, blocks, dots, binary) and configurable output width. Accepts base64 image data or URL. - `GET /v1/image-caption` -- Image Caption / Meme Generator - `GET /v1/image-hash` -- Image Hash / Checksum - `GET /v1/image-info` -- Image Info Extracts dimensions, format, MIME type, and basic metadata from image data. Supports JPEG, PNG, GIF, BMP, and WebP formats. Accepts base64 data or image URL. - `GET /v1/image-resize` -- Image Resize / Resample - `GET /v1/image-to-datauri` -- Image to Base64 Data URI - `GET /v1/qr-generate` -- QR Code Generator Generates an SVG QR code from input text. Supports configurable module size and output format (SVG or matrix). Max 200 characters input. ## Web Intel Base URL: `https://lf-web-intel.laminarforge.dev` - `GET /v1/caa-lookup` -- CAA record lookup (authorized CAs) - `GET /v1/dns-a` -- DNS A record lookup Resolves a domain to IPv4 addresses using Google DNS-over-HTTPS. Supports configurable DNS record type (A, AAAA, MX, CNAME, TXT, etc.). - `GET /v1/dns-all` -- All DNS records lookup Resolves A, AAAA, MX, CNAME, NS, TXT, SPF, and CAA records for a domain in a single call using Google DNS-over-HTTPS. - `GET /v1/domain-availability` -- Check domain registration via DNS Queries DNS-over-HTTPS (Cloudflare) for A, AAAA, MX, NS, CNAME, and TXT records. If no records exist the domain is likely available for registration. - `GET /v1/email-security` -- SPF/DKIM/DMARC email security records - `GET /v1/geoip` -- GeoIP lookup Looks up the geographical location of an IPv4 address using ip-api.com. Returns country, region, city, coordinates, timezone, ISP, and organization. If no IP is provided, uses the requester's IP. - `GET /v1/http-headers` -- HTTP security headers analyzer Fetches a URL and analyzes its response headers for security best practices: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, and more. Computes a security score (0-100). - `GET /v1/mime-lookup` -- MIME type lookup by extension or MIME - `GET /v1/redirect-chain` -- Redirect chain tracer Traces the full HTTP redirect chain for a URL, recording each hop's status code, location header, and key response headers. Detects redirect loops and HTTP-to-HTTPS upgrades. - `GET /v1/robots-txt` -- robots.txt parser Fetches and parses the robots.txt file for a domain. Extracts User-Agent directives, allow/disallow rules, crawl-delay, and sitemaps. - `GET /v1/security-headers` -- HTTP security headers analyzer (OWASP score) - `GET /v1/ssl-check` -- SSL certificate check Checks HTTPS reachability for a domain and queries Certificate Transparency logs (crt.sh and Google CT) for issued certificates. Returns issuer, subject, and expiry information. - `GET /v1/ssl-cipher` -- SSL/TLS version, cipher and certificate diagnostics - `GET /v1/tech-detect` -- Website technology detection - `GET /v1/url-preview` -- URL preview (title, OG tags) Fetches a URL and extracts metadata: title, description, Open Graph tags, Twitter card tags, favicon, canonical URL, H1, word count, and response code. - `GET /v1/url-reachability` -- Check if a URL is reachable Performs an HTTP HEAD request to the given URL and returns reachability status, HTTP status code, response time, and key response headers. Supports configurable timeout. - `GET /v1/user-agent` -- User-Agent parser Parses a User-Agent string and detects browser name/version, OS, device type, and whether it's a bot or mobile device. If no 'ua' parameter is provided, uses the request's User-Agent header. - `GET /v1/whois` -- WHOIS lookup — domain registration via RDAP Queries domain registration information via RDAP (Registration Data Access Protocol). Returns registrant, registrar, nameservers, and key event dates. ## Text Utils Base URL: `https://lf-text-utils.laminarforge.dev` - `GET /v1/case-tools` -- Transform text case (sentence, title, invert, alternating) - `GET /v1/chunk-text` -- Split text into chunks by word/char/sentence/paragraph - `POST /v1/chunk-text` -- Split text into chunks via POST - `POST /v1/language-detect` -- Detect language from text Detects the language of input text using character frequency analysis and script detection. Supports 20+ languages including English, Spanish, French, German, Russian, Chinese, Japanese, Arabic, and more. Accepts input via request body or ?input= query parameter. - `GET /v1/lorem-ipsum` -- Generate Lorem Ipsum text Generates classic Lorem Ipsum placeholder text as paragraphs, sentences, or words. Each generation produces randomized but grammatically consistent output. - `GET /v1/password-generator` -- Generate secure passwords Generates cryptographically-random passwords with configurable length, character sets, and quantity. Each password is shuffled to ensure character distribution. Returns strength estimation (weak/moderate/strong/very_strong) based on entropy. - `GET /v1/random-name` -- Generate random names Generates random human names from a curated pool of first and last names. Supports multiple output formats: full, first, last, initials. Can generate multiple names in one call. - `GET /v1/readability` -- Flesch-Kincaid readability analysis - `GET /v1/template-expand` -- Expand templates with variable substitution - `GET /v1/token-count` -- Estimate token count for LLM models - `GET /v1/unicode-inspect` -- Inspect Unicode characters and emoji - `GET /v1/uuid` -- Generate UUID v4 Generates a random UUID v4 identifier. Supports optional format variants: standard (8-4-4-4-12), hex (no hyphens), or base64. - `GET /v1/uuid-batch` -- Generate batch UUIDs Generates multiple random UUID v4 identifiers in a single call. Count can range from 1 to 1000. - `GET /v1/word-count` -- Count words, chars, sentences in text Analyzes text and returns word count, character count (with and without spaces), sentence count, line count, paragraph count, unique word count, average word length, and longest word. - `POST /v1/word-count` -- Count words via POST Same as GET but accepts input parameters via request body (JSON object with 'input' field) or as raw text body. ## Paying with x402 (no account) 1. Call any endpoint above with no credentials. 2. The reply is HTTP 402 with a JSON body: `accepts` lists every payment option. Each option has `scheme`, `network` (eip155:8453 = Base), `maxAmountRequired` in USDC base units (6 decimals, so 2000 = $0.002), `asset`, `payTo`. 3. Two schemes are offered: `exact` (one USDC transfer per call, zero setup) and `batch-settlement` (open a channel once, then pay per call with signed vouchers that settle in far fewer onchain transfers -- cheaper at volume). 4. Pay, then resend the same request with header `X-PAYMENT: base64url(JSON payment payload)`. 5. The call goes through and the response includes `X-PAYMENT-RESPONSE`. Prices are public: `GET /v1/prices` on any group base URL. Payment debugging: failures are logged as structured JSON lines you can inspect with `wrangler tail | grep x402`.