earlyforge-cli
Command-line client for the EarlyForge Trends API, with two tiers
under the same /v1/api/trends/* prefix:
- Pulse mirror (
pulse top|region|category|trend) — free on every account, no plan required. The same daily snapshot already shown on pulse.earlyforge.ai. - Full trends feed (
pulse full/pulse full-trend) — every plan, including free, and not "all trends unlocked." Every plan reveals a daily, random, category-diversified budget of trend names (bigger on paid plans) — exactly what your organization's dashboard Trends page shows unlocked today, no more, no less.
Not a CLI for articles, briefs, or alerts — the public API never exposes those on any plan. Full reference: docs.earlyforge.ai/guides/api/cli. Source: github.com/Earlyforge-official/earlyforge.
Install
Not published yet. Contact support@earlyforge.ai for early access.
Configure
export EARLYFORGE_API_KEY=ef_live_xxxxxxxxxxxxxxxx
Get a key from Settings → API Keys in the EarlyForge console. Or pass
--api-key on each command instead of the env var.
Commands
earlyforge pulse top [--date YYYY-MM-DD]
earlyforge pulse region <REGION> [--date YYYY-MM-DD]
earlyforge pulse category <CATEGORY> [--date YYYY-MM-DD]
earlyforge pulse trend <TREND_ID>
earlyforge pulse full [--region US] [--category tech] [--page 1] [--limit 20]
earlyforge pulse full-trend <TREND_ID>
Every command pretty-prints the JSON response and accepts --api-key and
--base-url (default https://api.earlyforge.ai, useful for pointing at
a local gateway in development).
pulse full and pulse full-trend work on every plan, including free.
They are not "all trends unlocked": every plan only reveals a daily,
random, category-diversified budget of trend names (bigger on paid
plans), same as the dashboard's Trends page. A trend outside that budget
stays in the list with its name redacted ("name_locked": true) for
pulse full, or returns HTTP 402 for pulse full-trend.
Examples
earlyforge pulse top
earlyforge pulse top --date 2026-11-01
earlyforge pulse region US
earlyforge pulse category politics
earlyforge pulse trend tr_a1b2c3
earlyforge pulse full --region US --limit 50
earlyforge pulse full-trend tr_a1b2c3
Errors
A non-2xx response prints Error: ... (<detail>) to stderr and exits
with status 1 — the same 401 invalid-key / 404 unknown-trend /
502 upstream-unavailable cases documented in the OpenAPI spec, plus
402 (trend_locked on pulse full-trend for a trend outside today's
budget).
Rate limits
No monthly call quota on this surface — only the shared 60 requests/60s burst limit applies, same as the anonymous Pulse page.
Tests
pip install -e . pytest
pytest
Metadata
Release files for earlyforge-cli 0.1.1
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 | Actions |
|---|---|---|---|---|
| earlyforge_cli-0.1.1.tar.gz | 5.8 kB | Without provenance | Details for earlyforge_cli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| earlyforge_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for earlyforge_cli-0.1.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / earlyforge_cli-0.1.1.tar.gz
| Download URL | earlyforge_cli-0.1.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e2e7bfaa327c60fe760e163a383f902756d227cfe596480ee0b32028e9a237a
|
|
BLAKE2b-256 checksum How to use checksums |
85162741dce3e2d8db6139eff55f9ae522495d63a33d5437e96b065953ffccba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / earlyforge_cli-0.1.1-py3-none-any.whl
| Download URL | earlyforge_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b69b01e94ce2d381feeb3c72e8b348c798d6a7428b904df47d753f0ebed173b
|
|
BLAKE2b-256 checksum How to use checksums |
63f97ec986b2fab8cd5df70e50071215b79ba42788698340e85485743d63b2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for earlyforge-cli 0.1.1
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.