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

1. Get a key — sign up at https://playground.akta.pro, then API Keys → create one (wk_...).

2. Log in — stores the key locally so every future command just works:

akta-pro login                    # paste your key when prompted
# or: akta-pro login --api-key wk_...   (skip the prompt)

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

3. Verify, then use any command:

akta-pro whoami                   # confirms the key is stored and valid
akta-pro company search Canva

akta-pro logout removes the stored key.

akta-pro --api-key wk_...  company search Canva     # explicit flag
export AKTA_PRO_API_KEY=wk_...                       # environment variable

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.5.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.5.0
File Size Uploaded
akta_pro_cli-0.5.0.tar.gz 36.2 kB Details

Built distribution (wheel)

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

Total release size: 74.3 kB

Release files / akta_pro_cli-0.5.0.tar.gz

Download URL akta_pro_cli-0.5.0.tar.gz
Size 36.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d0ac785a6018659aea088d8d3ae3230cf50f3a4e7df9559e4c04024f2f86a74c
BLAKE2b-256 checksum
How to use checksums
02ec10920c62ed07c2fb248197da38084d956bba442449c86d0924f0ef6aa1ac
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.5.0-py3-none-any.whl

Download URL akta_pro_cli-0.5.0-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2aa1229d88331ffb79df038fe9cc06084a9c40c64aae6fc8b64b6090f539a21
BLAKE2b-256 checksum
How to use checksums
d1150a88ce143d85469da7df5d9489d4184a9a479176f816fbb76db2eb516b61
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

This release

0.5.0 This release

2 release files

0.4.0

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