🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

AlphaLens API

by @walidmustapha

Use this skill whenever the user wants to find companies, discover products, or research competitors using AlphaLens. Triggers on: any explicit mention of 'A...

Versionv2.1.1
Downloads1,287
TERMINAL
clawhub install alphalens-api

πŸ“– About This Skill


name: 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 AlphaLens. Triggers include: any mention of 'AlphaLens', 'market map', 'competitive landscape', 'company discovery', 'product search', 'similar companies', 'find companies like', 'company enrichment', 'target list', 'bottom-up', 'investor network', 'peer benchmark', 'headcount comparison', 'growth comparison', 'pipeline', 'enrich', or requests to find, enrich, or visualize company/product data. Also use when the user asks to build a market landscape, research competitors, or automate prospecting workflows. metadata: { "openclaw": { "requires": { "env": ["ALPHALENS_API_KEY"] }, "primaryEnv": "ALPHALENS_API_KEY", "homepage": "https://alphalens.ai" } }

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

  • references/REFERENCE.md β€” full endpoint reference
  • references/EXAMPLES.md β€” example prompts and request shapes