---
name: duo-data-utilities
description: "33 pay-per-call data utilities for agents (IBAN, ISIN, VAT and tax ID, barcodes, timezones, geo, hashing, chain and number tools), one HTTP call each, $0.05 a call over x402 (USDC on Base) at https://api.duoleads.com."
---

# Duo Data Utilities

Use this when a task needs a small, exact data utility: validate an IBAN, VAT number or ISIN, check a barcode, convert a timezone, encode a geohash, hash or decode a token. Every call is one HTTP GET (or a POST with the parameters as a JSON body), paid per call with x402 v2 (USDC on Base, eip155:8453). No account, no API key.

## Which route

| Need | Call | Price |
| --- | --- | --- |
| VAT number format and checksum (no VIES lookup), tax ID and national ID validator: 23 countries (Identifiers and check digits) | `GET https://api.duoleads.com/v1/id/national` (MCP `vat_tax_id_validate`) | $0.05 |
| EAN/UPC barcode validator: GTIN, EAN-13, UPC-A (GTIN-12), GTIN-8/14, GLN and SSCC check digits (Identifiers and check digits) | `GET https://api.duoleads.com/v1/id/gs1` (MCP `gtin_barcode_validate`) | $0.05 |
| ISIN validator plus CUSIP, SEDOL and FIGI check-digit validation; builds an ISIN from an NSIN (Identifiers and check digits) | `GET https://api.duoleads.com/v1/id/security` (MCP `isin_cusip_sedol_validate`) | $0.05 |
| IBAN validator: length, mod-97 check digits, bank/branch/account breakdown (89 countries) (Identifiers and check digits) | `GET https://api.duoleads.com/v1/id/iban` (MCP `iban_validate`) | $0.05 |
| IBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits (Identifiers and check digits) | `GET https://api.duoleads.com/v1/id/iban-build` (MCP `iban_generate`) | $0.05 |
| Timezone converter: instant to local time in an IANA time zone and back, with UTC offset and DST state (Dates, times and zones) | `GET https://api.duoleads.com/v1/time/zone` (MCP `timezone_convert`) | $0.05 |
| DST transitions: next daylight-saving time changes for an IANA time zone (Dates, times and zones) | `GET https://api.duoleads.com/v1/time/dst` (MCP `dst_transitions`) | $0.05 |
| Business days calculator: add or count working days with your weekend mask and holiday list (Dates, times and zones) | `GET https://api.duoleads.com/v1/time/business-days` (MCP `business_days_calculate`) | $0.05 |
| RRULE expander: RFC 5545 recurrence rule to concrete occurrence dates (Dates, times and zones) | `GET https://api.duoleads.com/v1/time/rrule` (MCP `rrule_expand`) | $0.05 |
| Calendar converter: Gregorian to Hijri, Hebrew, Japanese era, Persian and more, plus Easter date (Dates, times and zones) | `GET https://api.duoleads.com/v1/time/calendar` (MCP `calendar_convert`) | $0.05 |
| Slug generator: Unicode-aware URL slug with transliteration (Text and Unicode) | `GET https://api.duoleads.com/v1/text/slug` (MCP `slug_generate`) | $0.05 |
| Cyrillic transliteration to Latin (ISO 9:1995, BGN/PCGN Russian) (Text and Unicode) | `GET https://api.duoleads.com/v1/text/transliterate` (MCP `cyrillic_transliterate`) | $0.05 |
| Unicode normalization (NFC/NFKC), script detection and homoglyph/confusable check (Text and Unicode) | `GET https://api.duoleads.com/v1/text/unicode` (MCP `unicode_confusables_check`) | $0.05 |
| String similarity: Levenshtein, Jaro-Winkler distance and Soundex/Metaphone phonetic keys (Text and Unicode) | `GET https://api.duoleads.com/v1/text/similarity` (MCP `string_similarity`) | $0.05 |
| URL parser: parse, canonicalize and extract the registrable domain (eTLD+1) (Encoding, parsing and digests) | `GET https://api.duoleads.com/v1/code/url` (MCP `url_parse`) | $0.05 |
| Punycode converter: IDN domain to ASCII and back, with IDNA2008 label validation (Encoding, parsing and digests) | `GET https://api.duoleads.com/v1/code/idn` (MCP `punycode_convert`) | $0.05 |
| Semver parser: parse and compare versions, check range satisfaction (Encoding, parsing and digests) | `GET https://api.duoleads.com/v1/code/semver` (MCP `semver_compare`) | $0.05 |
| SHA-256/HMAC hash generator: SHA-256, SHA-512, SHA-3, Keccak-256, BLAKE2 and HMAC digests (Encoding, parsing and digests) | `GET https://api.duoleads.com/v1/code/hash` (MCP `hash_generate`) | $0.05 |
| JWT decoder: header, claims and expiry state (no signature verification) (Encoding, parsing and digests) | `GET https://api.duoleads.com/v1/code/jwt` (MCP `jwt_decode`) | $0.05 |
| Geohash encoder and decoder with neighbour cells (Geodesy and geometry) | `GET https://api.duoleads.com/v1/geo/geohash` (MCP `geohash_encode_decode`) | $0.05 |
| Plus code (Open Location Code) encoder and decoder (Geodesy and geometry) | `GET https://api.duoleads.com/v1/geo/pluscode` (MCP `plus_code_encode_decode`) | $0.05 |
| Point in polygon check, plus bounding box, centroid and area for GeoJSON (Geodesy and geometry) | `GET https://api.duoleads.com/v1/geo/polygon` (MCP `point_in_polygon`) | $0.05 |
| Distance calculator: geodesic distance, bearing and destination point on WGS-84 (Geodesy and geometry) | `GET https://api.duoleads.com/v1/geo/distance` (MCP `geo_distance`) | $0.05 |
| Crypto address validator: detect the blockchain and verify the checksum (EVM, Bitcoin, Solana and more) (Blockchain primitives (no RPC)) | `GET https://api.duoleads.com/v1/chain/address` (MCP `crypto_address_validate`) | $0.05 |
| Solidity function selector: Keccak-256, 4-byte selector and event topic from a signature (Blockchain primitives (no RPC)) | `GET https://api.duoleads.com/v1/chain/selector` (MCP `solidity_function_selector`) | $0.05 |
| NUTS region lookup: EU statistical region codes, names and hierarchy (Static reference tables) | `GET https://api.duoleads.com/v1/ref/nuts` (MCP `nuts_region_lookup`) | $0.05 |
| Airport lookup by IATA or ICAO code: name, coordinates, elevation, time zone; nearest airports (Static reference tables) | `GET https://api.duoleads.com/v1/ref/airport` (MCP `airport_lookup`) | $0.05 |
| Currency lookup: ISO 4217 codes, names, minor units and cash rounding (Static reference tables) | `GET https://api.duoleads.com/v1/ref/currency` (MCP `currency_lookup`) | $0.05 |
| Country lookup: ISO 3166 codes, currency, TLD, UN region and ISO 3166-2 subdivisions (Static reference tables) | `GET https://api.duoleads.com/v1/ref/country` (MCP `country_lookup`) | $0.05 |
| Base converter: integers between number bases 2 to 36 (hex, binary, octal) (Numbers and money arithmetic) | `GET https://api.duoleads.com/v1/num/radix` (MCP `base_convert`) | $0.05 |
| Number to words in 12 languages, with ordinal and currency forms (Numbers and money arithmetic) | `GET https://api.duoleads.com/v1/num/words` (MCP `number_to_words`) | $0.05 |
| Statistics calculator: mean, median, standard deviation, quartiles and percentiles (Numbers and money arithmetic) | `GET https://api.duoleads.com/v1/num/stats` (MCP `statistics_calculate`) | $0.05 |
| Money split: allocate an amount into shares with no rounding loss (Numbers and money arithmetic) | `GET https://api.duoleads.com/v1/num/allocate` (MCP `money_split`) | $0.05 |

## Example

```
curl -i 'https://api.duoleads.com/v1/id/national?country=NL&kind=bsn&value=111222333'
```

Every 200 answer is `{ok, route, version, data, meta}`. The free catalogue `https://api.duoleads.com/v1/manifest` lists every parameter and an example per route.

## Paying

Every route is paid per call over x402 v2: HTTP 402 plus USDC on Base (CAIP-2 eip155:8453). An unpaid request returns 402 with a base64 `PAYMENT-REQUIRED` header describing the price. Sign an EIP-3009 authorization for that amount and retry the same request with a base64 `PAYMENT-SIGNATURE` header; the 200 response carries a base64 `PAYMENT-RESPONSE` settlement receipt. Requests that are malformed (400), unknown (404), sent with the wrong method (405) or too large (413) are rejected before the paywall and are never charged.

1. Send the request without payment: you get 402 and a base64 `PAYMENT-REQUIRED` header.
2. Sign `accepts[0]` (EIP-3009 transferWithAuthorization for exactly the amount, to payTo, USDC on Base) with an x402 client (`@x402/fetch`, `x402-axios`, the Python `x402` package).
3. Resend the same request with the base64 `PAYMENT-SIGNATURE` header. The 200 carries a `PAYMENT-RESPONSE` receipt.

Errors are `{ok:false, error:{code, param, message, expected}}`; bad input (400), unknown paths (404), the wrong method (405) and oversized input (413) are never charged.

Try it from a terminal: `npx agentcash try https://api.duoleads.com`

Most paid answers take 1-5 s, some up to about 20 s: give your HTTP client a timeout of at least 30 s. The payment settles only after the answer is ready, so a call that fails before that is never charged.

## MCP and A2A

`https://api.duoleads.com/mcp` (Streamable HTTP): tools/list is free; tools/call is paid with `_meta["x402/payment"]`. A2A: `https://api.duoleads.com/a2a`.

Docs: https://api.duoleads.com/docs · OpenAPI: https://api.duoleads.com/openapi.json · Terms: https://api.duoleads.com/terms

Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms

## Also from this operator

Same operator, same x402 payment (USDC on Base), no account:

- [https://keywords.duoleads.com](https://keywords.duoleads.com/llms.txt): SEO and keyword data, 44 routes: keyword research, Google Trends, domains and rankings, backlinks, SERP incl. Google, Bing, YouTube and Maps, on-page audits, Amazon, $0.012-$0.25 a call
- [https://derivs.duoleads.com](https://derivs.duoleads.com/llms.txt): crypto derivatives: perp funding rates, open interest, basis, liquidations, order books, $0.003-$0.005 a call
