AFAdocs
Getting Started

Portal Setup

Sign up for AFA via the portal, get an API key, and manage your subscription.

Portal Setup

The AFA portal at portal.undercurrentholdings.com handles account creation, API key management, and billing.

Sign up

  1. Go to portal.undercurrentholdings.com
  2. Create an account (Clerk authentication)
  3. You start on the Community tier (free, 200 analyses/month)

Get your API key

  1. Navigate to AFA > Keys in the portal
  2. Click Create Key
  3. Copy the key immediately -- it is only shown once
  4. The key looks like uk_afa_...

Use the key in API requests:

curl -H "Authorization: Bearer uk_afa_..." \
  https://api.afa.undercurrentholdings.com/v1/health

Or set it as an environment variable for the CLI:

export AFA_API_KEY="uk_afa_..."

Tiers

CommunityDeveloperTeamEnterprise
PriceFree$99/mo$499/moCustom
Analyses/mo2002,00010,00050,000
Enhancements/mo0502502,000
Rate limit15/min30/min100/min500/min
Repos1525Unlimited

All paid tiers offer 20% off with annual billing.

See Billing for full tier details including feature breakdowns.

Upgrade

  1. Go to AFA > Account in the portal
  2. Click Upgrade on the tier you want
  3. Complete Stripe checkout
  4. Your API keys are automatically updated with the new rate limits

On this page