Metadata-Version: 2.4
Name: duo-data-utilities
Version: 0.2.1
Summary: IBAN, ISIN, VAT/tax ID and GTIN barcode validation plus 29 more pay-per-call utilities, and crypto derivatives data (perp funding rates, open interest, futures basis, implied volatility, liquidations, order book depth) for AI agents (x402, USDC on Base, no API key).
Author: Duo Data Utilities
License: MIT
Project-URL: Homepage, https://api.duoleads.com
Project-URL: Repository, https://github.com/hiesem/duo-data-utilities
Keywords: iban,isin,vat,tax-id,gtin,barcode,x402,usdc,ai-agents,pay-per-call,mod-97,crypto-derivatives,perp,funding-rate,funding-arbitrage,open-interest,futures-basis,implied-volatility,liquidations,order-book,hyperliquid,trading-bot
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: x402[evm,requests]<3,>=2.25.0
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Dynamic: license-file

# duo-data-utilities (Python)

Typed Python client for https://api.duoleads.com: IBAN, ISIN, VAT/tax ID, GTIN barcode and 29 more pay-per-call utilities. Each call costs $0.05 in USDC on Base, paid with x402 v2. No API key, no signup.

Also crypto derivatives data from https://derivs.duoleads.com, $0.003 or $0.005 per call: perp funding rates, funding history and arbitrage, perp screener, open interest, futures basis, implied volatility, liquidations and order book depth across Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit and OKX. Use `DuoClient(account).derivs.funding_rates(coin="BTC")` or `DerivsClient(account)`; its price guard caps each route at its own listed price ($0.003 or $0.005) unless you pass `max_price_usd` (`derivs_max_price_usd` on `DuoClient`).

```sh
pip install "git+https://github.com/hiesem/duo-data-utilities#subdirectory=python"
```

The package is not published to PyPI. The full documentation, the method table and the price guard are in the repository README.

The client sends a User-Agent naming the SDK and version (`duo-data-utilities-py/<version> (+https://github.com/hiesem/duo-data-utilities)`); the API stores only a coarse client class, see https://api.duoleads.com/privacy. Pass `user_agent=` to `DuoClient` to change it.
