Python client for Vend API Merchant — pay-per-call APIs settled in Nano (XNO).
pip install <wheel-url> 0.1.0 MIT (wheel served by Vend — not yet on PyPI)
← Back to Vend Download wheel Download source
pip install https://extract.paypercall.dev/static/packages/vend_client-0.1.0-py3-none-any.whl
# NOTE: the [paid] extra cannot be selected via a direct-URL pip install (pip 404s on it).
# For Nano wallet payment, wire feeless402 yourself, or run from a clone (`uv run vend-client`).
from vend_client import VendClient
client = VendClient()
result = client.extract("https://example.com")
print(result["price_xno"], "XNO") # 0.0001
print(result["pay_to"]) # nano_1yo6c1...
from vend_client import VendClient
from nano_pay.wallet import Wallet
wallet = Wallet(seed_path="/path/to/seed.txt")
client = VendClient(wallet=wallet)
result = client.domain_info("example.com")
print(result["dns_records"])
# Dry-run
vend-client extract --url https://example.com
# Paid
vend-client --wallet /path/to/seed.txt extract --url https://example.com
# Other endpoints
vend-client check-link --url https://example.com
vend-client domain-info --domain example.com
vend-client web-search --q "Nano news"
vend-client geoip --ip 8.8.8.8
vend-client nano-info --account nano_1...
| Method | Price (XNO) | Description |
|---|---|---|
client.extract(url) | 0.0001 | Clean text/markdown from any URL |
client.check_link(url) | 0.0001 | HTTP status, redirect chain |
client.domain_info(domain) | 0.0005 | DNS, WHOIS, TLS, headers |
client.web_search(q) | 0.0001 | DuckDuckGo web search |
client.geoip(ip) | 0.0001 | IP geolocation |
client.nano_info(account) | 0.0005 | Nano account intelligence |
X-PAYMENT header → results in JSONTo get started with Nano: feeless402.com has a wallet and CLI.
The vend-client source and built artifacts are served from this server. The project is MIT-licensed.