Duo Data Utilities: IBAN, VAT, ISIN Validation API

v1.1.0
com.duoleads.api/data-utilities Checked 4 days ago Published 26 days ago

IBAN, ISIN, VAT/tax ID, GTIN validation; timezone, geo, text, chain utilities.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vat_tax_id_validate VAT number format and checksum (no VIES lookup), tax ID and national ID validator: 23 countries

VAT, tax ID and national ID validator: check a national identity, tax or company registration number against its country's official checksum rule. Covers 23 countries including NL BSN, ES NIF/NIE/CIF, IT codice fiscale, FR SIREN/SIRET, DE Steuer-ID, BE/PL/CZ national numbers, SE/NO/DK/FI personal numbers, BR CPF/CNPJ, AU ABN/TFN, UK NINo, IE PPS, US NPI/EIN. Structure and check digit only, no registry lookup; the number is never stored (logs keep only its length and character types). Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
country *stringISO 3166-1 alpha-2 country code, case-insensitive. One of the 23 supported countries; the United Kingdom is accepted as UK or GB (the response echoes what you sent). Accepted: one of the 23 supported…
kind *stringIdentifier type for that country, e.g. bsn, nif, cf, cpf; vat picks the country's VAT number (NL btw, BE vat, DE ustid, FR tva, IT piva, PL nip, AT uid, CH uid, IE vat). Accepted: an identifier kind s…
value *stringThe identifier. Separators (space . - /) are stripped before checking. Accepted: at most 64 characters.

gtin_barcode_validate EAN/UPC barcode validator: GTIN, EAN-13, UPC-A (GTIN-12), GTIN-8/14, GLN and SSCC check digits

GTIN barcode validator: validate and convert GS1 identifiers: GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GLN and SSCC. Returns the check-digit verdict, the computed correct check digit, the GTIN-14 form with its indicator digit, and conversion between GTIN-8, -12, -13 and -14. No company-prefix split is returned: GS1's prefix-length table is no longer public data. Also computes a missing check digit from a partial code. Structure only, no product database. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
value *stringGS1 code, digits with optional spaces or hyphens. For op=checkdigit, omit the final digit. Accepted: 8, 12, 13, 14 or 18 digits.
opstringvalidate (default), checkdigit (compute the missing final digit) or convert. Accepted: validate, checkdigit, convert.
tostringTarget format. Required when op=convert. Accepted: gtin8, gtin12, gtin13, gtin14.

isin_cusip_sedol_validate ISIN validator plus CUSIP, SEDOL and FIGI check-digit validation; builds an ISIN from an NSIN

ISIN validator plus CUSIP, SEDOL and FIGI check digits: validate the check digit of a financial security identifier (ISIN per ISO 6166). Returns the verdict, the computed correct check character, and for an ISIN the issuing country prefix and the embedded NSIN. Also builds an ISIN from a country code plus a 9-character NSIN. Format and checksum only, no security master lookup. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
countrystringISO 3166-1 alpha-2 code or XS. Required when op=build-isin. Accepted: at most 16 characters.
nsinstringExactly 9 alphanumeric characters. Required when op=build-isin. Accepted: exactly 9 alphanumeric characters.
opstringvalidate (default) or build-isin. Accepted: validate, build-isin.
valuestringISIN, CUSIP, SEDOL or FIGI to validate. Required when op=validate. Accepted: an alphanumeric security identifier of at most 24 characters.

iban_validate IBAN validator: length, mod-97 check digits, bank/branch/account breakdown (89 countries)

IBAN validator: validate an IBAN's length for its country, permitted character classes per field, and the ISO 7064 mod-97-10 check digits. Returns the verdict with a specific failure reason, the electronic and print formats, and the decomposed bank code, branch code and account number according to that country's registered layout. Covers the 89 countries of the SWIFT IBAN registry. Structure and checksum only, it does not confirm the account exists. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
iban *stringThe IBAN. Spaces and non-breaking spaces are stripped; lowercase is accepted and uppercased. Accepted: an IBAN of at most 64 characters.

iban_generate IBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits

IBAN generator: construct an IBAN from a country code and the domestic account parts, computing the ISO 7064 mod-97-10 check digits. Takes a single BBAN string or named parts (bank code, branch code, account number); digit fields are left-padded with zeros to the country's registered widths. Returns the IBAN in electronic and print formats with its bank, branch and account parts. Covers the 89 SWIFT registry countries. Named parts work only where they span the whole BBAN; else pass the BBAN. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
country *stringISO 3166-1 alpha-2 country code in the SWIFT IBAN registry, case-insensitive. Accepted: an ISO 3166-1 alpha-2 code in the IBAN registry.
accountstringAccount number. Requires bank. Accepted: an account number of at most 32 characters.
bankstringBank code. Requires account. Accepted: a bank code of at most 16 characters.
bbanstringThe whole domestic account number (BBAN), alphanumeric. Use this or bank plus account. Accepted: an alphanumeric BBAN of at most 34 characters.
branchstringBranch code, for countries whose layout has a branch field. Accepted: a branch code of at most 16 characters.

timezone_convert Timezone converter: instant to local time in an IANA time zone and back, with UTC offset and DST state

Timezone converter: convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in ±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and the day of year. Handles the ambiguous and skipped local times at DST boundaries explicitly rather than guessing. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
zone *stringIANA time zone id, e.g. Europe/Amsterdam. Accepted: an IANA time zone id, e.g. Europe/Amsterdam.
ambiguousstringOnly with local: which instant a repeated local time maps to. Default earlier. Accepted: earlier, later, reject.
instantstringRFC 3339 timestamp or integer Unix seconds/milliseconds. Defaults to now. Mutually exclusive with local. Accepted: RFC 3339 timestamp or integer epoch.
localstringWall-clock time YYYY-MM-DDTHH:MM[:SS] in zone, converted back to an instant. Mutually exclusive with instant. Accepted: YYYY-MM-DDTHH:MM[:SS].

dst_transitions DST transitions: next daylight-saving time changes for an IANA time zone

DST transitions: list the daylight-saving time changes for an IANA time zone over a date range: the exact instant of each shift, the offset before and after, and whether local clocks jump forward or back. Returns the current offset and DST state, and the next transition from a given instant. Zones without DST return an empty transition list rather than an error. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
zone *stringIANA time zone id. Accepted: an IANA time zone id, e.g. Europe/Amsterdam.
fromstringStart of the range: RFC 3339 or YYYY-MM-DD. Default now. Accepted: RFC 3339 timestamp or YYYY-MM-DD.
yearsLength of the range in years, 1-10. Default 2. Accepted: integer 1-10.

business_days_calculate Business days calculator: add or count working days with your weekend mask and holiday list

Business days calculator with a caller-supplied calendar: add or subtract N working days from a date, or count the working days between two dates. The weekend is a weekday mask (Friday-Saturday and Sunday-only weeks work) and holidays are an explicit date list, so nothing depends on a stale holiday table. Returns the result date, the day count and the skipped dates with reasons. The skipped list is capped at 1,000 entries (skipped_truncated flags it); skipped_total is always exact. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
from *stringStart date, YYYY-MM-DD. Accepted: a calendar date as YYYY-MM-DD.
daysBusiness days to add, -3650 to 3650. Required when op=add. Accepted: integer between -3650 and 3650.
holidaysstringComma-separated YYYY-MM-DD holiday dates. Accepted: comma-separated YYYY-MM-DD dates, at most 2048 characters.
inclusivestringFor op=count: start (default, half-open [from, to)), both or neither. Accepted: start, both, neither.
opstringadd (default) N business days to from, or count business days between from and to. Accepted: add, count.
tostringEnd date YYYY-MM-DD, may precede from. Required when op=count. Accepted: a calendar date as YYYY-MM-DD.
weekendstringComma-separated weekday names or ISO numbers. Default sat,sun. Empty string = no weekend. Accepted: comma-separated weekday names (mon..sun) or ISO numbers 1-7.

rrule_expand RRULE expander: RFC 5545 recurrence rule to concrete occurrence dates

RRULE expander: expand an RFC 5545 recurrence rule into concrete occurrence timestamps. Accepts an RRULE string with DTSTART, an IANA time zone, and optional EXDATE and RDATE lists, and returns up to 200 occurrences as both local wall-clock times and UTC instants. Supports FREQ, INTERVAL, COUNT, UNTIL, BYDAY, BYMONTHDAY, BYMONTH, BYSETPOS and WKST. Occurrences moved by a DST gap carry gap: true. Rules needing over 50,000 candidate evaluations are rejected. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
dtstart *stringFirst occurrence, YYYY-MM-DDTHH:MM:SS local to zone. Accepted: YYYY-MM-DDTHH:MM:SS.
rrule *stringRFC 5545 RRULE, e.g. FREQ=MONTHLY;BYDAY=-1FR;COUNT=6. Accepted: at most 512 characters.
zone *stringIANA time zone id. Accepted: an IANA time zone id, e.g. Europe/Amsterdam.
afterstringRFC 3339 instant; skip occurrences before it. Accepted: RFC 3339 timestamp.
countMaximum occurrences to return, 1-200. Default 20. Accepted: integer 1-200.
exdatestringComma-separated local datetimes to exclude. Accepted: at most 1024 characters.
rdatestringComma-separated local datetimes to add. Accepted: at most 1024 characters.

calendar_convert Calendar converter: Gregorian to Hijri, Hebrew, Japanese era, Persian and more, plus Easter date

Calendar converter: convert a Gregorian date to other calendar systems: Islamic (both the tabular civil calendar and the Umm al-Qura variant), Hebrew, Japanese imperial era, Republic of China, Buddhist and Persian. Also computes Easter Sunday for a year in both the Gregorian and Julian reckonings. Uses the calendar support built into the runtime, with the algorithm named in every response. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
datestringGregorian date YYYY-MM-DD. Required when op=convert. Accepted: a calendar date as YYYY-MM-DD.
opstringconvert (default) a Gregorian date, or easter for a year. Accepted: convert, easter.
ritestringEaster reckoning: western (default) or eastern. Accepted: western, eastern.
tostringComma-separated calendar ids: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian. Default all. Accepted: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian.
yearYear for op=easter, 326-9999. Accepted: integer 326-9999.

slug_generate Slug generator: Unicode-aware URL slug with transliteration

Slug generator: turn arbitrary text into a URL-safe slug. Decomposes accents, transliterates German umlauts, Scandinavian and Turkish letters, the ligatures that lose meaning under plain NFD, and Cyrillic (Russian, Ukrainian, Belarusian, Bulgarian, Serbian, Macedonian; language from lang or inferred from the letters). Lowercases, collapses separators, truncates on a word boundary. Returns the slug plus what was removed. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
text *stringText to slugify, at most 2048 characters. Accepted: at most 2048 characters.
casestringlower (default), preserve or upper. Accepted: lower, preserve, upper.
langstringISO 639-1 code for locale-sensitive folding (de: ü->ue) and the Cyrillic table (ru, uk, be, bg, sr, mk). Default locale-neutral; for Cyrillic the language is then inferred from letters unique to Ukra…
maxMaximum slug length 1-512, default 96. Truncates at the last complete word. Accepted: integer 1-512.
separatorstringSeparator: - (default), _, . or empty. Accepted: -, _, . or empty.

cyrillic_transliterate Cyrillic transliteration to Latin (ISO 9:1995, BGN/PCGN Russian)

Cyrillic transliteration to Latin using a named standard: ISO 9:1995 (one-to-one, with diacritics, covering the full standard: Russian, other Slavic, historic and non-Slavic Cyrillic letters) or BGN/PCGN, which is the Russian system only (Ukrainian, Serbian and other letters are passed through unmapped). Returns the transliteration, the source script, the standard, the mapped fraction and the unmapped characters. Other scripts are rejected with UNSUPPORTED_VALUE. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
text *stringText to transliterate, at most 2048 characters. Accepted: at most 2048 characters.
casestringpreserve (default), lower or upper. Accepted: preserve, lower, upper.
fromstringSource script name (cyrillic), or auto (default). Accepted: cyrillic or auto.
standardstringRomanisation standard: iso-9 (default; all ISO 9:1995 Cyrillic letters) or bgn-pcgn (BGN/PCGN Russian system, Russian letters only). Accepted: iso-9 or bgn-pcgn (Russian letters only) for cyrillic.

unicode_confusables_check Unicode normalization (NFC/NFKC), script detection and homoglyph/confusable check

Unicode normalization and confusables check: apply NFC, NFD, NFKC or NFKD, report which forms a string is already in, list the scripts present (all Unicode scripts), and flag confusable and homoglyph characters — Cyrillic а in a Latin word, fullwidth or mathematical look-alikes, all-look-alike words — plus zero-width joiners, bidirectional overrides, invisible and blank characters. Returns per-character detail with code points, names and the ASCII character each imitates. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
text *stringText to analyse, at most 1024 characters. Accepted: at most 1024 characters.
detailstringsummary (default) or full per-code-point detail (capped at 256 entries). Accepted: summary, full.
formstringNormalisation form to apply, default nfc. Accepted: nfc, nfd, nfkc or nfkd.

string_similarity String similarity: Levenshtein, Jaro-Winkler distance and Soundex/Metaphone phonetic keys

String similarity: compare two strings and return every standard measure in one call: Levenshtein and Damerau-Levenshtein edit distance, normalised similarity, Jaro and Jaro-Winkler, longest common subsequence, Dice coefficient on character bigrams, and the Soundex, Metaphone and NYSIIS phonetic keys of each string. Optional case folding, accent folding and whitespace normalisation before comparison. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
a *stringFirst string, at most 512 characters. Accepted: at most 512 characters.
b *stringSecond string, at most 512 characters. Accepted: at most 512 characters.
foldstringComma-separated folds before comparing: case, accents, space, punct. Default case. Accepted: comma-separated subset of case, accents, space, punct.
onlystringComma-separated measure names to compute: levenshtein, damerau_levenshtein, normalised_similarity, jaro, jaro_winkler, lcs_length, dice, phonetic (all three keys), soundex, metaphone, nysiis. Default…

url_parse URL parser: parse, canonicalize and extract the registrable domain (eTLD+1)

URL parser: parse and canonicalise a URL, and extract its registrable domain using the Public Suffix List — the part an agent needs to decide whether two URLs belong to the same owner. Returns scheme, host, port, path, decoded query parameters and fragment, the public suffix, the registrable domain (eTLD+1), the subdomain, whether the suffix is ICANN or private, plus a canonical form with default port, dot-segments and percent-encoding normalised. unicode_host uses WHATWG/UTS 46 (non-strict). Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
url *stringAbsolute URL, or a bare hostname (https:// assumed). Accepted: an absolute URL, or a hostname.
basestringBase URL to resolve url against as a relative reference. Accepted: an absolute URL.

punycode_convert Punycode converter: IDN domain to ASCII and back, with IDNA2008 label validation

Punycode converter: convert internationalised domain names between Unicode and ASCII punycode in either direction, label by label, and validate each label against IDNA2008: length, leading and trailing hyphens, the hyphen-hyphen rule at positions 3 and 4, disallowed code points and bidirectional rules. Returns both forms, the per-label breakdown and the first rule violated. Strict mode is IDNA2008 (UTS 46 non-transitional); it may reject names /v1/code/url displays. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
domain *stringDomain name in Unicode or punycode form. Accepted: at most 512 characters.
stricttrue (default) applies IDNA2008 strictly; false uses UTS 46 transitional (IDNA2003-compatible) processing, which maps e.g. ß to ss; current browsers and /v1/code/url use non-transitional processing,…
tostringascii, unicode or both (default). Validated only: the response always carries both forms. Accepted: ascii, unicode, both.

semver_compare Semver parser: parse and compare versions, check range satisfaction

Semver parser and comparator: parse a semantic version into major, minor, patch, prerelease and build parts; compare two versions by precedence including prerelease ordering; or test whether a version satisfies a range expression using caret, tilde, hyphen, x-ranges and comparator sets. Returns the parsed structure, the comparison result and the reason a range did not match. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
astringFirst version for op=compare. Accepted: at most 256 characters.
bstringSecond version for op=compare. Accepted: at most 256 characters.
opstringparse (default), compare, satisfies or sort. Accepted: parse, compare, satisfies, sort.
rangestringRange expression for op=satisfies, e.g. ^1.2.0. Accepted: at most 256 characters.
versionstringVersion to parse (op=parse) or test (op=satisfies). Accepted: at most 256 characters.
versionsstringComma-separated versions for op=sort, at most 100. Accepted: at most 100 versions.

hash_generate SHA-256/HMAC hash generator: SHA-256, SHA-512, SHA-3, Keccak-256, BLAKE2 and HMAC digests

Hash generator: compute a cryptographic digest of supplied data: SHA-256, SHA-384, SHA-512, SHA-1, SHA3-256, SHA3-512, Keccak-256, BLAKE2b-256 and BLAKE2b-512, plus HMAC with any of them. Input is UTF-8 text, base64 or hex bytes; output is hex, base64, base64url or base32. Returns the digest, the byte length of the input, and the exact algorithm identifier used. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
algo *stringDigest algorithm. Accepted: sha256, sha384, sha512, sha1, sha3-256, sha3-512, keccak256, blake2b-256, blake2b-512.
data *stringInput data, interpreted per encoding. At most 8192 characters. An empty value hashes the empty string. Accepted: at most 8192 characters.
encodingstringEncoding of data: utf8 (default), base64, base64url or hex. Accepted: utf8, base64, base64url, hex.
hmac_keystringIf present, computes HMAC with this key. Accepted: at most 512 characters.
hmac_key_encodingstringEncoding of hmac_key, as encoding. Accepted: utf8, base64, base64url, hex.
outstringDigest output encoding: hex (default), base64, base64url or base32. Accepted: hex, base64, base64url, base32.

jwt_decode JWT decoder: header, claims and expiry state (no signature verification)

JWT decoder: decode a JSON Web Token without verifying it: returns the header, the claims, the signature length and algorithm, and a computed view of the time claims — whether exp has passed, whether nbf is in the future, and the remaining lifetime in seconds against a supplied or current instant. Reports structural problems such as a missing part, invalid base64url or an alg of none. It does not and cannot verify the signature; do not use it to decide trust. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
token *stringThe JWT to decode (not verified). At most 8192 characters. Accepted: at most 8192 characters.
atstringInstant to evaluate exp/nbf against: RFC 3339 or epoch seconds. Default now. Accepted: RFC 3339 timestamp or integer epoch.

geohash_encode_decode Geohash encoder and decoder with neighbour cells

Geohash encoder and decoder: encode a WGS-84 latitude and longitude to a geohash at a chosen precision, or decode a geohash back to its bounding box, centre point and error bounds in metres. Encoding also returns the eight neighbouring cells, which is what a caller needs to do proximity search over a geohash-indexed store without a spatial database. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
geohashstringGeohash to decode, 1-12 characters. Required when op=decode. Accepted: base32 geohash alphabet, excluding a, i, l and o.
latnumber | stringWGS-84 latitude, -90 to 90. Required when op=encode. Accepted: a number between -90 and 90.
lonnumber | stringWGS-84 longitude, -180 to 180. Required when op=encode. Accepted: a number between -180 and 180.
opstringencode (default): lat/lon to geohash. decode: geohash to bounding box. Accepted: encode, decode.
precisionGeohash length 1-12, default 9 (about 4.8 m). Accepted: integer 1-12.

plus_code_encode_decode Plus code (Open Location Code) encoder and decoder

Plus code (Open Location Code) encoder and decoder: encode coordinates as a plus code at a chosen length, or decode a full code back to its bounding box and centre. Also shortens a full code against a reference coordinate and recovers a shortened code given a reference, which is how plus codes are normally exchanged in text. Returns code length, precision in metres and validity. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
codestringPlus code for decode, shorten or recover. Accepted: at most 20 characters.
latnumber | stringLatitude for op=encode. Accepted: a number between -90 and 90.
lengthInteger code length for op=encode: one of 2,4,6,8,10 (default),11,12,13,14,15. Other integers in 2-15 are 400 UNSUPPORTED_VALUE. Accepted: one of 2,4,6,8,10,11,12,13,14,15.
lonnumber | stringLongitude for op=encode. Accepted: a number between -180 and 180.
opstringencode (default), decode, shorten or recover. Accepted: encode, decode, shorten, recover.
ref_latnumber | stringReference latitude for op=shorten/recover. Accepted: a number between -90 and 90.
ref_lonnumber | stringReference longitude for op=shorten/recover. Accepted: a number between -180 and 180.

point_in_polygon Point in polygon check, plus bounding box, centroid and area for GeoJSON

Point in polygon check and GeoJSON geometry: point-in-polygon with correct hole handling, bounding box, centroid, signed area in square metres, perimeter length, and ring winding order for a geometry supplied in the request. Accepts Polygon and MultiPolygon, and a GeoJSON Feature wrapping either. Area and length are geodesic on the WGS-84 ellipsoid, correct at any latitude; containment is planar in lon/lat. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
geometry *stringURL-encoded GeoJSON Polygon, MultiPolygon or a Feature wrapping one. At most 3072 characters and 2000 coordinate pairs. Accepted: valid GeoJSON.
latnumber | stringPoint latitude; with lon, runs the containment test. Accepted: a number between -90 and 90.
lonnumber | stringPoint longitude; with lat, runs the containment test. Accepted: a number between -180 and 180.
opsstringComma-separated subset of contains,bbox,centroid,area,perimeter,winding. Default all. Accepted: comma-separated subset of contains, bbox, centroid, area, perimeter, winding.

geo_distance Distance calculator: geodesic distance, bearing and destination point on WGS-84

Distance calculator: distance and direction between WGS-84 coordinates: geodesic distance by Vincenty with a haversine fallback, initial and final bearing, the midpoint, and the destination point reached from a start point on a given bearing and distance. Also computes the cumulative length of a supplied coordinate path. Results in metres, kilometres, nautical miles and miles. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
bearingnumber | stringInitial bearing in degrees for op=destination. Accepted: number 0-360.
distance_mnumber | stringDistance in metres for op=destination, 0 to 1e9 (about 25 Earth circumferences); larger values are 400 INVALID_PARAM. Accepted: a number between 0 and 1e9 (metres).
lat1number | stringStart latitude. Accepted: a number between -90 and 90.
lat2number | stringEnd latitude. Accepted: a number between -90 and 90.
lon1number | stringStart longitude. Accepted: a number between -180 and 180.
lon2number | stringEnd longitude. Accepted: a number between -180 and 180.
methodstringvincenty (default, WGS-84) or haversine. Accepted: vincenty, haversine.
opstringdistance (default), destination, midpoint or path. Accepted: distance, destination, midpoint, path.
pathstringComma-separated lat,lon pairs for op=path, at most 200 points. Accepted: comma-separated lat,lon pairs, at most 200 points.

crypto_address_validate Crypto address validator: detect the blockchain and verify the checksum (EVM, Bitcoin, Solana and more)

Crypto address validator: identify which blockchain an address belongs to and validate its encoding: EVM EIP-55 checksum, Bitcoin base58check and bech32/bech32m with witness version, Solana base58 and on-curve check, Cosmos bech32 with its HRP, Tron, XRP, Litecoin, Dogecoin, Cardano, Polkadot SS58 and Algorand. Returns every chain the address is valid for (ambiguous when several match), the checksummed form for EVM addresses, and the reason a check failed, including unrecognised_format. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
address *stringAddress to identify and validate. Accepted: at most 128 characters.
chain_idEVM chain id; enables EIP-1191 chain-salted checksum validation. Accepted: a positive integer chain id.
expectstringRestrict the check to one chain id. Accepted: evm, bitcoin, solana, cosmos, tron, xrp, cardano, polkadot, algorand, litecoin, dogecoin.

solidity_function_selector Solidity function selector: Keccak-256, 4-byte selector and event topic from a signature

Solidity function selector and event topic: compute the Keccak-256 hash of a function or event signature and derive the 4-byte selector and the 32-byte topic. Normalises the signature first — strips parameter names, expands uint to uint256 and the other aliases, flattens tuples — so a signature copied from source code produces the same selector as the canonical form. Also hashes arbitrary text or hex bytes with Keccak-256. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
datastringAlternative to signature: raw data to Keccak-256 hash. Accepted: at most 8192 characters.
encodingstringEncoding of data: utf8 (default) or hex. Accepted: utf8, hex.
kindstringfunction (default), event or error. Accepted: function, event, error.
signaturestringSolidity function, event or error signature, e.g. transfer(address to, uint amount). Accepted: at most 1024 characters.

nuts_region_lookup NUTS region lookup: EU statistical region codes, names and hierarchy

NUTS region lookup (EU statistical regions): resolve a NUTS code to its name, country and level, walk up to its parents or down to its children, or search regions by name. Covers all four levels (country, major region, basic region, small region) for the 27 member states and 12 further reporting countries, from the NUTS 2024 classification. Returns the Latin-script and local-language names plus the urbanisation, coastal and mountain typologies. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
codestringNUTS code, 2-5 characters, case-insensitive (level-3 codes may contain letters, e.g. NL32B). A GR or GB prefix is accepted for EL or UK. Accepted: 2 to 5 characters matching ^[A-Z]{2}[0-9A-Z]{0,3}$.
countrystringISO 3166-1 alpha-2 country filter (UK/GB and EL/GR both accepted). Accepted: an ISO 3166-1 alpha-2 code.
includestringComma-separated: parents, children, typology. Default parents,typology. Accepted: comma-separated subset of parents, children, typology.
levelRestrict a name search to one level, 0-3. Accepted: integer 0-3.
namestringSubstring search on region names, case- and accent-insensitive. Up to 25 matches. Accepted: at most 128 characters.

airport_lookup Airport lookup by IATA or ICAO code: name, coordinates, elevation, time zone; nearest airports

Airport lookup by IATA or ICAO code: get the airport's name, city, country, ISO 3166-2 region code, WGS-84 coordinates, elevation and IANA time zone, or find the nearest airports to a coordinate within a radius. Covers every airport worldwide that holds a three-letter IATA code and scheduled service. Returns the code type that matched and the distance in kilometres for proximity results. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
codestring3-letter IATA or 4-letter ICAO code, case-insensitive. Accepted: a 3-letter IATA or 4-letter ICAO code.
countrystringISO 3166-1 alpha-2 filter. Accepted: an ISO 3166-1 alpha-2 code.
limitMaximum results 1-25, default 5. Only with near. Accepted: integer 1-25.
nearstringlat,lon to search around. Accepted: lat,lon.
radius_kmnumber | stringSearch radius in km, 1-1000, default 100. Only with near. Accepted: number 1-1000.

currency_lookup Currency lookup: ISO 4217 codes, names, minor units and cash rounding

Currency lookup by ISO 4217 alphabetic or numeric code: the official English name, minor-unit exponent, fund flag, the smallest cash denomination where it differs from the minor unit, the territories that use it, and historic codes on request. Returns the correct rounding increment for cash amounts, which is what a caller needs to render or settle a price. This route returns currency facts only and never an exchange rate. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
codestringISO 4217 alpha-3 or 3-digit numeric code. Accepted: a 3-letter alphabetic or 3-digit numeric ISO 4217 code.
countrystringISO 3166-1 alpha-2; returns the currencies in use there. Accepted: an ISO 3166-1 alpha-2 code.
includestringComma-separated: territories, historic. Default none. Accepted: comma-separated subset of territories, historic.

country_lookup Country lookup: ISO 3166 codes, currency, TLD, UN region and ISO 3166-2 subdivisions

Country lookup: find a country or territory by ISO 3166-1 alpha-2, alpha-3 or numeric code, or by name, and get the other codes, the official and common English names, the UN M49 region and sub-region, the currencies in use, the country-code TLD, and optionally the full ISO 3166-2 subdivision list with each subdivision's type. Also resolves an ISO 3166-2 subdivision code such as NL-NH directly. Names are matched case- and accent-insensitively. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
codestringISO 3166-1 alpha-2, alpha-3 or numeric code, or an ISO 3166-2 subdivision code such as NL-NH. Accepted: ISO 3166-1 alpha-2/alpha-3/numeric, or an ISO 3166-2 subdivision code.
includestringComma-separated: subdivisions, m49, currency, tld. Default m49,currency,tld. Accepted: comma-separated subset of subdivisions, m49, currency, tld.
namestringSubstring search on country names, case- and accent-insensitive. Accepted: at most 128 characters.

base_convert Base converter: integers between number bases 2 to 36 (hex, binary, octal)

Base converter: convert an integer between any two numeric bases from 2 to 36 (hex, binary, octal and more), with arbitrary precision so values far beyond 2^53 are exact. Accepts an optional sign and common prefixes (0x, 0b, 0o), validates every digit against the source base, and returns the value in the target base, in decimal, and as its bit length and digit count. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
value *stringInteger to convert; optional sign and 0x/0b/0o prefix. Accepted: at most 1024 characters.
casestringDigit case for bases above 10: lower (default) or upper. Accepted: lower, upper.
fromstringSource base 2-36, or auto (default) to read a 0x/0b/0o prefix. Accepted: integer 2-36, or 'auto'.
prefixEmit 0x/0b/0o where conventional. Default false. Accepted: true or false.
toTarget base 2-36, default 10. Accepted: integer 2-36.

number_to_words Number to words in 12 languages, with ordinal and currency forms

Number to words: spell a number out in English, Dutch, German, French, Spanish, Italian, Portuguese, Polish, Russian, Turkish, Swedish or Japanese, in cardinal, ordinal or currency form. Currency form agrees the number with the currency noun and gives real minor-unit names for 19 currencies (EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, RUB, TRY, CNY, INR, BRL, MXN, CAD, AUD, NZD, CZK, HUF); any other ISO 4217 code uses a fraction such as 56/100. Values up to 10^15. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
value *stringInteger or decimal number, absolute value below 1e15, e.g. 1234 or 1234.56. Accepted: an integer or decimal number, absolute value below 1e15, e.g. 1234.
casestringlower (default), sentence or title. Accepted: lower, sentence, title.
currencystringISO 4217 code. Required when form=currency, rejected otherwise. Accepted: an ISO 4217 alpha-3 code.
formstringcardinal (default), ordinal, currency or year. Accepted: cardinal, ordinal, currency, year.
langstringLanguage, ISO 639-1. Default en. Accepted: en, nl, de, fr, es, it, pt, pl, ru, tr, sv, ja.

statistics_calculate Statistics calculator: mean, median, standard deviation, quartiles and percentiles

Statistics calculator for a numeric array in one call: count, sum, mean, median, mode, variance and standard deviation honouring ddof (default 1, the sample form; 0 gives the population form) plus always-population *_population fields, min, max, range, the quartiles and interquartile range, skewness, kurtosis, and any requested percentiles. Percentiles use a named interpolation method so the result is reproducible rather than implementation-defined. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
values *stringComma-separated finite numbers, at most 500 values. Accepted: comma-separated finite numbers.
ddofDelta degrees of freedom for variance/stdev: 1 (default, sample, n-1) or 0 (population, n). The *_population fields are always population. Accepted: integer 0-1.
methodstringPercentile interpolation (NumPy/R names): linear (default), nearest, lower, higher, midpoint. Accepted: linear, nearest, lower, higher, midpoint.
percentilesstringComma-separated percentiles 0-100, at most 20. Default 25,50,75. Accepted: numbers between 0 and 100.

money_split Money split: allocate an amount into shares with no rounding loss

Money split: split a money amount into shares without losing or inventing a cent. Divide evenly into N parts, or by a list of ratios, and the remainder is distributed one minor unit at a time by a named, deterministic rule — largest-remainder, first-wins or last-wins — so the parts always sum exactly to the original. Uses the ISO 4217 minor-unit exponent of the currency, so zero- and three-decimal currencies work (JPY 0, KWD 3); metals and XXX are rejected. Price: $0.05 per successful call, paid over x402 (USDC on Base).

ParameterTypeDescription
amount *stringDecimal amount, absolute value below 1e12. Accepted: a decimal amount with absolute value below 1e12.
currency *stringISO 4217 alpha-3 code. Accepted: an ISO 4217 alpha-3 code.
partsNumber of equal parts, 1-1000. One of parts or ratios. Accepted: integer 1-1000.
ratiosstringComma-separated non-negative ratios, at most 1000, each with at most 15 integer digits and 15 decimal places. One of parts or ratios. Accepted: comma-separated non-negative numbers, at most 1000.
rulestringRemainder rule: largest-remainder (default), first, last or round-robin. Accepted: largest-remainder, first, last, round-robin.