# randomapi.dev > Free, hand-crafted random & mock data APIs for developers. No API keys, no signup. Every endpoint is badged mock (generated data) or real (authoritative reference data), every documented parameter genuinely works, and mock endpoints are deterministic for the same seed plus resolved parameters. Base URL for all endpoints: https://randomapi.dev/api/ Machine-readable catalog: https://randomapi.dev/api/_catalog Full per-endpoint docs for LLMs: https://randomapi.dev/llms-full.txt ## Docs - [Conventions guide](https://randomapi.dev/docs): envelope, universal params (count, seed, locale, fields, exclude, format, pretty, unwrap), errors, rate limits (60/min, 10k/day per IP) - [API catalog](https://randomapi.dev/apis): all 159 endpoints ## People - [Addresses](https://randomapi.dev/apis/addresses): Locale-aware fake postal addresses — street, city, state, zip, country and coordinates that all agree, plus a one-line formatted form in the local layout. [mock data] - [Animals](https://randomapi.dev/apis/animals): Coherent pet records for vet and pet-app fixtures — real breeds matched to species, realistic per-species ages and weights, names that follow sex. [mock data] - [Email addresses](https://randomapi.dev/apis/emails): Fake email addresses with name-derived usernames on guaranteed non-deliverable domains (example.com/net/org and .test) — or stamp your own with ?domain=. [mock data] - [Jobs](https://randomapi.dev/apis/jobs): Realistic job postings with level-coherent USD salary ranges — filter by level, department, employment type and remote, and every filter truly works. [mock data] - [Passport MRZ Generator & Validator API](https://randomapi.dev/apis/mrz): ICAO 9303 MRZ test fixtures — TD1/TD2/TD3/MRV lines with correct 7-3-1 check digits and exact geometry, issued by the specimen state UTO, plus a validator. [mock data] - [Names](https://randomapi.dev/apis/names): Random person names — first, last and full — with a strict gender filter, locale-aware name pools in 8 languages and seed-reproducible output. [mock data] - [Phone numbers](https://randomapi.dev/apis/phones): Fake, correctly formatted phone numbers in E.164, international and national forms of the same number, using real country codes and lengths across 8 locales. [mock data] - [Users](https://randomapi.dev/apis/users): Complete fake people — name, age-consistent birth date, email, phone, job and address — with working filters for gender, age range and email domain. [mock data] ## Geo & Reference - [International postal address formats](https://randomapi.dev/apis/address-formats): Which fields an address needs in each of 252 countries and territories, and the order they print on the envelope — plus a live envelope renderer. [real data] - [Airports](https://randomapi.dev/apis/airports): Every scheduled-service airport with an IATA code — 4,159 rows with ICAO code, city, country, coordinates, elevation and IANA time zone. [real data] - [Cities](https://randomapi.dev/apis/cities): 6,300+ world cities from a pinned GeoNames snapshot: coordinates, IANA timezone, population and capital flag — filter by country, size, name or distance. [real data] - [Coordinate format conversion](https://randomapi.dev/apis/coordinate-formats): Parse messy DMS, DDM, decimal or ISO 6709 coordinate text into WGS 84 decimal degrees, reformat a point in any notation, and convert Maidenhead locators. [real data] - [Coordinates](https://randomapi.dev/apis/coordinates): Random geographic coordinates: uniform across the globe (no pole clustering), inside a bounding box, or within a radius of a point — with haversine distances. [mock data] - [Countries](https://randomapi.dev/apis/countries): All 249 ISO 3166-1 countries and territories with codes, regions, capitals, currencies, languages, calling codes, flags and label-safe land points. [real data] - [Country land borders & neighbours](https://randomapi.dev/apis/country-borders): Land neighbours for all 250 countries and territories, published border lengths in km, the 45 landlocked entries and shortest land-border paths. [real data] - [Country subdivisions (ISO 3166-2)](https://randomapi.dev/apis/country-subdivisions): ISO 3166-2 states, provinces and regions: 5,046 subdivision codes for 200 countries, with English names, parent codes and an auditable per-country index. [real data] - [Currencies](https://randomapi.dev/apis/currencies): Every active ISO 4217 currency — code, name, symbol, minor-unit decimals and the countries using it. Search the list or look up one code, with honest 404s. [real data] - [Flights](https://randomapi.dev/apis/flights): Coherent fake flight fixtures between real hub airports, with working route, status, cabin and departure-window filters — never live operations. [mock data] - [Spherical geodesy](https://randomapi.dev/apis/geodesy): Great-circle distance, bearings, destinations and bounding boxes for WGS 84 coordinates on an explicitly documented mean-Earth sphere. [real data] - [Geohash Encode, Decode & Neighbors API](https://randomapi.dev/apis/geohash): Encode coordinates to a geohash at any precision, decode a hash to its exact cell bounds and center, and list its eight neighbors. [real data] - [GeoJSON validator & inspector](https://randomapi.dev/apis/geojson): Validate GeoJSON against RFC 7946: the exact clause behind an unclosed ring, a swapped lat/lng, clockwise winding or a wrong bbox — plus inspect and rewind. [real data] - [Languages](https://randomapi.dev/apis/languages): All 183 active ISO 639 two-letter language codes with matching terminology and bibliographic three-letter codes, searchable with exact lookups. [real data] - [Magnetic declination (WMM2025)](https://randomapi.dev/apis/magnetic-declination): Magnetic declination, inclination and field strength anywhere on Earth from the official WMM2025 coefficients, plus compass-to-true heading conversion. [real data] - [Slippy map tiles & Web Mercator](https://randomapi.dev/apis/map-tiles): Convert lat/lng to slippy map tile z/x/y and Bing quadkeys, read tile bounds in degrees or EPSG:3857 metres, and list every tile covering a bounding box. [real data] - [Encoded polyline decoder & encoder](https://randomapi.dev/apis/polyline): Decode and encode Google/OSRM encoded polylines at precision 5 or 6 with GeoJSON output, great-circle length, Douglas-Peucker simplify and a decode trace. [real data] - [Postal code formats](https://randomapi.dev/apis/postal-code-formats): Postal code masks, copy-paste validation regexes and shape checking for 178 countries — plus the 68 that have no postal code system at all. [real data] - [Timezones](https://randomapi.dev/apis/timezones): Live IANA offsets, DST transitions, local-time ambiguity resolution and exact instant conversion — no guessed wall-clock mappings. [real data] - [UTM, UPS and MGRS coordinate conversion](https://randomapi.dev/apis/utm-mgrs): Convert WGS 84 latitude and longitude to UTM, UPS and MGRS and back, with grid zone, band letter, convergence, scale factor and the Norway/Svalbard exceptions. [real data] - [Weather (mock)](https://randomapi.dev/apis/weather): Generated demo weather — NOT a forecast. Physically coherent records per climate profile: snow only below 4°C, storms bring wind, exact °F conversion. [mock data] ## Date & Time - [Booking fixtures](https://randomapi.dev/apis/bookings): Generate coherent reservation lifecycles and deterministic IANA-timezone availability slots with exact capacity and DST behavior. [mock data] - [Business days](https://randomapi.dev/apis/business-days): Add, count or inspect business days using verified national public-holiday rules for 61 countries, including observed substitute days. [real data] - [Calendar event fixtures](https://randomapi.dev/apis/calendar-events): Generate coherent fake calendar events with bounded durations, attendees, IANA timezones and correct timed or all-day date shapes. [mock data] - [Date info](https://randomapi.dev/apis/date-info): Real calendar facts for any date — weekday, ISO week, day of year, quarter, leap year, days in month, weekend flag and Unix timestamp. Defaults to today. [real data] - [Random dates](https://randomapi.dev/apis/dates): Uniformly random timestamps from any date range — ISO instant, Unix seconds, date, time and weekday — with an exact weekdays-only mode and seeded results. [mock data] - [ISO 8601 Duration API](https://randomapi.dev/apis/durations): Parse ISO 8601 durations, add them with documented end-of-month clamping, break down the gap between two dates, and humanize a span in any locale. [real data] - [Timestamp & Epoch Converter API](https://randomapi.dev/apis/epoch): Convert one instant between Unix s/ms/µs/ns, ISO 8601, Windows FILETIME, .NET ticks, Excel serials, Cocoa, HFS+, NTP and Julian Day — exactly. [real data] - [Public holidays](https://randomapi.dev/apis/holidays): Real public holidays for 61 countries, computed from official national rules — list a year, check a date, or get the next upcoming holiday. [real data] - [Moon Phase, Moonrise & Moonset API](https://randomapi.dev/apis/moon): Moon phase, illumination, moonrise, moonset, lunar transit and topocentric position for any coordinate, plus every primary phase instant of a year. No key. [real data] - [Sunrise, Sunset & Solar Position API](https://randomapi.dev/apis/sun): Sunrise, sunset, solar noon, day length, the three twilights and solar elevation/azimuth for any coordinate and date, from the NOAA equations. [real data] - [Current time](https://randomapi.dev/apis/time): Current time in any IANA timezone — UTC instant, unix seconds, local date & time, UTC offset, ISO week, day of year and a live DST flag. [real data] ## Internet & Devices - [Crawler and AI-bot user agents](https://randomapi.dev/apis/crawlers): Known crawler and AI-bot user agents: the robots.txt token each operator publishes, and what a user-agent string you supply actually matches. [real data] - [DNS record types](https://randomapi.dev/apis/dns-record-types): IANA DNS RR TYPE assignments with numeric value, registry meaning and reference — search the scoped list or look up a mnemonic or number. [real data] - [DNS record fixtures](https://randomapi.dev/apis/dns-records): Generate safe DNS record fixtures with type-correct RDATA and coherent SRV RRsets, using reserved domains and documentation addresses only. [mock data] - [Email message fixtures](https://randomapi.dev/apis/email-messages): MIME message fixtures with real threading headers, valid multipart boundaries, matching transfer encodings and a raw message that actually parses. [mock data] - [Email address syntax validator](https://randomapi.dev/apis/email-syntax): Validate email syntax against RFC 5322, RFC 5321 transport limits or the HTML input profile — local/domain split and the exact rule that failed. No DNS, ever. [real data] - [Internet](https://randomapi.dev/apis/internet): Random internet building blocks — valid IPv4/IPv6 addresses, locally-administered MACs, non-resolvable .test domains and URLs, slugs, ports and TLDs. [mock data] - [IP special-purpose ranges](https://randomapi.dev/apis/ip-special-ranges): Browse IANA IPv4 and IPv6 special-purpose registries or classify an address with deterministic most-specific-prefix matching. [real data] - [IPv4 CIDR calculator](https://randomapi.dev/apis/ipv4-cidr): Parse, split and compare strict IPv4 CIDR blocks or test membership, with canonical unsigned boundaries, exact subnet counts and no truncation. [real data] - [IPv6 CIDR calculator](https://randomapi.dev/apis/ipv6-cidr): Parse, split and compare IPv6 CIDRs with exact 128-bit arithmetic, RFC 5952 canonical output and correct /0 and /128 boundaries. [real data] - [Passphrases](https://randomapi.dev/apis/passphrases): Diceware-style random passphrases from a curated 895-word English list — pick word count, separator and capitalization, with an honest entropy estimate. [mock data] - [Passwords](https://randomapi.dev/apis/passwords): Random password generator with length, uppercase/digit/symbol toggles, look-alike exclusion, and an honest entropy estimate with a strength rating. [mock data] - [Port Number & Service Lookup API](https://randomapi.dev/apis/ports): Look up which service IANA registered for a TCP/UDP port, or search services by name — the complete registry for ports 0-49151, verbatim with every reference. [real data] - [Punycode & IDN converter](https://randomapi.dev/apis/punycode): Convert internationalized domains to punycode and back, and get the exact IDNA rule that rejected a label — length, hyphens, combining marks or the bidi rule. [real data] - [Reverse DNS names](https://randomapi.dev/apis/reverse-dns): Encode IPv4 and IPv6 addresses as canonical reverse-DNS PTR owner names, or decode complete in-addr.arpa and ip6.arpa names without a DNS query. [real data] - [robots.txt Tester API (RFC 9309)](https://randomapi.dev/apis/robots-txt): Test a URL path against a robots.txt you paste, for any crawler, and see the winning rule under RFC 9309 most-octets precedence. [real data] - [Top-level domains](https://randomapi.dev/apis/tlds): The current IANA delegated TLD ASCII list — search all labels, filter punycode IDNs, or look up one TLD with an honest 404. [real data] - [User agents](https://randomapi.dev/apis/user-agents): Realistic, coherent browser user agents — filter by browser, OS and device; impossible combos like Safari-on-Windows get a clear 400, never a fake string. [mock data] - [Usernames](https://randomapi.dev/apis/usernames): Random usernames in four distinct styles — handle, gamer, professional, anonymous — with a maxLength that is honored by construction, never by truncation. [mock data] - [UUIDs & IDs](https://randomapi.dev/apis/uuids): Generate seed-reproducible UUIDs and compact IDs, or inspect any canonical UUID's RFC 9562 variant, version and UUIDv7 timestamp fields. [mock data] ## Text & Content - [Books](https://randomapi.dev/apis/books): Fake books with genre-flavored titles, checksum-valid ISBN-13s, authors, page counts and invented publishers. Filter by genre and page range. [mock data] - [Locale-aware sorting](https://randomapi.dev/apis/collation): Sort and compare strings the way a locale actually orders them: German sorts ä with a, Swedish sorts it after z. Every option visibly changes the answer. [real data] - [Conversations](https://randomapi.dev/apis/conversations): Bounded fake direct, group and support conversations with valid participant references, chronological messages and exact unread counts. [mock data] - [Food & dishes](https://randomapi.dev/apis/foods): Fake dishes from 12 cuisines with coherent ingredient lists, calories and spice levels — a real vegetarian filter that bans every meat ingredient. [mock data] - [Form submission fixtures](https://randomapi.dev/apis/form-submissions): Generate coherent fake contact, signup, survey and application submissions with exact validation, attachment, spam and processing states. [mock data] - [Locale number & date formats](https://randomapi.dev/apis/locale-formats): How any BCP 47 locale formats numbers, currency, dates and lists — separators, digit grouping, currency position, hour cycle and first day of week. [real data] - [Lorem ipsum](https://randomapi.dev/apis/lorem): Lorem ipsum placeholder text — one paragraph, sentence or word per record, each with a word count, optionally opening with 'Lorem ipsum dolor sit amet'. [mock data] - [Markdown documents](https://randomapi.dev/apis/markdown): Multi-section Markdown documents where every feature flag is a hard guarantee — code blocks, tables, lists, links and images appear when on, never when off. [mock data] - [Movies](https://randomapi.dev/apis/movies): Fake movies with genre-flavored titles, release-year windows, genre-aware runtimes and ratings (animation is never R) and one-decimal scores. [mock data] - [Music tracks](https://randomapi.dev/apis/music): Fake music tracks with genre-coherent tempo, duration and explicit flags — 10 genres, each with its real-world BPM band. Seedable for stable playlists. [mock data] - [Locale plural rules](https://randomapi.dev/apis/plural-rules): Select real cardinal or ordinal plural categories for a BCP 47 locale with runtime ECMA-402/CLDR rules and explicit locale validation. [real data] - [Blog posts and comments](https://randomapi.dev/apis/posts): Fake blog posts with markdown bodies plus a threaded comment tree whose every parentId resolves inside the page — with working tag, status and date filters. [mock data] - [Quotes](https://randomapi.dev/apis/quotes): Public-domain quotes from authors who died before 1929 — every one traceable to a real work, filterable by author, tag and length, reproducible with a seed. [real data] - [Product reviews](https://randomapi.dev/apis/reviews): Sentiment-coherent fake product reviews — 1–2★ complain, 3★ shrug, 4–5★ rave — with star-rating and date-range filters and full seed determinism. [mock data] - [Unicode Stress Test Strings API](https://randomapi.dev/apis/stress-strings): Hostile-but-safe text fixtures: RTL, bidi controls, CJK width, combining marks, ZWJ emoji, zero-width and length bombs — plus pseudo-localization. [mock data] - [Support ticket fixtures](https://randomapi.dev/apis/support-tickets): Generate coherent support tickets with SLA outcomes, valid message participants, assignment filters and exact status/date masks. [mock data] - [Tasks](https://randomapi.dev/apis/tasks): Developer-productivity task fixtures with working status, priority, assignment, due-date and tag filters plus coherent subtasks and blockers. [mock data] - [Random words](https://randomapi.dev/apis/words): Random English words by part of speech — nouns, verbs, adjectives or adverbs — with working length filters, seedable output and honest 400s when nothing fits. [mock data] ## Commerce & Finance - [FOCUS-shaped cloud billing rows](https://randomapi.dev/apis/cloud-costs): Generate FOCUS-column-named cloud billing rows whose list, contracted, effective and billed costs reconcile exactly, plus summary and commitment views. [mock data] - [Companies](https://randomapi.dev/apis/companies): Fake companies with locale-aware names, industry-flavored catchphrases, founding years, log-distributed headcounts and safe example.com websites and emails. [mock data] - [Credit cards (test)](https://randomapi.dev/apis/credit-cards): Clearly-fake test credit cards — Luhn-valid numbers with correct Visa, Mastercard, Amex and Discover prefixes, future expiry and matching CVV. [mock data] - [IBANs](https://randomapi.dev/apis/ibans): Generate synthetic IBAN-shaped values for 20 countries with matching length, broad BBAN character classes and international MOD-97, or inspect the same checks. [mock data] - [Inventory fixtures](https://randomapi.dev/apis/inventory): Generate warehouse inventory with exact location sums, stock-status arithmetic, reorder decisions and bounded incoming stock. [mock data] - [Invoices](https://randomapi.dev/apis/invoices): Exact fake invoices with line items, ISO currency precision, tax, collectible balances and status-consistent issue, due and payment dates. [mock data] - [Double-Entry Ledger Fixtures API](https://randomapi.dev/apis/ledger-entries): Double-entry journal entries where every entry balances to zero, per-account running balances are exact, and the trial balance always sums to zero. [mock data] - [Exact money arithmetic](https://randomapi.dev/apis/money): Exact ISO 4217 major/minor-unit conversion and weighted allocation using decimal strings and integer arithmetic — no floats, rounding or FX rates. [real data] - [Orders](https://randomapi.dev/apis/orders): Internally consistent fake orders with exact line-item totals, currency precision, lifecycle dates, payment state and generic tracking fixtures. [mock data] - [Products](https://randomapi.dev/apis/products): Fake e-commerce products with category-themed names, prices in real currencies (whole yen for JPY), valid EAN-13 barcodes, SKUs, ratings and image URLs. [mock data] - [Return fixtures](https://randomapi.dev/apis/returns): Generate coherent product returns with bounded line quantities, exact refund arithmetic, reverse shipments and status-specific timelines. [mock data] - [Shipments](https://randomapi.dev/apis/shipments): Coherent fake shipment tracking fixtures with status-specific nullable dates, chronological events, fictional carriers and country/date filters. [mock data] - [Subscriptions](https://randomapi.dev/apis/subscriptions): Fake SaaS subscriptions with exact currency precision, calendar billing periods and explicit trial, renewal, pause and cancellation state masks. [mock data] - [Transactions](https://randomapi.dev/apis/transactions): Fake account transactions with realistic merchants, weighted statuses and currency-correct amounts — filter by type, status, amount range and date window. [mock data] - [Vehicles](https://randomapi.dev/apis/vehicles): Coherent fake vehicles: real models per make, era-correct years, standards-valid VINs (ISO 3779 check digit) — filter by make, body type, fuel and year. [mock data] ## Design & Media - [Avatars](https://randomapi.dev/apis/avatars): Deterministic SVG avatars from any seed string — identicons, initials and abstract shapes. Same seed, same avatar forever; plus ready-to-use avatar URL batches. [mock data] - [Barcodes](https://randomapi.dev/apis/barcodes): Real, scannable SVG barcodes — EAN-13 with automatic check digits and Code 128 set B. Custom height, optional label, deterministic and safe to hotlink. [real data] - [Chart placeholders](https://randomapi.dev/apis/charts): Sparkline SVGs straight from a URL — plot 2–100 numbers as a line, area or bar chart with custom size, color and smoothing. No chart library needed. [mock data] - [Color contrast checker](https://randomapi.dev/apis/color-contrast): Calculate WCAG 2.2 contrast for two opaque sRGB hex colors, including exact relative luminance and AA/AAA normal- and large-text results. [real data] - [Color space conversion](https://randomapi.dev/apis/color-spaces): Convert any CSS color between sRGB, Display P3, Rec2020, CIE Lab/LCh, OKLab/OKLCH and XYZ, with per-gamut flags, Delta-E differences and CSS gamut mapping. [real data] - [Color blindness simulator](https://randomapi.dev/apis/color-vision): Simulate protanopia, deuteranopia and tritanopia on your colors with cited Brettel 1997, Viénot 1999 or Machado 2009 matrices, and flag pairs that converge. [real data] - [Colors](https://randomapi.dev/apis/colors): Random colors in hex, RGB and HSL with hue and luminosity filters, nearest CSS color names and WCAG contrast text — plus deterministic color-scheme palettes. [mock data] - [Files](https://randomapi.dev/apis/files): Fake file metadata — kebab-case names, the correct MIME type for every extension, plausible per-kind sizes, unix paths and seeded SHA-256-style checksums. [mock data] - [Placeholder images](https://randomapi.dev/apis/images): Hotlinkable SVG placeholder images at any size from 8 to 4000 px — custom label, colors and an optional gradient. Deterministic and crisp at every scale. [mock data] - [QR Code API](https://randomapi.dev/apis/qr-codes): Scannable ISO/IEC 18004 QR codes as SVG — L/M/Q/H error correction, custom module size, quiet zone and colours, byte-identical for a given request URL. [real data] ## Developer Tools - [Access-control fixtures](https://randomapi.dev/apis/access-control): Generate explainable mock RBAC/ABAC decisions or evaluate one request against an explicit vendor-neutral fixture policy. [mock data] - [Analytics session fixtures](https://randomapi.dev/apis/analytics-sessions): Generate privacy-safe analytics sessions and funnel summaries with exact event order, timing, outcome, conversion and revenue arithmetic. [mock data] - [Audit log fixtures](https://randomapi.dev/apis/audit-logs): Generate coherent fake audit records for authentication, CRUD and permission changes — safely seeded, filterable and bounded by time. [mock data] - [Authentication session fixtures](https://randomapi.dev/apis/auth-sessions): Generate coherent fake authentication sessions and login attempts with exact expiry, revocation, MFA, risk and outcome states. [mock data] - [Background job fixtures](https://randomapi.dev/apis/background-jobs): Generate coherent queue-job fixtures with bounded attempts, retry timing, dead-letter states and queue-specific payloads. [mock data] - [Base encodings](https://randomapi.dev/apis/base-encodings): Strict RFC 4648 base16, base32, base64 and base64url encoding/decoding with Unicode-safe UTF-8, padding control and malformed-input errors. [real data] - [Check digit validator & calculator](https://randomapi.dev/apis/check-digits): Validate or compute check digits for Luhn, GTIN/EAN/UPC, ISBN, ISSN, IMEI, ISIN, LEI, VIN, NPI, ABA and ISO 7064 — one cited algorithm per scheme. [real data] - [CI run fixtures](https://randomapi.dev/apis/ci-runs): Generate compact, coherent CI run fixtures with run-derived job conclusions, ordered steps, safe commits and exact lifecycle dates. [mock data] - [CloudEvents fixtures](https://randomapi.dev/apis/cloud-events): Generate coherent mock CloudEvents 1.0 structured JSON envelopes with all required context attributes and action-specific event data. [mock data] - [Unicode confusables](https://randomapi.dev/apis/confusables): UTS #39 skeletons, mixed-script and identifier-status checks: whether two usernames or domains are visual lookalikes, and which characters differ. [real data] - [HTTP content negotiation](https://randomapi.dev/apis/content-negotiation): Parse RFC 9110 Accept media ranges and deterministically select the best available representation using specificity, parameters and q weights. [real data] - [Set-Cookie Parser & Delivery API](https://randomapi.dev/apis/cookies): Parse Set-Cookie and test delivery: attribute rules, __Host-/__Secure- prefixes, SameSite+Secure, Max-Age vs Expires precedence, and domain/path matching. [real data] - [CORS Preflight & Check API](https://randomapi.dev/apis/cors-preflight): Explain whether a cross-origin request needs a preflight and whether the browser would allow the response, naming the exact Fetch step that failed. [real data] - [Cron parser](https://randomapi.dev/apis/cron): Parse any 5-field cron expression into plain English and its next run times (UTC) — full syntax support, month/weekday names, and honest errors. [real data] - [Content-Security-Policy parser & evaluator](https://randomapi.dev/apis/csp): Parse a Content-Security-Policy and see whether a URL would be allowed or blocked, which directive decided, and the whole default-src fallback chain. [real data] - [Deployment fixtures](https://randomapi.dev/apis/deployments): Generate coherent deployment snapshots and lifecycle timelines with exact status, rollback, commit, artifact, environment and time relationships. [mock data] - [Unified Diff & Patch Fixture API](https://randomapi.dev/apis/diffs): Unified diff fixtures whose hunk headers actually reconcile — correct @@ line counts, shared context lines, and rename, mode and binary forms. [mock data] - [Exit Code, Signal & Errno Lookup API](https://randomapi.dev/apis/exit-codes): What does exit code 137, 127 or 1 mean? POSIX signals, errno values, the 128+n shell convention and the container conventions, each with its source. [real data] - [Feature flag fixtures](https://randomapi.dev/apis/feature-flags): Generate coherent mock feature-flag configurations and rollout evaluations with lifecycle states, weighted variants and safe contexts. [mock data] - [File signatures (magic bytes)](https://randomapi.dev/apis/file-signatures): Detect a file's real format from its magic bytes and flag when the filename or declared MIME type disagrees. Every signature cited to its own spec. [real data] - [File upload fixtures](https://randomapi.dev/apis/file-uploads): Generate coherent mock file-upload sessions and multipart records with exact byte progress, lifecycle states, checksums and safe example URLs. [mock data] - [Git commits](https://randomapi.dev/apis/git-commits): Fake git commits — Conventional Commits or plain messages, 40-char hashes, safe author emails, dates in your range and realistic diff stats. Fully seedable. [mock data] - [Glob and .gitignore pattern matcher](https://randomapi.dev/apis/glob-match): Test glob patterns and .gitignore rules against paths — which rule won, at which line, and whether a negation was cancelled by an excluded parent directory. [real data] - [HTTP Cache Freshness API (RFC 9111)](https://randomapi.dev/apis/http-caching): Compute RFC 9111 cache behavior from your headers: storability, freshness lifetime, current age, fresh/stale verdict and the stale-while-revalidate window. [real data] - [HTTP field name registry](https://randomapi.dev/apis/http-fields): Complete pinned IANA HTTP field-name registry with status, Structured Field type, references, search and case-insensitive lookup. [real data] - [HTTP methods](https://randomapi.dev/apis/http-methods): The complete current IANA HTTP Method Registry with safe and idempotent flags — filter the list or look up one canonical method token. [real data] - [HTTP precondition evaluator](https://randomapi.dev/apis/http-preconditions): Evaluate RFC 9110 conditional requests in the required precedence order, including strong/weak ETags, wildcard resources, 304 and 412 decisions. [real data] - [HTTP byte ranges](https://randomapi.dev/apis/http-ranges): Parse and resolve bounded RFC 9110 byte Range sets, plus validate satisfied, unknown-length and unsatisfied Content-Range field values. [real data] - [HTTP status codes](https://randomapi.dev/apis/http-statuses): The complete IANA HTTP status code registry with practical descriptions, defining RFCs and a retryable flag — list by category or look up a single code. [real data] - [Incident fixtures](https://randomapi.dev/apis/incidents): Generate coherent status-page incidents with affected components, ordered updates, exact lifecycle dates and impact/status filters. [mock data] - [JWT Decoder & Claims Inspector API](https://randomapi.dev/apis/jwt): Decode any compact JWS/JWT — header, payload, registered claims and exp/nbf/iat evaluated at a real or supplied clock. Signatures are never verified. [real data] - [BCP 47 language tags](https://randomapi.dev/apis/language-tags): Canonicalize BCP 47 language tags and run RFC 4647 lookup or basic filtering with bounded, deterministic matching. [real data] - [LLM completion fixtures](https://randomapi.dev/apis/llm-completions): Mock LLM completion fixtures with coherent token usage, tool calls and a replayable delta stream whose chunks concatenate to the exact message. [mock data] - [Sample Log Lines API](https://randomapi.dev/apis/log-lines): Generate sample log lines — JSON, logfmt, NCSA combined, nginx error and RFC 5424/3164 syslog — each returned with the parsed fields for that line. [mock data] - [MIME types](https://randomapi.dev/apis/mime-types): The complete IANA media type registry with file extensions merged in — look up any type or extension, or strictly parse a Content-Type value into its parts. [real data] - [NATO alphabet](https://randomapi.dev/apis/nato-alphabet): The official ICAO/NATO phonetic alphabet — all 36 characters with code words and pronunciations, plus a /spell route that spells out any text. [real data] - [Notification fixtures](https://randomapi.dev/apis/notifications): Generate channel-specific notifications with safe recipients, bounded send attempts and exact sent/delivered/read/failure dates. [mock data] - [Pagination fixtures](https://randomapi.dev/apis/pagination): Deterministic offset and opaque-cursor pagination fixtures with exact totals, stable sorting and no duplicated or skipped records. [mock data] - [Phone number parsing & validation](https://randomapi.dev/apis/phone-numbers): Parse and validate phone numbers from libphonenumber's numbering-plan metadata: E.164, national and RFC 3966 forms, number type, possible vs valid. No key. [real data] - [Relational Seed Data API](https://randomapi.dev/apis/relational-seed): A multi-table seed dataset where every foreign key resolves — JSON tables plus topologically ordered SQL that applies with FK checks left on. [mock data] - [Search result fixtures](https://randomapi.dev/apis/search-results): Build deterministic mock search pages with exact pagination, relevance or date sorting, facets, highlights, empty states and suggestions. [mock data] - [Semantic version utilities](https://randomapi.dev/apis/semver): Bounded SemVer 2.0.0 parsing, precedence comparison and major/minor/patch bumps, with explicit size limits instead of precision loss. [real data] - [HTTP Structured Fields Parser API (RFC 9651)](https://randomapi.dev/apis/structured-fields): Parse and serialize RFC 9651 structured field values — items, lists, dictionaries, parameters, dates and display strings — with exact type reporting. [real data] - [Mojibake Diagnosis & Legacy Encoding API](https://randomapi.dev/apis/text-encoding): Diagnose and repair mojibake — the byte round-trip that turned café into café and привет into привет — across 28 legacy encodings. [real data] - [Time-series fixtures](https://randomapi.dev/apis/time-series): Generate compact mock metric series and standalone points with exact intervals, bounded values, coherent trends and deterministic timestamps. [mock data] - [Tokens & keys (fake)](https://randomapi.dev/apis/tokens): Clearly fake API keys, JWTs and hex/base64 secrets — structurally valid enough to exercise parsers and middleware, cryptographically meaningless by design. [mock data] - [W3C Trace Context validator](https://randomapi.dev/apis/trace-context): Validate and explain W3C traceparent and tracestate values, including versioning, zero-ID checks, sampled flags and vendor-entry grammar. [real data] - [Distributed trace fixtures](https://randomapi.dev/apis/traces): Generate coherent mock distributed traces and individual spans with bounded timing, parentage, service filters and reproducible failures. [mock data] - [Unicode text tools](https://randomapi.dev/apis/unicode): Inspect UTF-16 and Unicode scalar values, apply the four standard normalization forms, and segment text into graphemes, words or sentences. [real data] - [Unit converter](https://randomapi.dev/apis/units): Deterministic unit conversion across 14 categories — length, mass, pressure, energy, power, force, angle, time and more — with exact standard factors. [real data] - [Unix file permissions](https://randomapi.dev/apis/unix-permissions): Parse octal Unix modes, apply POSIX symbolic chmod expressions and calculate umask results, including special bits, X and class copying. [real data] - [URL parser and resolver](https://randomapi.dev/apis/urls): Parse absolute URLs or resolve relative references with the WHATWG URL algorithm — canonical hosts, ordered query pairs and no credential leakage. [real data] - [Webhook delivery fixtures](https://randomapi.dev/apis/webhook-deliveries): Generate coherent webhook delivery histories with safe destinations, bounded retries, status-specific attempts and event-shaped payloads. [mock data] ## Numbers & Chance - [Dice rolls](https://randomapi.dev/apis/dice): Roll dice in standard NdS+M notation (2d6+3, d20, 4d8-2) — get each die result, the modifier and the total, with seedable, reproducible rolls. [mock data] - [Random numbers by distribution](https://randomapi.dev/apis/distributions): Seeded draws from normal, log-normal, exponential, Poisson, binomial, Pareto and Zipf distributions, with empirical and theoretical statistics. [mock data] - [Random numbers](https://randomapi.dev/apis/numbers): Random integers or floats in any range — control decimal precision, draw guaranteed-unique values, and pin a seed for reproducible sequences. [mock data] - [Random picks](https://randomapi.dev/apis/random): Weighted random picks from your own options, unbiased list shuffles and tunable coin flips — every decision reproducible with a seed. [mock data]