API - x402-powered utility API

Koyori Utils API

A lightweight collection of developer utilities running on Cloudflare Workers and powered by x402 payments on Stacks mainnet.

Price 0.001 STX per request

300 useful endpoints

Simple tools for developers, bots and AI agents.

1-minute example

What this does: Turns messy JSON into clean, readable JSON.

In simple terms: Send unformatted JSON and get an easy-to-read version back.

POST /api/format

{
  "json": "{\"name\":\"Koyori\",\"tools\":61}"
}

Result:
{
  "name": "Koyori",
  "tools": 61
}
{ }

JSON Formatter

POST /api/format

Validate and beautify JSON strings.

#

SHA-256 Hash

POST /api/hash

Create a SHA-256 hash from UTF-8 text.

RX

Regex Test

POST /api/regex-test

Test a regular expression and inspect its matches safely.

64

Base64

POST /api/base64

Encode UTF-8 text or decode Base64 data.

%

URL Encode

POST /api/url-encode

Encode and decode URL components.

TIME

Timestamp

POST /api/timestamp

Convert between Unix timestamps and ISO dates.

123

Text Count

POST /api/count

Count characters, words and UTF-8 bytes.

UNI

Dedupe Lines

POST /api/dedupe-lines

Remove duplicate lines while preserving their original order.

SORT

Sort Lines

POST /api/sort-lines

Sort text lines in ascending or descending text or numeric order.

FLT

Filter Lines

POST /api/filter-lines

Keep or remove lines that match a text query.

123

Line Numberer

POST /api/line-numberer

Add sequential numbers to each line of text.

WS

Whitespace Cleaner

POST /api/whitespace-cleaner

Trim lines, collapse extra spaces, and optionally remove empty lines.

CSV

CSV to JSON

POST /api/csv-to-json

Convert CSV text into JSON rows.

J2C

JSON to CSV

POST /api/json-to-csv

Convert JSON objects into CSV text.

ID

UUID v4

POST /api/uuid

Generate a random UUID v4 identifier.

MIN

JSON Minify

POST /api/json-minify

Minify JSON text into a compact string.

URL

URL Parser

POST /api/url-parser

Parse URLs into structured components.

JWT

JWT Decoder

POST /api/jwt-decode

Decode JWT header and payload without signature verification.

B64U

Base64URL

POST /api/base64url

Encode and decode URL-safe Base64 text.

QRY

Query String Parser

POST /api/query-parser

Parse URL query strings into structured JSON.

MD

Markdown to HTML

POST /api/markdown-to-html

Convert Markdown text into HTML.

H2M

HTML to Markdown

POST /api/html-to-markdown

Convert HTML text into Markdown.

TXT

HTML to Text

POST /api/html-to-text

Convert HTML into clean plain text.

JSON

JSON Escape

POST /api/json-escape

Escape and unescape text for JSON strings.

CASE

Case Converter

POST /api/case-convert

Convert text between upper, lower, camel, snake, kebab, and pascal case.

0x

Hex

POST /api/hex

Convert UTF-8 text to and from hexadecimal.

URL

Slug Generator

POST /api/slug

Turn text into a clean URL-friendly slug.

RND

Random Generator

POST /api/random

Generate random strings or integers.

CLR

Color Converter

POST /api/color-convert

Convert colors between HEX and RGB formats.

LINK

Link Extractor

POST /api/extract-links

Extract public HTTP and HTTPS links from web pages.

FIND

Text Search

POST /api/search-text

Search public web page text for a keyword.

INFO

Page Info

POST /api/page-info

Get basic information about a public web page.

META

Meta Extractor

POST /api/meta-extract

Extract titles, descriptions, Open Graph data, and canonical URLs.

WEB

Web Fetch

POST /api/fetch

Fetch public web pages and text resources.

REPL

Text Replacer

POST /api/text-replacer

Find and replace text with optional case-sensitive and replace-all controls.

STAT

Text Stats

POST /api/text-stats

Analyze text length, words, lines, spacing, and average word length.

REV

Text Reverse

POST /api/text-reverse

Reverse text by characters, words, or lines.

CUT

String Truncate

POST /api/string-truncate

Truncate long text to a maximum length with an optional suffix.

PAD

Text Pad

POST /api/text-pad

Pad text on the left or right to a target length.

SLUG

Slugify

POST /api/slugify

Convert text into a clean, URL-friendly slug.

CAM

Camel Case

POST /api/camel-case

Convert text into camelCase format.

PAS

Pascal Case

POST /api/pascal-case

Convert text into PascalCase format.

SNAKE

Snake Case

POST /api/snake-case

Convert text into snake_case format.

KEBAB

Kebab Case

POST /api/kebab-case

Convert text into kebab-case format.

TITLE

Title Case

POST /api/title-case

Convert text into Title Case format.

SENT

Sentence Case

POST /api/sentence-case

Convert text into sentence case format.

LOW1

Lowercase First

POST /api/lowercase-first

Lowercase only the first character of text.

UP1

Uppercase First

POST /api/uppercase-first

Uppercase only the first character of text.

NOSP

Remove Spaces

POST /api/remove-spaces

Remove all whitespace characters from text.

COLL

Collapse Spaces

POST /api/collapse-spaces

Collapse repeated whitespace into a single space.

TRIM

Trim

POST /api/trim

Remove leading and trailing whitespace from text.

TRIMS

Trim Start

POST /api/trim-start

Remove leading whitespace from text.

TRIME

Trim End

POST /api/trim-end

Remove trailing whitespace from text.

REPT

Repeat Text

POST /api/repeat-text

Repeat text a specified number of times.

PRE

Text Prefix

POST /api/text-prefix

Add a prefix to the beginning of text.

SUF

Text Suffix

POST /api/text-suffix

Add a suffix to the end of text.

RPRE

Remove Prefix

POST /api/remove-prefix

Remove a matching prefix from the beginning of text.

RSUF

Remove Suffix

POST /api/remove-suffix

Remove a matching suffix from the end of text.

SLICE

Text Slice

POST /api/text-slice

Extract a portion of text using start and optional end positions.

HAS

Text Contains

POST /api/text-contains

Check whether text contains a search string.

DIFF

JSON Diff

POST /api/json-diff

Compare two JSON objects to find added, removed and changed fields.

SCHEMA

JSON Schema Validator

POST /api/json-schema-validate

Validate JSON types, required fields, properties, arrays and enums.

SCHEMA

JSON Schema Generator

POST /api/json-schema-generate

Generate a basic JSON Schema from sample JSON data.

SCHEMA

JSON Schema Example Generator

POST /api/json-schema-example

Generate sample JSON data from a basic JSON Schema.

DOCS

JSON Schema Documentation Generator

POST /api/json-schema-documentation

Generate Markdown documentation from a basic JSON Schema.

STATS

JSON Schema Statistics

POST /api/json-schema-statistics

Analyze JSON Schema properties, types, depth, arrays and enums.

REQ

JSON Schema Required Analyzer

POST /api/json-schema-required

List required JSON Schema fields, including nested objects and arrays.

TYPES

JSON Schema Type Summary

POST /api/json-schema-type-summary

Summarize JSON Schema data types, percentages and field paths.

SEARCH

JSON Schema Field Search

POST /api/json-schema-field-search

Find JSON Schema fields by name or data type, including nested paths.

COMPARE

JSON Schema Compare

POST /api/json-schema-compare

Compare two JSON Schemas to find added, removed and changed fields.

COMPAT

JSON Schema Compatibility

POST /api/json-schema-compatibility

Check basic JSON Schema compatibility in both directions.

TEST

JSON Schema Test Case Generator

POST /api/json-schema-test-cases

Generate valid and invalid JSON test cases from a basic JSON Schema.

KEYS

JSON Keys

POST /api/json-keys

List keys of a JSON object, optionally including nested paths.

PATH

JSON Path Get

POST /api/json-path-get

Read a JSON value by a dot-separated or bracketed numeric path.

FLAT

JSON Flatten

POST /api/json-flatten

Flatten nested JSON objects and arrays into dotted paths.

WORDS

Word Frequency

POST /api/word-frequency

Count the most common words in text.

LINES

Line Diff

POST /api/line-diff

Compare two texts line-by-line and summarize changes.

CSV+

CSV Statistics

POST /api/csv-statistics

Summarize column counts and missing cells in CSV.

URL+

URL Query Builder

POST /api/url-query-builder

Create a URL with encoded query parameters.

HTML

HTML Escape

POST /api/html-escape

Escape text safely for HTML display.

PICK

JSON Pick

POST /api/json-pick

Select named top-level fields from a JSON object.

OMIT

JSON Omit

POST /api/json-omit

Remove named top-level fields from a JSON object.

MERGE

JSON Merge

POST /api/json-merge

Shallow or deeply merge two JSON objects.

UNFLAT

JSON Unflatten

POST /api/json-unflatten

Rebuild nested JSON from safe dotted key paths.

FILTER

Array Filter

POST /api/array-filter

Filter an array of objects by a field value.

SORT

Array Sort

POST /api/array-sort

Sort an array of objects by a field.

UNIQ

Array Unique

POST /api/array-unique

Deduplicate JSON array values.

TYPES

JSON Type Profile

POST /api/json-type-profile

Summarize JSON value types and collection sizes.

JOIN

Text Line Join

POST /api/text-line-join

Join text lines with a custom separator.

MAIL

Email Extractor

POST /api/email-extract

Extract email address candidates from text.

TAG

Hashtag Extractor

POST /api/hashtag-extract

Extract distinct hashtags from text.

MASK

Text Mask

POST /api/text-mask

Mask all but the final characters of a text value.

TPL

Text Template

POST /api/text-template

Replace named placeholders with supplied values.

NGRAM

Text N-grams

POST /api/text-ngrams

Count frequent word sequences in text.

CSV

CSV Column Select

POST /api/csv-column-select

Choose columns from a CSV document.

CSV

CSV Column Rename

POST /api/csv-column-rename

Rename CSV column headings.

HOST

URL Host Info

POST /api/url-host-info

Inspect the hostname and parts of an HTTP URL.

PATH

URL Path Join

POST /api/url-path-join

Combine an HTTP base URL with path segments.

DATE

Date Add

POST /api/date-add

Add days, hours or minutes to an ISO timestamp.

DELTA

Date Difference

POST /api/date-difference

Compute elapsed time between two ISO timestamps.

JSON

JSON Null Pruner

POST /api/json-prune-null

Remove null values from objects recursively.

JSON

JSON Depth

POST /api/json-depth

Calculate nesting depth of JSON data.

JSON

JSON Rename Key

POST /api/json-rename-key

Rename a safe key in a JSON object.

JSON

JSON Value Counter

POST /api/json-count-values

Count primitive value types in nested JSON.

JSON

JSON Object Entries

POST /api/json-object-entries

Convert a JSON object into key-value entries.

JSON

JSON Entries to Object

POST /api/json-entries-object

Build an object from key-value entries.

JSON

JSON Defaults

POST /api/json-defaults

Fill missing top-level fields using defaults.

JSON

JSON Key Prefix

POST /api/json-key-prefix

Add a prefix to keys in a flat JSON object.

JSON

JSON Key Suffix

POST /api/json-key-suffix

Add a suffix to keys in a flat JSON object.

JSON

JSON Size Calculator

POST /api/json-size

Measure compact JSON size in UTF-8 bytes.

ARRAY

Array Chunk

POST /api/array-chunk

Split an array into chunks of chosen size.

ARRAY

Array Slice

POST /api/array-slice

Extract a specified index range from an array.

ARRAY

Array Rotate

POST /api/array-rotate

Rotate array elements by a given offset.

ARRAY

Array Intersection

POST /api/array-intersection

Find distinct values common to two arrays.

ARRAY

Array Difference

POST /api/array-difference

Find distinct items present only in the left array.

ARRAY

Array Union

POST /api/array-union

Combine two arrays removing duplicate values.

ARRAY

Array Group By

POST /api/array-group-by

Group JSON objects by a named field.

ARRAY

Array Count By

POST /api/array-count-by

Count JSON objects by a named field.

ARRAY

Array Pagination

POST /api/array-paginate

Paginate arrays with page and size.

ARRAY

Array Partition

POST /api/array-partition

Partition objects by equality on a field.

TEXT

Text Word Wrap

POST /api/text-word-wrap

Wrap plain text at a chosen character width.

TEXT

Text Initials

POST /api/text-initials

Extract initials from words in a name or phrase.

TEXT

Text Palindrome Check

POST /api/text-palindrome

Check whether normalized text reads the same backward.

TEXT

Text Anagram Check

POST /api/text-anagram

Compare whether two phrases use the same letters.

TEXT

Keyword Density

POST /api/text-keyword-density

Calculate the fraction of words matching a keyword.

TEXT

Number Extractor

POST /api/text-extract-numbers

Extract numeric tokens from plain text.

TEXT

URL Extractor

POST /api/text-extract-urls

Find HTTP and HTTPS URL candidates in plain text.

TEXT

Email Redactor

POST /api/text-redact-emails

Replace email addresses with a privacy placeholder.

TEXT

Line Lengths

POST /api/text-line-lengths

Measure the character count of each text line.

TEXT

Common Word Finder

POST /api/text-common-words

List distinct words shared between two texts.

NUMBER

Number Clamp

POST /api/number-clamp

Keep a number between minimum and maximum values.

NUMBER

Number Range

POST /api/number-range

Generate a bounded arithmetic sequence.

NUMBER

Number Statistics

POST /api/number-statistics

Calculate min, max, average, and median.

NUMBER

Percentage Change

POST /api/number-percent-change

Calculate percentage change between two numbers.

NUMBER

Percentage Of

POST /api/number-percent-of

Compute a percentage of a numeric total.

NUMBER

Integer Base Converter

POST /api/number-base-convert

Convert safe integers between bases 2 and 36.

NUMBER

Prime Checker

POST /api/number-prime

Check whether a bounded positive integer is prime.

NUMBER

Greatest Common Divisor

POST /api/number-gcd

Calculate greatest common divisor of two integers.

NUMBER

Least Common Multiple

POST /api/number-lcm

Calculate least common multiple of two integers.

NUMBER

Decimal Rounder

POST /api/number-round

Round numbers to a requested decimal precision.

DATE

Date Weekday

POST /api/date-weekday

Get weekday information from ISO timestamps.

DATE

Business Day Counter

POST /api/date-business-days

Count weekdays between two UTC dates excluding the end.

DATE

UTC Start of Day

POST /api/date-start-of-day

Convert an ISO timestamp to midnight UTC.

DATE

ISO Week Number

POST /api/date-iso-week

Calculate ISO 8601 week number and week-year.

DATE

Days In Month

POST /api/date-days-in-month

Find the number of days in an ISO date month.

DATE

Age in Years

POST /api/date-age-years

Calculate full years elapsed between dates.

DATE

Timezone Hour Offset

POST /api/date-hour-offset

Shift a timestamp by a numeric number of hours.

DATE

Month Boundaries

POST /api/date-month-boundaries

Get the first and last UTC dates of a month.

DATE

Day of Year

POST /api/date-day-of-year

Get the ordinal day of a UTC calendar year.

DATE

Calendar Quarter

POST /api/date-quarter

Get calendar quarter for an ISO timestamp.

JSON

JSON Select Paths

POST /api/json-select-paths

Select top-level keys into a new JSON object.

JSON

JSON Omit Fields

POST /api/json-omit-fields

Remove selected top-level fields.

JSON

JSON Sort Keys

POST /api/json-sort-keys

Sort top-level JSON object keys lexicographically.

JSON

JSON Invert Map

POST /api/json-invert-map

Invert a flat string-to-string mapping.

JSON

JSON Keys Validator

POST /api/json-keys-validate

Check object keys against a list of allowed field names.

JSON

JSON Required Fields

POST /api/json-required-fields

Find missing top-level required object fields.

JSON

JSON Value Search

POST /api/json-value-search

Find top-level keys matching a JSON value exactly.

JSON

JSON Key Lengths

POST /api/json-key-lengths

Report character lengths of top-level object keys.

JSON

JSON Object to Pairs

POST /api/json-object-to-pairs

Convert an object into two-element tuple pairs.

JSON

JSON Pairs to Object

POST /api/json-pairs-to-object

Build an object from two-element tuple pairs.

ARRAY

Array Reverse

POST /api/array-reverse

Return an array in reverse order.

ARRAY

Array Take

POST /api/array-take

Take the first N array elements.

ARRAY

Array Drop

POST /api/array-drop

Drop the first N array elements.

ARRAY

Array Unique

POST /api/array-distinct-json

Deduplicate array items by JSON representation.

ARRAY

Array Index Of

POST /api/array-index-of

Find the first index of a JSON value.

ARRAY

Array Last Index Of

POST /api/array-last-index-of

Find the last index of a JSON value.

ARRAY

Array Zip

POST /api/array-zip

Zip two arrays into ordered pairs.

ARRAY

Array Unzip

POST /api/array-unzip

Split an array of pairs into left and right arrays.

ARRAY

Array Value Frequency

POST /api/array-frequency

Count distinct JSON values in an array.

ARRAY

Array Sliding Window

POST /api/array-window

Generate consecutive fixed-size windows from an array.

TEXT

Text Lines to Array

POST /api/text-lines-to-array

Split text into an array of lines.

TEXT

Array to Text Lines

POST /api/text-array-to-lines

Join string array items into newline separated text.

TEXT

Text Prefix Lines

POST /api/text-prefix-lines

Add a prefix to every line of text.

TEXT

Text Suffix Lines

POST /api/text-suffix-lines

Append a suffix to every line of text.

TEXT

Empty Line Counter

POST /api/text-empty-lines

Count blank lines in plain text.

TEXT

Text Indenter

POST /api/text-indent

Indent every line by the specified number of spaces.

TEXT

Text Dedenter

POST /api/text-dedent

Remove common leading whitespace from non-empty lines.

TEXT

Text First Line

POST /api/text-first-line

Extract the first line of text.

TEXT

Text Last Line

POST /api/text-last-line

Extract the last line of text.

TEXT

Text Matching Lines

POST /api/text-line-contains

Return line numbers containing a string.

NUMBER

Absolute Value

POST /api/number-absolute

Return the absolute magnitude of a finite number.

NUMBER

Number Sign

POST /api/number-sign

Return -1, 0 or +1 for a number.

NUMBER

Integer Checker

POST /api/number-is-integer

Check if a numeric value is an integer.

NUMBER

Even Odd Checker

POST /api/number-even-odd

Determine the parity of a bounded integer.

NUMBER

Number Sum

POST /api/number-sum

Sum a list of finite numeric values.

NUMBER

Number Product

POST /api/number-product

Multiply a list of finite numbers.

NUMBER

Number Min Max

POST /api/number-min-max

Calculate the minimum and maximum of a list.

NUMBER

Arithmetic Mean

POST /api/number-mean

Calculate the average of finite numbers.

NUMBER

Median Calculator

POST /api/number-median

Find the median of finite numeric values.

NUMBER

Ratio Calculator

POST /api/number-ratio

Express two numbers as a ratio and decimal.

DATE

Unix Milliseconds

POST /api/date-unix-ms

Convert a timezone-aware ISO date to milliseconds.

DATE

Unix Seconds

POST /api/date-unix-seconds

Convert an ISO date to Unix seconds.

DATE

UTC Date Components

POST /api/date-utc-components

Extract UTC year, month, day and time components.

DATE

Date Comparison

POST /api/date-compare

Compare two timezone-aware ISO date-times.

DATE

Date Difference Minutes

POST /api/date-difference-minutes

Calculate signed minutes between two dates.

DATE

Date Difference Hours

POST /api/date-difference-hours

Calculate signed hours between two dates.

DATE

Date Add Minutes

POST /api/date-add-minutes

Add or subtract bounded minutes from a timestamp.

DATE

Date Add Days

POST /api/date-add-days

Add or subtract bounded UTC days.

DATE

Leap Year Checker

POST /api/date-is-leap-year

Check if an ISO date falls in a leap year.

DATE

Weekend Checker

POST /api/date-is-weekend

Check whether an ISO date falls on Saturday or Sunday UTC.

JSON

JSON Field Count

POST /api/json-field-count

Count top-level JSON properties.

JSON

JSON Node Count

POST /api/json-node-count

Count primitive and container nodes in JSON.

JSON

JSON Leaf Paths

POST /api/json-leaf-paths

Enumerate leaf JSON paths using bracket notation.

JSON

JSON Type Map

POST /api/json-type-map

Describe top-level JSON field types.

JSON

JSON String Fields

POST /api/json-string-fields

Return top-level JSON fields containing strings.

JSON

JSON Number Fields

POST /api/json-number-fields

Return top-level JSON fields containing numbers.

JSON

JSON Null Fields

POST /api/json-null-fields

List top-level JSON properties with null values.

JSON

JSON Boolean Fields

POST /api/json-boolean-fields

Extract boolean-valued top-level object properties.

JSON

JSON Object Empty Check

POST /api/json-is-empty

Check whether a JSON object has any own keys.

JSON

JSON Pair Lookup

POST /api/json-pair-lookup

Look up a string key in an array of key/value pairs.

ARRAY

Array Every Equal

POST /api/array-every-equal

Test whether all array elements equal a target value.

ARRAY

Array Flatten One Level

POST /api/array-flatten-one

Flatten one level of nested arrays.

ARRAY

Array All Unique

POST /api/array-every-unique

Check if every item in an array is unique by JSON value.

ARRAY

Array Equality

POST /api/array-equals

Compare two arrays element-by-element.

ARRAY

Array Overlap Count

POST /api/array-overlap-count

Count unique array values shared by two arrays.

ARRAY

Array Symmetric Difference

POST /api/array-symmetric-difference

Find values present in only one of two arrays.

ARRAY

Array Count Matches

POST /api/array-count-matches

Count array values equal to a JSON target.

ARRAY

Array Group By Field

POST /api/array-group-by-field

Group JSON objects by a top-level string/number field.

ARRAY

Array Pluck Field

POST /api/array-pluck-field

Extract a named field from an array of JSON objects.

ARRAY

Array Non Null

POST /api/array-non-null

Remove null values from an array.

TEXT

Text Digit Count

POST /api/text-digit-count

Count Unicode decimal digits in text.

TEXT

Text Uppercase Count

POST /api/text-uppercase-count

Count uppercase Unicode letters in text.

TEXT

Text Lowercase Count

POST /api/text-lowercase-count

Count lowercase Unicode letters in text.

TEXT

Text Longest Word

POST /api/text-longest-word

Find the longest word in a text.

TEXT

Text Shortest Word

POST /api/text-shortest-word

Find the shortest word in a text.

TEXT

Text Unique Words

POST /api/text-unique-words

List distinct words in first-occurrence order.

TEXT

Text Sentence Counter

POST /api/text-sentence-count

Estimate sentence count using punctuation boundaries.

TEXT

Text Punctuation Count

POST /api/text-punctuation-count

Count Unicode punctuation symbols in text.

TEXT

Text Surround

POST /api/text-surround

Wrap a string in a supplied prefix and suffix.

TEXT

Text Remove Line Numbers

POST /api/text-remove-line-numbers

Remove leading numbered-list prefixes from each line.

NUMBER

Triangular Number

POST /api/number-triangle

Calculate the nth triangular number of a bounded integer.

NUMBER

Number Square

POST /api/number-square

Square a finite input number with overflow protection.

NUMBER

Number Reciprocal

POST /api/number-reciprocal

Compute one divided by a nonzero number.

NUMBER

Weighted Average

POST /api/number-weighted-average

Calculate a weighted arithmetic mean.

NUMBER

Population Variance

POST /api/number-variance

Calculate the population variance of a numeric list.

NUMBER

Population Standard Deviation

POST /api/number-stddev

Calculate population standard deviation.

NUMBER

Celsius to Fahrenheit

POST /api/number-celsius-to-fahrenheit

Convert temperatures from Celsius to Fahrenheit.

NUMBER

Fahrenheit to Celsius

POST /api/number-fahrenheit-to-celsius

Convert temperatures from Fahrenheit to Celsius.

NUMBER

Prime Checker

POST /api/number-prime-check

Test whether a bounded positive integer is prime.

NUMBER

Numeric Histogram

POST /api/number-histogram

Bin numeric samples into a fixed number of equal-width buckets.

DATE

Start of Year

POST /api/date-start-of-year

Return first UTC instant of the calendar year.

DATE

End of Year

POST /api/date-end-of-year

Return last UTC millisecond of a calendar year.

DATE

Start of Month

POST /api/date-start-of-month

Return the UTC first instant of a calendar month.

DATE

End of Month

POST /api/date-end-of-month

Return last millisecond of a UTC calendar month.

DATE

End of UTC Day

POST /api/date-end-of-day

Return last millisecond of a UTC calendar day.

DATE

Weekday Name

POST /api/date-weekday-name

Return the English UTC weekday name.

DATE

First of Month Check

POST /api/date-is-first-of-month

Check if a UTC date is the first day of its month.

DATE

Add Weeks

POST /api/date-add-weeks

Shift a timestamp by a bounded number of seven-day weeks.

DATE

Days Between

POST /api/date-days-between

Calculate signed fractional days between ISO timestamps.

DATE

Last of Month Check

POST /api/date-is-last-of-month

Check if a UTC date is last calendar day of its month.

JSON

JSON Deep Equal

POST /api/json-deep-equal

Compare JSON values regardless of object key order.

JSON

JSON Rename Key

POST /api/json-copy-key

Rename a top-level JSON object property.

JSON

JSON Pick Keys

POST /api/json-pick-keys

Retain selected top-level object fields.

JSON

JSON Omit Keys

POST /api/json-omit-keys

Remove selected top-level object fields.

JSON

JSON Object Entries

POST /api/json-keys-with-lengths

Convert an object into key-value pairs.

JSON

JSON From Entries

POST /api/json-from-entries

Build an object from key-value pairs.

JSON

JSON Sort Keys

POST /api/json-values-sorted-keys

Sort object properties alphabetically.

JSON

JSON Value Type Counts

POST /api/json-count-by-type

Count immediate object properties by JSON data type.

JSON

JSON Keys Prefix Filter

POST /api/json-keys-prefix

List object keys starting with a prefix.

JSON

JSON Keys Suffix Filter

POST /api/json-keys-suffix

List object keys ending with a suffix.

ARRAY

Array Rotate Left

POST /api/array-rotate-left

Rotate elements left by a chosen offset.

ARRAY

Array Rotate Right

POST /api/array-rotate-right

Rotate elements right by a chosen offset.

ARRAY

Array Take While Equal

POST /api/array-take-while

Take values from the start while they match a value.

ARRAY

Array Drop While Equal

POST /api/array-drop-while

Remove values from the start while matching a value.

ARRAY

Array Interleave

POST /api/array-interleave

Alternate items from two arrays.

ARRAY

Array Zip

POST /api/array-zip-longest

Pair two arrays by matching indexes.

ARRAY

Array Unzip

POST /api/array-pair-swap

Split an array of pairs into two arrays.

ARRAY

Array Pad Right

POST /api/array-pad-right

Pad an array to a given length.

ARRAY

Array Pad Left

POST /api/array-pad-left

Prepend a padding value to reach a length.

ARRAY

Array Split At

POST /api/array-split-at

Split an array at a specified position.

TEXT

Text Line Prefix

POST /api/text-line-prefix

Add a prefix to every input line.

TEXT

Text Line Suffix

POST /api/text-line-suffix

Append a suffix to every input line.

TEXT

Text Indent

POST /api/text-tabify

Indent each line by a bounded number of spaces.

TEXT

Text Unindent

POST /api/text-unindent

Remove up to N leading spaces from each line.

TEXT

Text Initials

POST /api/text-acronym-dot

Extract first letters from space-separated words.

TEXT

Text English Vowels

POST /api/text-vowel-count

Count Latin vowel letters in text.

TEXT

Text English Consonants

POST /api/text-consonant-count

Count Latin consonant letters in text.

TEXT

Text Extract Numbers

POST /api/text-extract-integers

Extract signed decimal numbers from a string.

TEXT

Text Ends With

POST /api/text-ends-with

Check whether text ends with a given string.

TEXT

Text Starts With

POST /api/text-starts-with

Check whether text starts with a given string.

NUMBER

Absolute Value

POST /api/number-distance-zero

Compute the absolute value of a finite number.

NUMBER

Number Sign

POST /api/number-sign-label

Report a number sign as -1, 0, or 1.

NUMBER

Number Cube

POST /api/number-cube

Cube a number with overflow protection.

NUMBER

Modulo

POST /api/number-modulo

Calculate nonnegative modulo for a nonzero divisor.

NUMBER

Percent of Value

POST /api/number-basis-points

Calculate a percentage of a number.

NUMBER

Percentage Change

POST /api/number-percent-difference

Calculate percent change from a starting value.

NUMBER

Even Integer Check

POST /api/number-is-even

Test whether a safe integer is even.

NUMBER

Odd Integer Check

POST /api/number-is-odd

Test whether a safe integer is odd.

NUMBER

Factorial

POST /api/number-factorial

Calculate factorials for nonnegative integers up to 170.

NUMBER

Greatest Common Divisor

POST /api/number-are-coprime

Find GCD of two bounded integers.

DATE

Date UTC Year

POST /api/date-year

Extract the UTC calendar year.

DATE

Date UTC Month

POST /api/date-month

Extract the UTC month number.

DATE

Date UTC Day

POST /api/date-day

Extract UTC day of month.

DATE

Date UTC Hour

POST /api/date-hour

Extract the UTC hour from an ISO timestamp.

DATE

Date UTC Minute

POST /api/date-minute

Extract the UTC minute from an ISO timestamp.

DATE

Date UTC Second

POST /api/date-second

Extract the UTC second from an ISO timestamp.

DATE

Weekend Check

POST /api/date-is-weekday

Test if a date is Saturday or Sunday in UTC.

DATE

Calendar Quarter

POST /api/date-quarter-label

Find the UTC quarter of the year.

DATE

Start of Quarter

POST /api/date-start-of-quarter

Get the first UTC instant of a calendar quarter.

DATE

End of Quarter

POST /api/date-end-of-quarter

Get the last UTC millisecond of a calendar quarter.

Example request

POST /api/hash

{
  "text": "hello"
}

Unauthenticated requests return:

HTTP 402 Payment Required