{
  "aod": "0.1",
  "provider": {
    "name": "AlphAI",
    "url": "https://alphai.io",
    "portalUrl": "https://alphai.io/developers",
    "apisJsonUrl": "https://api.alphai.io/apis.json"
  },
  "maturity": "self-serve",
  "account": {
    "required": true,
    "signupUrl": "https://alphai.io",
    "agentPolicy": "allowed",
    "prerequisites": [],
    "plans": [
      { "name": "Free", "requiredFor": "REST + MCP access at 20 requests/minute and 100 requests/day — no credit card", "url": "https://alphai.io/pricing" },
      { "name": "Basic", "requiredFor": "60 requests/minute and 10,000 requests/day", "url": "https://alphai.io/pricing" },
      { "name": "Pro", "requiredFor": "150 requests/minute and 100,000 requests/day, plus HMAC-signed webhook alert delivery", "url": "https://alphai.io/pricing" }
    ],
    "termsOfService": { "url": "https://alphai.io/terms", "acceptance": "implicit" }
  },
  "verification": [],
  "registration": {
    "applicationNoun": "API key",
    "owner": "user",
    "mechanisms": [
      {
        "type": "console-only",
        "description": "Create a free account (email or Google sign-in, no credit card) at https://alphai.io, then mint a REST API key in the dashboard at https://alphai.io/account/api-keys. Keys are issued instantly with no human review; the key is a bearer token of the form ak_live_...",
        "baseUrl": "https://api.alphai.io",
        "docsUrls": ["https://alphai.io/developers"]
      },
      {
        "type": "dcr",
        "description": "The MCP server at https://mcp.alphai.io/mcp supports OAuth 2.1 with RFC 7591 dynamic client registration — an MCP client (Claude, ChatGPT, Cursor, and any MCP client) registers programmatically and the user authorizes with their AlphAI account. No pasted token, no console step.",
        "baseUrl": "https://mcp.alphai.io/mcp",
        "docsUrls": ["https://alphai.io/mcp"]
      }
    ]
  },
  "authentication": {
    "methods": [
      {
        "id": "rest-api-key",
        "type": "bearer-env",
        "header": "Authorization",
        "env": ["ALPHAI_API_KEY"],
        "bootstrap": "Sign up free at https://alphai.io (no credit card) and mint a key in the dashboard; it is issued instantly. Send it as Authorization: Bearer ak_live_..."
      },
      {
        "id": "mcp-oauth",
        "type": "oauth-pkce-browser",
        "bootstrap": "The MCP server advertises OAuth 2.1 metadata at https://mcp.alphai.io/.well-known/oauth-authorization-server and supports dynamic client registration (RFC 7591)."
      }
    ]
  },
  "credentials": [
    {
      "type": "api-key",
      "fields": { "api_key": "Authorization: Bearer" },
      "ttl": "none",
      "rotation": "Create, revoke, and rotate keys anytime in the dashboard at https://alphai.io/account/api-keys.",
      "oneTimeDisplay": true
    },
    {
      "type": "oauth2-client",
      "fields": { "access_token": "Authorization: Bearer" },
      "ttl": "configurable per token",
      "rotation": "Standard OAuth 2.1 refresh-token rotation."
    }
  ],
  "scopes": {
    "model": "product-tiers",
    "notes": "Tiers gate rate limits (Pro additionally unlocks HMAC-signed webhook alert delivery); all news, ticker, sentiment, and SEC Form 4 insider endpoints are available on every tier including Free."
  },
  "flow": {
    "args": [],
    "steps": [
      {
        "id": "probe",
        "description": "Confirm the API is reachable — fetch the public OpenAPI 3.1 spec, no key required.",
        "auth": "none",
        "request": { "method": "GET", "url": "https://api.alphai.io/api/schema/" }
      },
      {
        "id": "call",
        "description": "Call the news feed with your key.",
        "auth": "rest-api-key",
        "request": { "method": "GET", "url": "https://api.alphai.io/api/news/" }
      }
    ],
    "outputs": {}
  },
  "economics": {
    "freeTier": "Free: 20 requests/minute and 100 requests/day on both REST and MCP — no credit card.",
    "pricingUrl": "https://alphai.io/pricing",
    "rateLimitsUrl": "https://alphai.io/developers"
  },
  "gaps": [
    "REST API keys are minted in the browser dashboard — there is no key-issuing management API yet. The MCP server offers a fully programmatic onboarding path via OAuth 2.1 dynamic client registration (RFC 7591)."
  ]
}
