Duo Data Utilities: IBAN, VAT, ISIN Validation API

com.duoleads.api由 api.duoleads.com 发布官方发布者v1.1.0更新于 Nov 11, 2026

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

已验证Streamable HTTP可网页运行位置与生活金融开发者工具

概览

AI 生成的概览

远程 MCP 服务器,提供 33 个精确数据工具:IBAN、增值税/税号、ISIN、GTIN 校验,以及时区、地理、文本、哈希和数字工具,按次付费。

可以做什么
  • 校验与生成标识符:IBAN、增值税/税号与国民身份号、ISIN/CUSIP/SEDOL、GTIN 条码、加密地址、Solidity 选择器
  • 处理日期与时间:时区换算、夏令时切换、工作日计算、RRULE 展开、历法转换
  • 处理文本与代码字符串:slug 生成、西里尔字母转写、Unicode 易混字符检查、字符串相似度、URL 与 punycode 解析、语义化版本、哈希、JWT 解码
  • 计算地理与参考数据:geohash、Plus Code、点在多边形内、距离、机场、国家、货币、NUTS 区域
  • 数字运算:进制转换、数字转文字、统计量、精确分摊金额
适用场景
适合需要确定性、校验位级别答案而非猜测的场景:核对付款或供应商信息、规范化标识符、跨时区换算时间,或在流程中做小型数值与文本计算。
运行要求
远程 Streamable HTTP 端点,无需 API 密钥或注册。每次工具调用通过 x402 v2 以 Base 上的 USDC 付费,因此客户端需要支持 x402 的 MCP 客户端或可签名付款的钱包;tools/list 免费。
安装前请注意
每次 tools/call 花费 0.05 美元等值 USDC(Base 网络),代理循环调用会真实花钱;客户端侧涉及用于签名的钱包私钥。校验仅限结构与校验位,不确认账户、公司或登记是否真实存在。JWT 解码不验证签名。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Duo Data Utilities: IBAN, VAT, ISIN Validation API,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.duoleads.api%2Fdata-utilities/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "duo-data-utilities-iban-vat-isin-validat": {
      "type": "http",
      "url": "https://api.duoleads.com/mcp"
    }
  }
}

README

IBAN, ISIN, VAT/tax ID and GTIN barcode validation plus 29 more utilities for AI agents. Pay per call ($0.05 USDC on Base via x402), no API key, no signup.

Timezone and DST, geo distance and geohash, hashes and JWT decoding, airport, country, currency and NUTS lookups, money split, base conversion and more. Every call is one HTTP GET, paid per request.

Also crypto derivatives data for trading agents: perp funding rates, funding arbitrage, open interest, futures basis, implied volatility, liquidations and order book depth across Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit and OKX, at $0.003 or $0.005 per call (below).

Also SEO and keyword data: Google search volume, CPC, keyword difficulty, keyword ideas, Google Trends, SERP results, backlinks, domain rankings, keyword gap, on-page audits and more, 44 routes at $0.012 to $0.25 (below). And social media data for social listening: public posts, profiles, comments and search on X (Twitter), Reddit, TikTok, Instagram, YouTube, LinkedIn, Bluesky and Hacker News, 26 routes at $0.01 to $0.025 (below).

Only need one service? The same clients ship as small standalone packages: x402-seo-keyword-data, x402-crypto-derivatives-data and x402-social-media-data.

Install

sh
npm install duo-data-utilities viem

viem creates the wallet account that pays. This package also depends on it. Node.js 20 or later.

Python (all four services; or one service: pip install x402-seo-keyword-data, x402-crypto-derivatives-data or x402-social-media-data):

sh
pip install duo-data-utilities

Quick start

ts
import { privateKeyToAccount } from "viem/accounts";import { createClient } from "duo-data-utilities";
// Your wallet holds USDC on Base. Read the key from the environment, never a literal.const client = createClient({ account: privateKeyToAccount(process.env.DUO_PAYER_KEY as `0x${string}`) });
const iban = await client.iban.validate({ iban: "NL91 ABNA 0417 1643 00" }); // $0.05console.log(iban.valid, iban.country); // true NL

Counterparty check

checkCounterparty runs three checks in one call: IBAN (/v1/id/iban), tax ID (/v1/id/national) and country (/v1/ref/country). It costs $0.15.

ts
const check = await client.checkCounterparty({  iban: "NL91 ABNA 0417 1643 00",  country: "NL",  taxIdType: "bsn",  taxId: "111222333",});console.log(check.verdict, check.reasons); // "pass", "fail" or "review"
  • fail: the IBAN or the tax ID fails its checksum, the country is not an ISO 3166-1 country, or the API rejects an input as malformed.
  • review: the IBAN country differs from the tax ID country, or the API does not cover that country or tax ID kind.
  • pass: every check passed.

Structure and checksum only. The check does not query a company register, a bank or a tax authority, and it does not confirm that an account exists. UK is read as GB.

Crypto derivatives data: perp funding rates, open interest, futures basis, implied volatility, liquidations, order book depth

client.derivs calls https://derivs.duoleads.com: crypto derivatives data from 8 exchanges (Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, OKX) for trading agents and bots. Perpetual futures (perp) funding rates with predicted funding, funding rate history and a funding arbitrage scanner, a perp screener, open interest (OI), futures basis and term structure, options implied volatility (IV), skew and max pain, liquidations, and order book depth with slippage. $0.003 or $0.005 per call, same wallet, same x402 payment, no API key.

ts
import { privateKeyToAccount } from "viem/accounts";import { createClient, createDerivsClient } from "duo-data-utilities";
const account = privateKeyToAccount(process.env.DUO_PAYER_KEY as `0x${string}`);const client = createClient({ account });
const funding = await client.derivs.fundingRates({ coin: "BTC" }); // $0.003for (const v of funding.venues) console.log(v.venue, v.apr_pct, v.next_funding_time);
const arb = await client.derivs.fundingArbitrage({ min_apr: 20, min_volume_usd: 1_000_000 }); // $0.005, all coinsconst snap = await client.derivs.derivativesSnapshot({ coin: "ETH" }); // $0.005: funding, OI, basis, liquidations, long/short
// Or a derivs-only client:const derivs = createDerivsClient({ account });await derivs.openInterest({ coin: "SOL" }); // $0.003
python
import os
from eth_account import Accountfrom duo_data_utilities import DerivsClient, DuoClient
client = DuoClient(Account.from_key(os.environ["DUO_PAYER_KEY"]))rates = client.derivs.funding_rates(coin="BTC")               # $0.003book = client.derivs.orderbook(coin="BTC", size_usd=250_000)  # $0.003derivs = DerivsClient(Account.from_key(os.environ["DUO_PAYER_KEY"]))  # derivs only
  • Price guard: client.derivs has its own cap. By default each route is capped at its own listed price ($0.003 or $0.005), so a challenge above it is refused. createClient({ account, derivs: { maxPriceUsd: 0.003 } }) sets one cap for every route and refuses the $0.005 routes (Python: derivs_max_price_usd=0.003). The other rules are the same: Base USDC only, only to 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39, nothing is signed before the check.
  • Not charged: bad input is a free 400 with error.expected. When fewer venues answer than the route needs, the answer is a 503 and nothing is charged. Both throw DuoApiError.
  • Answers are the JSON body itself (no data envelope), with venues_missing, units, as_of and a see_also pointer to the next useful route. TypeScript types: DerivsFundingRatesData and so on.
  • Coins: BTC, btc, BTCUSDT, BTC-PERP, XBT, 1000PEPE and kPEPE all name a coin.
  • MCP: the same 10 tools at https://derivs.duoleads.com/mcp. Snippets for Claude Code, Claude Desktop, Cursor and VS Code: mcp/README.md.
  • Data only, not investment advice, not affiliated with any exchange.
TypeScriptPythonRoutePriceWhat it returns
derivs.fundingRatesderivs.funding_rates/v1/funding-rates$0.003Perp funding rates per exchange for one coin: rate, 8h rate, APR, next funding, predicted funding (incl. Binance and Bybit, as Hyperliquid publishes it), last 24 prints
derivs.fundingHistoryderivs.funding_history/v1/funding-history$0.003Funding rate history of one coin on one exchange, up to 30 days, with avg/min/max/% positive
derivs.fundingArbitragederivs.funding_arbitrage/v1/funding-arbitrage$0.005Funding arbitrage scanner for all coins: widest cross-venue spread, long and short venue, fee-adjusted net APR, breakeven days
derivs.perpScreenerderivs.perp_screener/v1/perp-screener$0.005Perp screener: every perpetual across venues, sorted by funding APR, open interest, 24h volume or 24h change
derivs.openInterestderivs.open_interest/v1/open-interest$0.003Open interest (OI) per exchange in coins and USD, share, and 1h/4h/24h OI change
derivs.basisderivs.basis/v1/basis$0.003Futures basis and term structure (annualised, contango/backwardation), perp premium, predicted funding
derivs.optionsderivs.options/v1/options$0.003Implied volatility (ATM IV), 25-delta skew, put/call OI ratio, max pain, DVOL; options chain with greeks for one expiry
derivs.liquidationsderivs.liquidations/v1/liquidations$0.003Long and short liquidations in USD per venue over 1-24h, totals and the largest events
derivs.orderbookderivs.orderbook/v1/orderbook$0.003Order book depth within 0.1/0.5/1/2% of mid, spread, imbalance, slippage for your order size, walls
derivs.derivativesSnapshotderivs.derivatives_snapshot/v1/derivatives-snapshot$0.005One-call snapshot: funding, open interest, perp premium and nearest basis, 24h liquidations, long/short ratio

Derivs docs: https://derivs.duoleads.com/docs · OpenAPI: https://derivs.duoleads.com/openapi.json · Index: https://derivs.duoleads.com/llms.txt · Terms: https://derivs.duoleads.com/terms · Privacy: https://derivs.duoleads.com/privacy

SEO and keyword data: search volume, CPC, keyword difficulty, Google Trends, SERP, backlinks

client.keywords calls https://keywords.duoleads.com, 44 routes. Keyword research: Google search volume, CPC, competition, keyword difficulty and search intent (Google Ads data), keyword ideas, related keywords, variations and volume history. Google Trends. Domains and rankings: domain overview, traffic estimate, ranked keywords, competitors, keyword gap, SERP competitors, historical rank. Backlinks: summary, list, referring domains, anchors, history. Site tools: on-page audit and PageSpeed. Amazon keywords and search. Google, Bing, YouTube and Maps results, SERP history and business listings. Brand mentions and AI-answer (LLM) mentions, tech stack and WHOIS. Calls cost $0.012 to $0.25 each and use the same wallet and the same x402 payment, with no API key.

ts
const volume = await client.keywords.searchVolume({ keywords: ["phone", "watch"], country: "us" }); // $0.04, up to 20 keywordsconst overview = await client.keywords.keywordOverview({ keywords: myList });                        // $0.04, up to 100 keywords (POST)const ideas = await client.keywords.keywordIdeas({ keyword: "seo api", limit: 50 });                 // $0.04 (POST)const trend = await client.keywords.trend({ keyword: "seo tools", timeframe: "past_12_months" });    // $0.045const gap = await client.keywords.keywordGap({ domain: "example.com", competitor: "example.org" });  // $0.048const serp = await client.keywords.serp({ q: "coffee maker", country: "us" });                       // $0.018const links = await client.keywords.backlinks({ target: "example.com" });                            // $0.048
// Or a keywords-only client (also published alone as x402-seo-keyword-data):const keywords = createKeywordsClient({ account });await keywords.relatedQueries({ keyword: "seo api", country: "us" }); // $0.03
  • Price guard: client.keywords has its own cap. By default each of the 44 routes is capped at its own listed price, so a challenge above it is refused. createClient({ account, keywords: { maxPriceUsd: 0.04 } }) sets one cap for every route (that one refuses trend and every route above $0.04). The other rules are the same: Base USDC only, only to 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39, and nothing is signed before the check.
  • Methods: each route has its own HTTP method (most are POST with a JSON body); the client picks it. SEO_KEYWORD_ROUTES lists all 44 with method, price and MCP tool.
  • Errors: a bad input is a free 400. An upstream failure is a 503 with "nothing was charged". Both throw DuoApiError.
  • MCP: the same 44 tools are at https://keywords.duoleads.com/mcp.
MethodRoutePriceMCP toolWhat it returns
keywords.keywordOverviewPOST /v1/keyword-overview$0.04keyword_overviewKeyword overview (up to 100 keywords)
keywords.searchVolumeGET /v1/search-volume$0.04keyword_search_volumeSearch volume (GET, up to 20 keywords)
keywords.keywordIdeasPOST /v1/keyword-ideas$0.04keyword_ideasKeyword ideas (up to 100 per seed)
keywords.trendGET /v1/trend$0.045google_trendsGoogle Trends interest over time
keywords.relatedQueriesGET /v1/related-queries$0.03google_trends_related_queriesGoogle Trends related queries
keywords.interestByRegionGET /v1/interest-by-region$0.03google_trends_by_regionGoogle Trends interest by region
keywords.relatedKeywordsPOST /v1/related-keywords$0.04related_keywordsRelated keywords (up to 100, depth 0-4)
keywords.keywordVariationsPOST /v1/keyword-variations$0.04keyword_variationsKeyword variations containing a phrase (up to 100)
keywords.keywordDifficultyPOST /v1/keyword-difficulty$0.04keyword_difficultyKeyword difficulty (up to 100 keywords)
keywords.searchIntentPOST /v1/search-intent$0.04search_intentSearch intent (up to 100 keywords)
keywords.keywordVolumeHistoryPOST /v1/keyword-volume-history$0.048keyword_volume_historyMonthly search volume history (up to 20 keywords)
keywords.keywordSuggestionsPOST /v1/keyword-suggestions$0.04keywords_for_siteKeywords for a site or page (up to 100)
keywords.trendsPOST /v1/trends$0.045google_trends_compareGoogle Trends comparison (up to 5 keywords)
keywords.domainOverviewPOST /v1/domain-overview$0.04domain_overviewDomain overview (organic and paid visibility)
keywords.trafficEstimatePOST /v1/traffic-estimate$0.04traffic_estimateTraffic estimate (up to 100 domains)
keywords.rankedKeywordsPOST /v1/ranked-keywords$0.048ranked_keywordsRanked keywords of a domain (up to 100)
keywords.competitorsPOST /v1/competitors$0.048competitor_domainsCompetitor domains (up to 100)
keywords.keywordGapPOST /v1/keyword-gap$0.048keyword_gapKeyword gap: competitor-only keywords (up to 100)
keywords.serpCompetitorsPOST /v1/serp-competitors$0.048serp_competitorsDomains ranking for a keyword set (up to 100)
keywords.relevantPagesPOST /v1/relevant-pages$0.048relevant_pagesTop pages of a domain (up to 100)
keywords.historicalRankPOST /v1/historical-rank$0.25historical_rankMonthly rank history of a domain (24 months)
keywords.pageIntersectionPOST /v1/page-intersection$0.048page_intersectionKeywords shared by pages (up to 20 pages)
keywords.backlinksPOST /v1/backlinks$0.048backlinks_summaryBacklink profile summary
keywords.backlinksListPOST /v1/backlinks-list$0.048backlinks_listBacklinks list (up to 100)
keywords.referringDomainsPOST /v1/referring-domains$0.048referring_domainsReferring domains (up to 100)
keywords.backlinkAnchorsPOST /v1/backlink-anchors$0.048backlink_anchorsBacklink anchor texts (up to 100)
keywords.backlinksHistoryPOST /v1/backlinks-history$0.048backlinks_historyBacklink profile history (up to 24 months)
keywords.onPagePOST /v1/on-page$0.012on_page_auditOn-page SEO audit of a URL
keywords.pagespeedPOST /v1/pagespeed$0.018pagespeedPage speed (Lighthouse Core Web Vitals)
keywords.amazonKeywordsPOST /v1/amazon-keywords$0.04amazon_keywordsAmazon keyword ideas and volume
keywords.amazonSearchPOST /v1/amazon-search$0.012amazon_searchAmazon search results (products)
keywords.serpGET /v1/serp$0.018google_searchGoogle search results (10, 20 or 50)
keywords.mapsSearchGET /v1/maps-search$0.018google_maps_searchGoogle Maps places (up to 100)
keywords.serpHistoryPOST /v1/serp-history$0.018serp_historyGoogle results-page history (one past snapshot)
keywords.businessListingsPOST /v1/business-listings$0.08business_listingsBusiness listings by name or category (up to 50)
keywords.autocompleteGET /v1/autocomplete$0.012google_autocompleteGoogle autocomplete suggestions
keywords.bingSerpGET /v1/bing-serp$0.018bing_searchBing search results (10, 20 or 50)
keywords.youtubeSearchGET /v1/youtube-search$0.012youtube_searchYouTube search results (20 or 40)
keywords.googleAdsKeywordsPOST /v1/google-ads-keywords$0.16google_ads_keywordsGoogle Ads keyword ideas (up to 100)
keywords.clickstreamSearchVolumePOST /v1/clickstream-search-volume$0.04clickstream_search_volumeClickstream search volume (up to 100 keywords)
keywords.brandMentionsPOST /v1/brand-mentions$0.048brand_mentionsBrand mentions on the web (up to 100)
keywords.techStackPOST /v1/tech-stack$0.024tech_stackWebsite technology stack
keywords.whoisPOST /v1/whois$0.21whois_overviewWHOIS overview of a domain
keywords.llmMentionsPOST /v1/llm-mentions$0.21llm_mentionsAI answers mentioning a keyword (up to 20)

Python: the same 44 routes, in snake_case, on DuoClient(account).keywords or KeywordsClient(account) (also published alone on PyPI as x402-seo-keyword-data). Parameters keep their API names:

python
volume = client.keywords.search_volume(keywords=["phone", "watch"], country="us")  # $0.04 (GET)gap = client.keywords.keyword_gap(domain="example.com", competitor="example.org")   # $0.048 (POST, JSON body)

Keyword docs: https://keywords.duoleads.com/docs · OpenAPI: https://keywords.duoleads.com/openapi.json · Index: https://keywords.duoleads.com/llms.txt · Terms: https://keywords.duoleads.com/terms · Privacy: https://keywords.duoleads.com/privacy

Social media data: X (Twitter), Reddit, TikTok, Instagram, YouTube, LinkedIn, Bluesky, Hacker News

client.social calls https://social.duoleads.com, 26 routes for social listening and research: public posts, profiles, comments and search on X (Twitter), Reddit, TikTok, Instagram, YouTube (also transcripts), Threads, Facebook ads, LinkedIn, Bluesky and Hacker News, cross-platform search and mentions, in one shared answer schema. Calls cost $0.01 to $0.025 each, same wallet, same x402 payment, no API key.

ts
const posts = await client.social.blueskySearch({ q: "open source", limit: 10 }); // $0.01const tweets = await client.social.xSearch({ q: "nasa" });                        // $0.02const all = await client.social.socialSearch({ q: "open source" });              // $0.025, several platforms at once
// Or a social-only client (also published alone as x402-social-media-data):const social = createSocialClient({ account });await social.hackernewsSearch({ q: "x402" }); // $0.01
  • Price guard: by default each route is capped at its own listed price; maxPriceUsd sets one cap for every route.
  • Errors: a bad input is a free 400; not found or no match is not charged. Both throw DuoApiError.
  • Responsible use: answers are third parties' public data. Read the service's terms and privacy notice; do not use the data to profile, target or train AI on individuals.
  • MCP: the same 26 tools are at https://social.duoleads.com/mcp.
MethodRoutePriceMCP toolWhat it returns
social.blueskySearchGET /v1/bluesky/search$0.01bluesky_searchBluesky post search
social.blueskyPostsGET /v1/bluesky/posts$0.01bluesky_postsBluesky account feed
social.blueskyProfileGET /v1/bluesky/profile$0.01bluesky_profileBluesky profile
social.hackernewsSearchGET /v1/hackernews/search$0.01hackernews_searchHacker News search
social.hackernewsThreadGET /v1/hackernews/thread$0.01hackernews_threadHacker News thread
social.socialMentionsGET /v1/social/mentions$0.01social_mentionsSocial mentions and sentiment (aggregate)
social.xSearchGET /v1/x/search$0.02x_searchX (Twitter) post search
social.xPostsGET /v1/x/posts$0.02x_postsX (Twitter) user timeline
social.xProfileGET /v1/x/profile$0.02x_profileX (Twitter) profile
social.redditSearchGET /v1/reddit/search$0.02reddit_searchReddit post search
social.redditCommentsGET /v1/reddit/comments$0.02reddit_commentsReddit post comments
social.tiktokVideosGET /v1/tiktok/videos$0.02tiktok_videosTikTok account videos
social.tiktokSearchGET /v1/tiktok/search$0.02tiktok_searchTikTok video search
social.instagramProfileGET /v1/instagram/profile$0.02instagram_profileInstagram profile and posts
social.youtubeTranscriptGET /v1/youtube/transcript$0.02youtube_transcriptYouTube transcript
social.youtubeCommentsGET /v1/youtube/comments$0.02youtube_commentsYouTube video comments
social.threadsPostsGET /v1/threads/posts$0.02threads_postsThreads account posts
social.facebookAdsGET /v1/facebook/ads$0.02facebook_adsMeta Ad Library search
social.socialSearchGET /v1/social/search$0.025social_searchSocial search on X, Reddit and TikTok
social.socialAudienceGET /v1/social/audience$0.02social_audienceAudience and engagement stats
social.socialAccountsGET /v1/social/accounts$0.02social_accountsCreator and brand account search
social.linkedinCompanyGET /v1/linkedin/company$0.02linkedin_companyLinkedIn company page
social.socialPeopleGET /v1/social/people$0.02people_searchProfile search (TikTok, Instagram, Threads)
social.tiktokFollowersGET /v1/tiktok/followers$0.02tiktok_followersTikTok followers list
social.tiktokFollowingGET /v1/tiktok/following$0.02tiktok_followingTikTok following list
social.linkedinProfileGET /v1/linkedin/profile$0.02linkedin_profileLinkedIn profile

Python: the same 26 routes, in snake_case, on DuoClient(account).social or SocialClient(account) (also published alone on PyPI as x402-social-media-data):

python
posts = client.social.bluesky_search(q="open source", limit=10)  # $0.01tweets = client.social.x_search(q="nasa")                        # $0.02

Social docs: https://social.duoleads.com/docs · OpenAPI: https://social.duoleads.com/openapi.json · Index: https://social.duoleads.com/llms.txt · Terms: https://social.duoleads.com/terms · Privacy: https://social.duoleads.com/privacy

Methods

Every method costs $0.05 per call. Each method's JSDoc gives the route and the parameters. client.call(path, params) calls any route, and client.callWithReceipt(path, params) also returns the settlement receipt.

MethodRouteWhat it does
iban.validate/v1/id/ibanIBAN validator: length, mod-97 check digits, bank/branch/account breakdown (89 countries)
iban.generate/v1/id/iban-buildIBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits
taxId.validate/v1/id/nationalVAT, tax ID and national ID validator: 23 countries, checksum only (VAT formats BE, DE, FR, IT, PL, AT, CH, IE)
isin.validate/v1/id/securityISIN validator plus CUSIP, SEDOL and FIGI check-digit validation; builds an ISIN from an NSIN
barcode.validate/v1/id/gs1GTIN barcode validator: EAN-13, UPC-A (GTIN-12), GTIN-8/14, GLN and SSCC check digits
timezone.convert/v1/time/zoneTimezone converter: instant to local time in an IANA time zone and back, with UTC offset and DST state
timezone.dstTransitions/v1/time/dstDST transitions: next daylight-saving time changes for an IANA time zone
businessDays.calculate/v1/time/business-daysBusiness days calculator: add or count working days with your weekend mask and holiday list
rrule.expand/v1/time/rruleRRULE expander: RFC 5545 recurrence rule to concrete occurrence dates
calendar.convert/v1/time/calendarCalendar converter: Gregorian to Hijri, Hebrew, Japanese era, Persian and more, plus Easter date
text.similarity/v1/text/similarityString similarity: Levenshtein, Jaro-Winkler distance and Soundex/Metaphone phonetic keys
text.slug/v1/text/slugSlug generator: Unicode-aware URL slug with transliteration
text.transliterate/v1/text/transliterateCyrillic transliteration to Latin (ISO 9:1995, BGN/PCGN Russian)
text.unicode/v1/text/unicodeUnicode normalization (NFC/NFKC), script detection and homoglyph/confusable check
hash.generate/v1/code/hashHash generator: SHA-256, SHA-512, SHA-3, Keccak-256, BLAKE2 and HMAC digests
punycode.convert/v1/code/idnPunycode converter: IDN domain to ASCII and back, with IDNA2008 label validation
jwt.decode/v1/code/jwtJWT decoder: header, claims and expiry state (no signature verification)
semver.compare/v1/code/semverSemver parser: parse and compare versions, check range satisfaction
url.parse/v1/code/urlURL parser: parse, canonicalize and extract the registrable domain (eTLD+1)
geohash.encodeDecode/v1/geo/geohashGeohash encoder and decoder with neighbour cells
plusCode.encodeDecode/v1/geo/pluscodePlus code (Open Location Code) encoder and decoder
polygon.check/v1/geo/polygonPoint in polygon check, plus bounding box, centroid and area for GeoJSON
distance.calculate/v1/geo/distanceDistance calculator: geodesic distance, bearing and destination point on WGS-84
cryptoAddress.validate/v1/chain/addressCrypto address validator: detect the blockchain and verify the checksum (EVM, Bitcoin, Solana and more)
solidity.selector/v1/chain/selectorSolidity function selector: Keccak-256, 4-byte selector and event topic from a signature
airport.lookup/v1/ref/airportAirport lookup by IATA or ICAO code: name, coordinates, elevation, time zone; nearest airports
country.lookup/v1/ref/countryCountry lookup: ISO 3166 codes, currency, TLD, UN region and ISO 3166-2 subdivisions
currency.lookup/v1/ref/currencyCurrency lookup: ISO 4217 codes, names, minor units and cash rounding
nuts.lookup/v1/ref/nutsNUTS region lookup: EU statistical region codes, names and hierarchy
money.split/v1/num/allocateMoney split: allocate an amount into shares with no rounding loss
base.convert/v1/num/radixBase converter: integers between number bases 2 to 36 (hex, binary, octal)
statistics.calculate/v1/num/statsStatistics calculator: mean, median, standard deviation, quartiles and percentiles
numberWords.convert/v1/num/wordsNumber to words in 12 languages, with ordinal and currency forms

MCP

The MCP server is at https://api.duoleads.com/mcp (Streamable HTTP). tools/list is free. Each tools/call costs $0.05 and needs an x402-capable client or wallet bridge. The derivatives tools are a second server at https://derivs.duoleads.com/mcp ($0.003 or $0.005 per call), the keyword tools a third at https://keywords.duoleads.com/mcp ($0.012 to $0.25) and the social tools a fourth at https://social.duoleads.com/mcp ($0.01 to $0.025). See mcp/README.md for Claude Code, Claude Desktop, Cursor, VS Code and AgentCash.

Python

Python 3.10 or later. The client is typed (py.typed) and uses requests with x402's EVM signer. Routes and method names match the TypeScript client, in snake_case. The Python client covers all four services: client.derivs, client.keywords and client.social share the wallet of DuoClient, and DerivsClient, KeywordsClient and SocialClient work on their own. Each per-service client is also published alone on PyPI (x402-crypto-derivatives-data, x402-seo-keyword-data, x402-social-media-data), standalone like the npm packages.

python
import os
from eth_account import Accountfrom duo_data_utilities import DuoClient
client = DuoClient(Account.from_key(os.environ["DUO_PAYER_KEY"]))  # your wallet, never a literal keyprint(client.iban.validate(iban="NL91 ABNA 0417 1643 00")["valid"])
check = client.check_counterparty(iban="NL91 ABNA 0417 1643 00", country="NL", tax_id_type="bsn", tax_id="111222333")print(check.verdict, check.reasons)

DuoClient(account, *, max_price_usd=0.05, timeout=None, pay_to=<service address>) applies the same price guard. Pass session= with a requests.Session that already pays to skip the guard. from_ is the Python name for the from query parameter.

Pricing and the price guard

  • Every main API route costs $0.05 per call, paid in USDC on Base (eip155:8453) with x402 v2. Derivs routes cost $0.003 or $0.005, keyword routes $0.012 to $0.25 and social routes $0.01 to $0.025, each capped by default at its own listed price. See each section.
  • maxPriceUsd defaults to 0.05. Before anything is signed, the client refuses a payment requirement that asks for more than that, a network other than Base, an asset other than Base USDC, or another payee. A refused call makes no payment and throws PriceGuardError.
  • The client only signs payments to the service's public address 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39 (payTo option; pay_to in Python). Set it if you point baseUrl at another deployment.
  • The client never retries a paid call on its own.
  • Plain http:// is refused except for loopback addresses (localhost, 127.0.0.1, [::1]).
  • With fetch instead of account, you pass a fetch that already pays. The price guard cannot check payments made inside it, so use account to keep the guard.

Examples

Runnable agents in examples/. Each folder has a README with setup, environment variables and cost.

ExampleLanguageWhat it does
supplier-onboarding-agentTypeScriptSupplier / vendor onboarding check: builds and validates IBANs, checks VAT numbers, compares the account holder name. Approve, review or reject per supplier.
kyb-payout-agent-pythonPythonKYB payout validation agent with Claude tool use: IBAN, VAT / tax ID, country and name checks, with a spend cap.
mcp-paid-clientTypeScriptMCP client for https://api.duoleads.com/mcp that pays each tools/call with x402, plus an MCP host config.
funding-arbitrage-watcherTypeScriptFunding rate arbitrage watcher: scans perp funding spreads across 8 exchanges every few minutes and alerts on new fee-adjusted opportunities. $0.005 per scan; the default run costs $0.06.
derivs-snapshot-loop-pythonPythonPer-coin derivatives snapshot loop: funding, open interest, basis, liquidations and long/short for each coin; flags crowded positioning. $0.005 per coin per round; the default run costs $0.06.
keyword-research-agentTypeScriptSEO keyword research agent: keyword ideas with search volume, CPC and difficulty, ranked by opportunity, plus a Google Trends check on the best pick. The default run (1 seed) costs $0.085.
node-basic.tsTypeScriptIBAN, time zone, counterparty check and a settlement receipt in one script.
vercel-ai-sdk-tool.tsTypeScriptIBAN and counterparty checks as Vercel AI SDK tools.
langchain_tool.pyPythonIBAN and counterparty checks as LangChain tools.
claude-mcp.mdAdding the MCP server to Claude Code.

Main API calls cost $0.05, derivs calls $0.003 or $0.005, keyword calls $0.012 to $0.25 (the examples use the $0.03 to $0.045 keyword-research calls) and social calls $0.01 to $0.025, in USDC on Base, paid by the wallet you configure. The examples' tests run offline with mocked responses; nothing in CI pays.

User-Agent and privacy

The SDK sends a User-Agent naming the SDK and version; the API stores only a coarse client class, see https://api.duoleads.com/privacy

  • TypeScript: duo-data-utilities-js/<version> (+https://github.com/hiesem/duo-data-utilities). Override it with createClient({ userAgent }), or append your own product: userAgent: `${SDK_USER_AGENT} my-agent/1.0` .
  • Python: duo-data-utilities-py/<version> (+https://github.com/hiesem/duo-data-utilities). Override it with DuoClient(..., user_agent=...), or append to duo_data_utilities.USER_AGENT.
  • In browsers a page cannot set User-Agent, so the client sends none there, and it adds no other header in its place (one would make the browser send a CORS preflight, which the API does not accept). The browser's own User-Agent is sent instead.

What this is not

  • Not a registry lookup. IBAN, tax ID and VAT checks are structure and checksum only.
  • Not financial, legal or tax advice. Each response carries a disclaimer.
  • Derivatives data is data only: not investment advice, not a benchmark, not affiliated with any exchange.
  • Keyword and social data come from third-party providers and public sources; not affiliated with or endorsed by Google, X, Reddit, TikTok, Meta, LinkedIn or any other platform.

Links

The HTTP routes also work without this SDK. An unpaid GET returns 402 Payment Required with a PAYMENT-REQUIRED header, and any x402 v2 client can pay that challenge.

Development

sh
npm installnpm run generate        # rebuild src/*generated.ts and the README route tables from spec/ (npm test checks they are current)node scripts/refresh-specs.mjs   # re-fetch the services' published OpenAPI into spec/ (free), then review the diffpython3 python/scripts/generate.py   # the same for the Python packagenpm run typechecknpm testnpm run build

spec/ holds the snapshots the code is generated from. See spec/README.md. packages/ holds the three per-service packages (x402-seo-keyword-data, x402-crypto-derivatives-data, x402-social-media-data); each bundles the shared client code from src/, so none depends on this package.

License

MIT. See LICENSE.

来源:README.md,提交 863dbf5

工具

33

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).

输入参数kind必填value必填country必填

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).

输入参数optovalue必填

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).

输入参数opnsinvaluecountry

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).

输入参数iban必填

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).

输入参数bankbbanbranchaccountcountry必填

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).

输入参数zone必填localinstantambiguous

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).

输入参数fromzone必填years

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).

输入参数optodaysfrom必填weekendholidaysinclusive

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).

输入参数zone必填aftercountrdaterrule必填exdatedtstart必填

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).

输入参数optodateriteyear

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).

输入参数maxcaselangtext必填separator

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).

输入参数casefromtext必填standard

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).

输入参数formtext必填detail

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).

输入参数a必填b必填foldonly

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).

输入参数url必填base

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).

输入参数todomain必填strict

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).

输入参数aboprangeversionversions

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).

输入参数outalgo必填data必填encodinghmac_keyhmac_key_encoding

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).

输入参数attoken必填

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).

输入参数oplatlongeohashprecision

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).

输入参数oplatloncodelengthref_latref_lon

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).

输入参数latlonopsgeometry必填

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).

输入参数oplat1lat2lon1lon2pathmethodbearingdistance_m

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).

输入参数expectaddress必填chain_id

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).

输入参数datakindencodingsignature

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).

输入参数codenamelevelcountryinclude

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).

输入参数codenearlimitcountryradius_km

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).

输入参数codecountryinclude

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).

输入参数codenameinclude

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).

输入参数tocasefromvalue必填prefix

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).

输入参数caseformlangvalue必填currency

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).

输入参数ddofmethodvalues必填percentiles

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).

输入参数rulepartsamount必填ratioscurrency必填

版本历史

7
  1. v1.1.0最新Nov 11, 2026
  2. v1.0.5Nov 7, 2026
  3. v1.0.4Oct 24, 2026
  4. v1.0.3Oct 9, 2026
  5. v1.0.2Oct 3, 2026
  6. v1.0.1Sep 29, 2026
  7. v1.0.0Sep 29, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分