Remove duplicate lines, preserving first-seen order
Remove duplicate lines, preserving first-seen order. Returns the deduped text and how many were removed.
11,128 resources accept payment on this network. solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Remove duplicate lines, preserving first-seen order. Returns the deduped text and how many were removed.
Look up the Uniswap V3 pool address for a token pair + fee tier on Ethereum, Base, Polygon, Arbitrum, or Optimism. Pass either order (tokenA/tokenB) - the factory sorts…
Compute the date of Easter Sunday for a given year using the Anonymous Gregorian algorithm (Meeus/Jones/Butcher). Also returns Good Friday, Ash Wednesday, Palm Sunday, P…
Parse a duration like "2h30m" / "1d4h" / "90s" to seconds, or humanize a number of seconds.
Validate an email address: syntax check plus live MX record lookup on the domain (deliverability signal, not a guarantee).
Resolve an ENS name (e.g. vitalik.eth) to its Ethereum address - so an agent can turn a human-readable recipient into a payable address. Read-only on Ethereum mainnet.
Financial math. op: "compound" (future value of principal at a rate) or "loan" (monthly payment + total for a loan).
Backtest a forecasting method on the input series by holding out the last `testSize` observations, forecasting them, and computing MAPE (mean absolute percentage error)…
Holt's linear trend method - level + trend (no seasonality). Two smoothing parameters: alpha (level) and beta (trend). Forecast extrapolates as a straight line from the…
Decompress a base64-encoded gzip payload. Returns the result as utf8 (text) or base64 (binary). Refuses to expand past 10MB to defend against zip bombs.
Three textbook baseline forecasts: mean (forecast = average of history), naive (forecast = last value), drift (linear extrapolation from first to last point). Use as a s…
Simple exponential smoothing (SES) - level-only forecast for series without trend or seasonality. Higher alpha (closer to 1) tracks recent values aggressively; lower alp…
Great-circle distance between two latitude/longitude points using the haversine formula. Returns kilometers and miles. Deterministic.
Hex encode or decode text. mode: encode (default) or decode.
HMAC signature of a message with a shared key. Algorithms: sha256 (default), sha512, sha1. Returns hex and base64.
Encode text to HTML entities or decode them back. mode: encode (default) or decode.
Extract <title>, <meta description>, OpenGraph/Twitter cards, canonical URL, and JSON-LD blocks from an HTML string. Distinct from /api/meta which fetches a URL - feed t…
Enumerate every <a href> in an HTML string with its anchor text and rel attribute. Optionally resolves relative hrefs against a base URL and filters by a regex on the hr…
Convert an HTML fragment or document you already have into clean markdown. (To fetch + convert a live URL, use /api/extract.)
Validate an IBAN: country code, length, and the ISO 13616 mod-97 checksum.
Compute the internal rate of return (IRR) of a cashflow stream - the discount rate at which NPV = 0. Index 0 is treated as t=0 (typically the negative initial investment…
Deep-compare two JSON values. Returns a list of changed/added/removed paths (capped at 1000 differences).
Get the ISO 8601 week number, ISO day-of-week, quarter, and day-of-year for any date. Useful for fiscal/reporting calendars, weekly aggregations, and sprint planning.
Flatten nested JSON to dot-path keys, or unflatten dot-path keys back to nested JSON. mode: flatten (default) | unflatten.