Skip to main content

akta.pro CLI (akta-pro)

A command-line client for the akta.pro REST API (https://api.akta.pro/api/v1) — a sibling of the akta.pro MCP server. Both are thin clients over the same endpoints; the CLI is the presentation layer for humans and shell scripts. It ships as its own self-contained distribution (akta-pro-cli) with no MCP-server code.

Source: src/akta_pro_cli/. API reference: https://docs.akta.pro.

Install

Published on PyPI. Install with pipx (recommended for CLIs — isolated env) or pip:

pipx install akta-pro-cli
# or
pip install akta-pro-cli

Then run akta-pro --help. Full prerequisites, auth, update, and troubleshooting steps are in INSTALL.md.

The akta-pro command depends only on httpx, typer, rich.

Authentication

v1 authenticates with an akta.pro API key (wk_...), minted at https://playground.akta.pro (sign up → API Keys). Three ways to supply it, in precedence order:

akta-pro --api-key wk_...  company search Canva     # 1. explicit flag
export AKTA_PRO_API_KEY=wk_...                       # 2. environment variable
akta-pro login                                       # 3. stored (prompts, or --api-key)

akta-pro login validates the key against a free endpoint and stores it at ~/.config/akta-pro/credentials.json (mode 0600; %APPDATA%\akta-pro on Windows).

akta-pro login --api-key wk_...   # store without the prompt
akta-pro whoami                   # show the active key (masked), its source, and validate
akta-pro logout                   # remove the stored key

Commands

Command Cost Notes
akta-pro account free your tier + credit balance
akta-pro company search <query> free run first; returns uuid
akta-pro company data <company> -s ... per section requires ≥1 --section; --markdown for a rendered report
akta-pro company concise <company> 8 slimmed JSON
akta-pro company add <name> <website> free submit a missing company; returns request_id (or already_exists)
akta-pro status <request_id> free poll an async request, e.g. from company add
akta-pro industry search <query> free codes feed news signals --industry / list filters; --level l1..l4/all (repeatable)
akta-pro region search [query] free codes feed list filters; --level region|sub-region|intermediate-region
akta-pro news signals [filters] 0.1 + 0.01/article anchor with --company/--primary-company/--industry/--query/--title (all optional); rich filters (--country, --entity-*, --naics/--sic/--iptc/--iab, --blacklist); compact list with ids
akta-pro news detail <id>... 0.1 + 0.01/article full bodies for ids from signals (max 10)
akta-pro news types free tag codes for --type-code; offline, no key
akta-pro list generate companies 1.5/call + 0.2/company + sections --query (NL, +2.5 for translation) or --filters (JSON/@file), -s/--section, --sort-by/--sort-order, -n/--limit, --offset
akta-pro list filters free fields --filters accepts, and which have lookup-able values
akta-pro list filter-options <dropdown_type> free allowed values for one filter field; --query, -n/--limit, --level
akta-pro list filter-builder <query> 2.5 translate free text into structured --filters JSON for list generate companies
akta-pro headcount <company> 2.5 Subscription/Enterprise
akta-pro traffic <company> 1.5 Subscription/Enterprise
akta-pro jobs <company> 4/10 returned Subscription/Enterprise
akta-pro posts <company> 1/10 returned Subscription/Enterprise
akta-pro reviews employees <company> 1.5/50 Subscription/Enterprise; -n/--limit max 100
akta-pro reviews products <company> 1.5/50, or 0.5 to list the catalog catalog first, then --product-id; -n/--limit max 50 per product

company data sections (each billed separately): firmographic, business_model, company_assessment, trust_signal, company_hierarchy, digital_presence, financial_estimate, location, management_profile, product_offering, strategic_signal, customer_profile, industry, technology, plus enterprise-only funding_detail (3) and mna_and_investment (5). There is no "all" — choose explicitly. The two enterprise sections are auto-skipped (not an error) for non-enterprise callers, with a note.

Run akta-pro <command> --help for every flag.

Examples

akta-pro account                                                  # check tier + credits
akta-pro company search "Canva"
akta-pro company data canva.com -s firmographic -s technology     # rendered Markdown
akta-pro company data canva.com -s firmographic --raw             # raw Markdown (pipe/save)
akta-pro industry search "warehouse automation"
akta-pro news types                                               # find type codes
akta-pro news signals --company canva.com -t SD01 -n 20           # product-launch news
akta-pro news signals --query "crude oil prices" --json | jq '.data[].id'
akta-pro news detail 12345 12346                                  # full bodies for those ids
akta-pro headcount canva.com
akta-pro reviews products canva.com                               # list catalog + ids
akta-pro reviews products canva.com --product-id p_123 -n 50
akta-pro company add "Solios" solios.co                           # request a missing company
akta-pro status <request_id>                                      # poll that request
akta-pro list filters                                             # which fields --filters accepts
akta-pro list filter-options location.hq.country                  # -> allowed values for that field
akta-pro list filter-builder "US fintechs founded after 2015"     # -> structured filters
akta-pro list generate companies --filters '{"location.hq.country":"USA"}' -s firmographic

Output & exit codes

  • Default (TTY): a Rich table for list results (search, industry, news), rendered Markdown for company data, and pretty-printed JSON for nested objects.
  • --json: clean, unstyled JSON on stdout (valid for | jq). Applied automatically when stdout is piped/redirected. For company data, --json (alias --raw) emits the raw Markdown.
  • -o/--output FILE: writes the raw JSON/text payload to a file.
  • credits_consumed is printed to stderr (silence with -q/--quiet), so it never pollutes piped JSON.

Exit codes: 0 success · 2 bad input · 3 auth (no/invalid key or 403) · 4 other API/network error · 5 timeout.

Metadata

Release files for akta-pro-cli 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akta-pro-cli 0.4.0
File Size Uploaded
akta_pro_cli-0.4.0.tar.gz 33.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for akta-pro-cli 0.4.0
File Interpreter ABI Platform
akta_pro_cli-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.0 kB

Release files / akta_pro_cli-0.4.0.tar.gz

Download URL akta_pro_cli-0.4.0.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
00a45b5984b84f5c2f016d800870f8e6f77934b75dc726c6e000a1cf9abdde28
BLAKE2b-256 checksum
How to use checksums
0a65ffe16ae5e5f0509a36b41bf92c1358039a364d0b902eae827973357bee4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / akta_pro_cli-0.4.0-py3-none-any.whl

Download URL akta_pro_cli-0.4.0-py3-none-any.whl
Size 35.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a2bbc9f72b802894a72bc5ee5ed3cdfbe69a6a606da76b3a52b01ab36fe9669
BLAKE2b-256 checksum
How to use checksums
c6dd36a8861d8bfe3a65eb69a7a0871ab3943747a003e39293a8bace2d7834e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page