Duo Data Utilities
33 small data utilities for software agents and developers: identifiers, dates and zones, text, encodings, geodesy, blockchain primitives, reference tables and number arithmetic. Each call is a plain HTTP GET (or a POST with a JSON body) that costs $0.05 (USDC on Base, paid over x402). No account, no API key, no cookies. Try it from a terminal: npx agentcash try https://api.duoleads.com
Identifiers and check digits
/v1/id/nationalVAT number format and checksum (no VIES lookup), tax ID and national ID validator: 23 countries/v1/id/gs1EAN/UPC barcode validator: GTIN, EAN-13, UPC-A (GTIN-12), GTIN-8/14, GLN and SSCC check digits/v1/id/securityISIN validator plus CUSIP, SEDOL and FIGI check-digit validation; builds an ISIN from an NSIN/v1/id/ibanIBAN validator: length, mod-97 check digits, bank/branch/account breakdown (89 countries)/v1/id/iban-buildIBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits
Dates, times and zones
/v1/time/zoneTimezone converter: instant to local time in an IANA time zone and back, with UTC offset and DST state/v1/time/dstDST transitions: next daylight-saving time changes for an IANA time zone/v1/time/business-daysBusiness days calculator: add or count working days with your weekend mask and holiday list/v1/time/rruleRRULE expander: RFC 5545 recurrence rule to concrete occurrence dates/v1/time/calendarCalendar converter: Gregorian to Hijri, Hebrew, Japanese era, Persian and more, plus Easter date
Text and Unicode
/v1/text/slugSlug generator: Unicode-aware URL slug with transliteration/v1/text/transliterateCyrillic transliteration to Latin (ISO 9:1995, BGN/PCGN Russian)/v1/text/unicodeUnicode normalization (NFC/NFKC), script detection and homoglyph/confusable check/v1/text/similarityString similarity: Levenshtein, Jaro-Winkler distance and Soundex/Metaphone phonetic keys
Encoding, parsing and digests
/v1/code/urlURL parser: parse, canonicalize and extract the registrable domain (eTLD+1)/v1/code/idnPunycode converter: IDN domain to ASCII and back, with IDNA2008 label validation/v1/code/semverSemver parser: parse and compare versions, check range satisfaction/v1/code/hashSHA-256/HMAC hash generator: SHA-256, SHA-512, SHA-3, Keccak-256, BLAKE2 and HMAC digests/v1/code/jwtJWT decoder: header, claims and expiry state (no signature verification)
Geodesy and geometry
/v1/geo/geohashGeohash encoder and decoder with neighbour cells/v1/geo/pluscodePlus code (Open Location Code) encoder and decoder/v1/geo/polygonPoint in polygon check, plus bounding box, centroid and area for GeoJSON/v1/geo/distanceDistance calculator: geodesic distance, bearing and destination point on WGS-84
Blockchain primitives (no RPC)
/v1/chain/addressCrypto address validator: detect the blockchain and verify the checksum (EVM, Bitcoin, Solana and more)/v1/chain/selectorSolidity function selector: Keccak-256, 4-byte selector and event topic from a signature
Static reference tables
/v1/ref/nutsNUTS region lookup: EU statistical region codes, names and hierarchy/v1/ref/airportAirport lookup by IATA or ICAO code: name, coordinates, elevation, time zone; nearest airports/v1/ref/currencyCurrency lookup: ISO 4217 codes, names, minor units and cash rounding/v1/ref/countryCountry lookup: ISO 3166 codes, currency, TLD, UN region and ISO 3166-2 subdivisions
Numbers and money arithmetic
/v1/num/radixBase converter: integers between number bases 2 to 36 (hex, binary, octal)/v1/num/wordsNumber to words in 12 languages, with ordinal and currency forms/v1/num/statsStatistics calculator: mean, median, standard deviation, quartiles and percentiles/v1/num/allocateMoney split: allocate an amount into shares with no rounding loss