Metadata-Version: 2.4
Name: ambolt
Version: 0.2.0
Summary: Client for the Ambolt pay-per-call data tools (x402, USDC): electricity, company registers, tenders, FX, DNS, on-chain facts.
License: MIT
Project-URL: Homepage, https://ambolt.dev
Project-URL: Documentation, https://ambolt.dev/docs
Project-URL: Source, https://github.com/ambolt/ambolt-mcp
Keywords: x402,mcp,ai-agents,data-api,usdc
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ambolt

Client for [Ambolt](https://ambolt.dev): dated, sourced data lookups as pay-per-call endpoints (x402, USDC). Failed calls are never charged.

```python
from ambolt import Ambolt

ambolt = Ambolt(session=paying_session)  # a requests-compatible session that pays x402 challenges
print(ambolt.iban_validate(iban="DK5000400440116243"))
print(ambolt.call("dk-electricity-prices", area="DK1"))
```

The Solana swap API is free and needs no payment session: `ambolt.swap_quote(inputMint=..., outputMint=..., amount=...)`, `ambolt.swap_build(..., taker=...)` returns an unsigned transaction that you sign with your own key, then `ambolt.swap_execute(signed_b64, request_id)`. Full flow with signing: https://ambolt.dev/docs/swap-api.

Every function is also an MCP tool at `https://api.ambolt.dev/mcp`. Not financial, legal or tax advice.
