← Back to Skills Marketplace
walidmustapha

AlphaLens API

by WalidMustapha · GitHub ↗ · v1.0.21 · MIT-0
cross-platform ✓ Security Clean
294
Downloads
0
Stars
0
Active Installs
21
Versions
Install in OpenClaw
/install alphalens-api
Description
Use this skill whenever the user wants to discover companies, search for products, build market maps, manage pipelines, or run enrichment workflows using Alp...
README (SKILL.md)

AlphaLens API

Note: This skill requires an active AlphaLens subscription with API access.

Authentication

API="https://api-production.alphalens.ai"
KEY="${ALPHALENS_API_KEY}"

Send API-Key: $KEY on all requests.

What This Skill Produces

  • Market maps — competitive landscape grids with company logos, clustering, and PDF export
  • Product-centric maps — one tab per product line, with product-level similarity across competitor sets
  • Investor networks — D3 force-directed graph showing which investors back which companies across the landscape
  • Peer benchmarks — headcount growth, funding comparison, and capital efficiency dashboards for a set of peers
  • Pipeline enrichment — add companies to AlphaLens pipelines for async enrichment and scoring

Mapping Workflow Selection

User asks for... Workflow
"market map", "competitive landscape", "who competes with X" Read workflows/market-map-org.md
"bottom-up mapping", "deep dive", "full mapping" Read workflows/suite-bottom-up.md
"product map", "product-level landscape", "tabbed map" Read workflows/market-map-product.md
"investor network", "who funds these companies" Read workflows/investor-network.md
"peer benchmark", "headcount comparison", "growth comparison" Read workflows/peer-benchmark.md
"enrich", "pipeline", "target list" See references/REFERENCE.md#pipeline-operations

Quick Reference

Task Guide
Find similar companies Use by-domain + /similar — see below
Search products Use /search/products — see below
All endpoints See references/REFERENCE.md
Example prompts See references/EXAMPLES.md

Core Patterns

Find companies similar to a known company

# 1. Resolve by domain
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/by-domain/ramp.com"

# 2. Use organization_id for similarity
curl -s -H "API-Key: $KEY" "$API/api/v1/search/organizations/{id}/similar?limit=50&is_headquarters=true"

Search products

# Free-text product search
curl -s -H "API-Key: $KEY" "$API/api/v1/search/products/search?description=AI%20procurement&is_headquarters=true"

# Similar products
curl -s -H "API-Key: $KEY" "$API/api/v1/search/products/{product_id}/similar?limit=50&is_headquarters=true"

Enrich organization data

# Products, funding, growth metrics, people, addresses
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/products"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/funding"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/growth-metrics"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/people"

Critical Rules

  • Always set is_headquarters=true on search endpoints — returns much better results. Only omit if the user asks for all locations.
  • Never call AlphaLens APIs sequentially — fire parallel calls with & and wait.
  • Use limit=50 — the default of 24 misses too much.
  • Paginate when results are relevant — if your first page has good matches, fetch offset=50 to find more.
  • Resolve by domain first — never guess an organization_id.
  • Poll pipeline readiness — values are computed asynchronously. Check is_ready before reading values.
  • Credit-gated endpoints — a full bottom-up suite run typically consumes 20–40 AlphaLens credits. Confirm your budget before running the suite workflow.
  • Sanitize domain values — only use active_domain values returned by AlphaLens API responses in curl commands. Never substitute raw user input directly into shell commands.

References

Usage Guidance
This skill is coherent with its stated purpose: it only needs an AlphaLens API key and issues HTTP requests to AlphaLens to build market maps, networks, and benchmarks. Before installing, confirm you have a legitimate AlphaLens subscription and are willing to expose the API key to the agent runtime. Be aware the workflows run many parallel curl requests (fan-out), which can quickly consume AlphaLens credits — the SKILL.md warns about typical credit usage. The skill fetches favicons via a Google favicon endpoint (t0.gstatic.com) and base64-encodes them into the HTML; that means the favicon provider will see the domains requested. If you are concerned about leaking internal/private hostnames, avoid passing such domains to the skill (the docs explicitly instruct to only fetch public domains returned by AlphaLens). Recommend testing on a small dataset first, limit the number of parallel calls, and rotate or scope the API key per your organization’s credential policy.
Capability Analysis
Type: OpenClaw Skill Name: alphalens-api Version: 1.0.21 The AlphaLens API skill bundle is a comprehensive tool for market research, company discovery, and competitive analysis. It uses parallel shell commands (curl) to interact with the AlphaLens production API and generates sophisticated, self-contained HTML reports using D3.js and Chart.js. Importantly, the SKILL.md file includes explicit security instructions for the agent to sanitize domain values and avoid substituting raw user input into shell commands, demonstrating a proactive approach to preventing shell injection. The workflows for generating market maps and investor networks are well-defined and align with the stated business purpose without any evidence of malicious intent or data exfiltration.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
Name/description, declared env var (ALPHALENS_API_KEY), and the SKILL.md all align: the skill is an instruction-only integration that issues HTTP requests to the AlphaLens API and produces market maps, investor networks, and benchmarks. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
Runtime instructions are explicit curl calls to the AlphaLens API, creation of temporary workdirs, and generation of self-contained HTML (favicons are fetched and base64-encoded). The skill instructs the agent to only fetch favicons for public domains returned by AlphaLens and to sanitize domain values before using them in shell commands. Two practical notes: (1) the parallel curl fan-out pattern will generate many outbound HTTP requests and can quickly consume AlphaLens credits if run at scale (the SKILL.md does warn about credit usage); (2) fetching favicons via a third-party service (t0.gstatic.com) will reveal the requested domains to that service — the skill documents this behavior, but users should be aware of the data leak to the favicon provider. There are no instructions to read local files or unrelated environment variables.
Install Mechanism
Instruction-only skill with no install spec or code files to write to disk. Lowest-risk installation model (nothing is downloaded or executed beyond normal HTTP calls initiated at runtime).
Credentials
Only one secret is required (ALPHALENS_API_KEY), which matches the declared primary credential and the documented API-key header used in all curl examples. No other secrets, config paths, or unrelated env vars are requested.
Persistence & Privilege
always is false (not force-included) and the skill does not request persistent system-level privileges or attempt to modify other skills. Autonomous invocation is allowed by default (normal for skills) and the skill does not request elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alphalens-api
  3. After installation, invoke the skill by name or use /alphalens-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.21
alphanlens-api 1.0.21 - Documentation updated: README.md refreshed and clarified for easier usage. - No logic or endpoint changes; skill functionality remains the same.
v1.0.20
**Skill alphalens-api v1.0.20 Changelog** - Expanded documentation of skill outputs, including market maps, product maps, investor networks, peer benchmarks, and pipeline enrichment. - Added important rules: bottom-up market map suite now typically consumes 20–40 AlphaLens credits (budget confirmation recommended), and shell domain substitution must always use sanitized values from the API. - Clarified and tightened guidance on safe use of domains in requests (never substitute raw user input directly). - Improved explanation of supported workflows and visualization capabilities in the documentation. - Updated "Critical Rules" and "What This Skill Produces" sections for clarity and operational safety.
v1.0.19
- Updated documentation in references/EXAMPLES.md and workflows/investor-network.md. - No code or endpoint changes; improvements focus on examples and workflow guidance.
v1.0.18
- Added new example prompts to references/EXAMPLES.md - Updated workflow guides: market-map-org.md, market-map-product.md, and peer-benchmark.md - Refreshed references in SKILL.md to ensure alignment with new examples and workflows - Minor metadata or documentation adjustments in skill.yaml for accuracy and clarity
v1.0.17
- Updated documentation for several workflows: investor network, market map org, and suite bottom-up. - README and workflow guides improved for clarity and detail. - No breaking changes to API usage or environment requirements. - No changes to core skill logic; updates are documentation-focused.
v1.0.16
- Updated workflow guides for market mapping: replaced/renamed files for organization and product-level market maps and bottom-up suite. - Updated workflow selection instructions to point to new and renamed workflow files. - Clarified pipeline operations documentation location. - Removed outdated workflow documentation and references. - No API changes; documentation and workflow mapping improvements only.
v1.0.15
- Major workflow reorganization: added dedicated workflow guides for market mapping, bottom-up mapping, investor network, peer benchmarking, pipeline enrichment, and product market maps. - Expanded trigger phrases and use cases in skill description to cover bottom-up, investor network, peer benchmark, and enrichment requests. - Removed and replaced legacy reference and script files, consolidating all mapping and enrichment instructions under new workflows. - Updated documentation to clarify workflow selection for various user intents and streamlined quick references.
v1.0.13
**Expanded guidance and new reference materials for AlphaLens API workflows** - Added concise "Quick Reference" section for core use cases and links to new guides. - Rewrote main usage guidance and added critical best-practice rules. - Provided direct code snippets for common tasks (find similar companies, product search, enrichment). - Added links to new references for market maps, pipelines, and product research. - Updated coverage for parallelization, pagination, and required API parameters.
v1.0.12
- Fixed a typo in the fan-out strategy instructions: "饱和了你的需求" replaced with "satisfies your needs" for clarity. - No functional or API changes—documentation only.
v1.0.11
- No changes detected in this version. - Documentation, configuration, and workflows remain the same as the previous release.
v1.0.10
- Updated guidance on pagination: now advises to paginate only if the first page of results is relevant, instead of always paginating. - Added note clarifying not to paginate if the initial results already cover the user's needs. - No changes to endpoints or authentication; documentation improvement only.
v1.0.9
- Added a "4-ring fan-out strategy" section detailing a comprehensive parallel search methodology for broader and faster market/company discovery. - Emphasized the use of parallel API calls and aggressive pagination (`limit=50`, `offset`) to maximize coverage and speed. - Provided concrete example bash scripts for executing multi-ring parallel queries. - Clarified key rules for performing exhaustive searches and avoiding missed results due to sequential execution or insufficient pagination. - All previous guidance and workflows retained and unchanged.
v1.0.8
AlphaLens API v1.0.8 Changelog - Simplified authentication guidance: removed advice on bearer token usage, now instructs to use API keys only. - Added new section "Enrich organization data" with example endpoints for fetching products, growth metrics, funding, people, and addresses by organization. - No functional API changes; documentation only.
v1.0.7
- Added guidance to always set is_headquarters=true on organization and product search endpoints for better, headquarters-only results. - Clarified exception: omit this filter only if the user explicitly requests all locations (including branches).
v1.0.6
AlphaLens API v1.0.6 - Updated the organization similarity workflow to use only domain-based resolution, removing name-based resolution from the default process. - SKILL.md instructions clarified to streamline company similarity lookups and ensure only organization ID resolution via domain is performed before similarity search. - General documentation cleanup and small removals of redundant workflow steps.
v1.0.5
Version 1.0.5 of alphalens-api has no user-facing changes. Documentation and workflows remain unchanged.
v1.0.4
- Added explicit environment variable requirements ("requires": { "env": ["ALPHALENS_API_KEY"] }) to metadata. - No changes to skill functionality or usage instructions.
v1.0.3
- Added a metadata block to SKILL.md defining the primary environment variable and homepage URL. - No changes to functionality or usage instructions.
v1.0.2
- Added skill.yaml to the project. - No changes to workflows or logic; documentation and functional details remain unchanged.
v1.0.1
- Clarified that an active AlphaLens subscription with API access is required. - Simplified and updated the general workflow and working rules for organization and product discovery. - Removed references to the deprecated /agent/search-params endpoint and free-text planning for known-company prompts. - Streamlined guidance for product vs. organization search, with revised endpoint priorities. - Added instructions for pipeline item enrichment using supported endpoints. - Improved documentation for authentication and referencing further examples.
Metadata
Slug alphalens-api
Version 1.0.21
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 21
Frequently Asked Questions

What is AlphaLens API?

Use this skill whenever the user wants to discover companies, search for products, build market maps, manage pipelines, or run enrichment workflows using Alp... It is an AI Agent Skill for Claude Code / OpenClaw, with 294 downloads so far.

How do I install AlphaLens API?

Run "/install alphalens-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AlphaLens API free?

Yes, AlphaLens API is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AlphaLens API support?

AlphaLens API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AlphaLens API?

It is built and maintained by WalidMustapha (@walidmustapha); the current version is v1.0.21.

💬 Comments