terminalfeed
Python client for the TerminalFeed real-time data API: live markets, crypto, macro, and world data, built for humans on a second monitor and for AI agents that pay their own way.
pip install terminalfeed
Single module, one dependency (requests). You can also vendor it: copy terminalfeed.py straight into your codebase.
Free tier (no token, no signup)
from terminalfeed import TerminalFeed
tf = TerminalFeed()
print(tf.free_btc_price()) # live BTC price
print(tf.free_briefing()) # one-call world snapshot
print(tf.free_feed_reliability()) # ranked reliability of every feed
print(tf.regime_preview()) # free taste of the market-regime verdict
print(tf.pro_catalog()) # machine-readable premium catalog with prices
There are 30+ free endpoints in total (stocks, earthquakes, prediction markets, space launches, gas prices, and more). The full list lives at terminalfeed.io/for-devs/api and in llms.txt.
Premium tier (USDC on Base, no KYC)
1 credit = $0.02, and $1 USDC buys 50 credits. The entire payment loop is agent-completable: no signup form, no credit card, no human in the loop.
from terminalfeed import TerminalFeed
tf = TerminalFeed()
quote = tf.buy_credits(amount_usd=1.00)
# Send USDC on Base mainnet to quote["wallet"] with memo quote["memo"]
tf.confirm_payment(tx_hash="0x...", nonce=quote["memo"])
print(tf.balance())
print(tf.macro(history="30d")) # 2 credits
print(tf.crypto_deep(coins=["btc", "eth", "sol"])) # 2 credits
print(tf.briefing(include=["btc", "predictions"])) # 1 credit
print(tf.regime()) # 2 credits, signed receipt
print("remaining:", tf.credits_remaining)
Token sharing with TensorFeed
Bearer tokens (tf_live_<64-char-hex>) are cross-redeemable with TensorFeed (pip install tensorfeed). A token minted on either site authenticates on both, against a shared credit pool. One purchase, two data sources.
Error handling
from terminalfeed import TerminalFeed, PaymentRequiredError, TerminalFeedError
try:
tf.macro()
except PaymentRequiredError as e:
# e.reason is one of: missing_token, invalid_token,
# insufficient_credits, expired, billing_unavailable
print("need credits:", e.reason, e.signup_url)
except TerminalFeedError as e:
print("API error:", e)
Links
- Docs: https://terminalfeed.io/developers/agent-payments
- Developer hub: https://terminalfeed.io/for-devs
- OpenAPI spec: https://terminalfeed.io/openapi.json
- MCP server config: https://terminalfeed.io/for-devs/mcp
MIT licensed.
Metadata
Release files for terminalfeed 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| terminalfeed-0.1.0.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| terminalfeed-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / terminalfeed-0.1.0.tar.gz
| Download URL | terminalfeed-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
670be744df675d23fff0d58e8eb3b52d0b4c67a6317bb6ea26ab0ef89c5a1a53
|
|
BLAKE2b-256 checksum How to use checksums |
e6e5e0d0df57a85d3226b18192dba3254f4bed5a8f2672f1920d11c584b91c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|
Release files / terminalfeed-0.1.0-py3-none-any.whl
| Download URL | terminalfeed-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5f945619ed06ecba273b4b98ffacf168fdbe8e9a742420d3995ebb09de05eb6
|
|
BLAKE2b-256 checksum How to use checksums |
1a0d00e42e1c3aabf357909e71722f42b679575bb8d3b6606afe75e616ae9806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.5
|
Security for terminalfeed 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.