Alpacaalpaca.markets

ScoredJul 24, 2026, 10:20 AM

Alpaca's API program shows strong fundamentals across design, discoverability, and usability — partners and agents can find and call your APIs with confidence. The two areas that need immediate attention are agent-facing context and developer onboarding: there is no structured instructions file to tell AI agents how to navigate or use the API, and the documentation lacks inline code samples that let partners get to a working integration without leaving the docs.

API DesignA clean, typed, well-governed API contract agents can reason about2 pass3 warn0 fail84A
SignalPointsFindingsRationale
passAuth declared & discoverablevia spec25/25Authentication required (global or on every operation). Investigated: spec 100%, docs 100%.Agents can only authenticate when auth is declared, scoped, and discoverable.
warnMachine-readable, versioned contractvia spec18.8/25info.version="1.1.1" set but no versioning scheme (URL / header / media type) detected. Investigated: spec 75%, docs 50%.A current OpenAPI version with a declared versioning scheme lets agents reason about the contract.
warnSchema coverage & depthvia spec18.1/25Medium parameter complexity (avg 1.8 params/op; nested/body schemas present). Investigated: spec 72%, sdk 60%.Typed, complete request/response schemas are what make agent function-calling possible.
warnSecurity & governance hygienevia spec10/154 credential-shaped strings detected in spec: aws-access-key (×4). Investigated: spec 67%, wellknown 50%.No leaked secrets, no critical lint violations, no OWASP API Top-10 spec smells, and a published vulnerability-disclosure channel.
passExample coveragevia sdk10/10README is present and includes a runnable quickstart. Investigated: sdk 100%, spec 0%, docs 0%.Examples carry shape semantics schemas under-specify — for humans and agents alike.
Developer ExperienceThe context both developers and agents need to integrate fast — onboarding, code samples, complete descriptions and worked examples3 pass1 warn1 fail75B
SignalPointsFindingsRationale
passSelf-service developer portalvia docs29/29Signup page at https://alpaca.markets/signup; no free-tier language detected in docs/pricing. Investigated: docs 100%.Self-serve key/account creation is the fast first call for partners, with no sales gate.
passDescription completenessvia spec15/1585% description completeness (target 90%+). Investigated: spec 100%, sdk 0%.Complete descriptions are the context humans and agents need to use endpoints.
passChangelog publishedvia spec13/13changelog documented in the docs site at https://docs.alpaca.markets/us/changelog. Investigated: spec 100%, docs 100%, sdk 100%.A published changelog lets partners track changes without surprise.
warnQuickstart presentvia docs12.5/25Quickstart page reachable (12 variants scanned starting at https://docs.alpaca.markets/us/docs/getting-started) but no runnable code sample detected in HTML or .md variant. Investigated: docs 50%.A quickstart is the fastest path from landing page to first successful call.
failCode samples in docsvia docs0/18No detectable code samples across 20 sampled docs pages. Investigated: docs 0%.Multi-language samples shorten time-to-first-call.
Agent DiscoveryPartners and their agents can find your APIs — llms.txt, registries, crawlable and reachable docs2 pass2 warn0 fail91A+
SignalPointsFindingsRationale
passDocs reachable, not hard auth-gatedvia docs30/30All 50 sampled pages are publicly accessible. Investigated: docs 100%.Agents can only index and fetch docs they can reach — past auth gates and over correct HTTP semantics.
passRegistry & SDK presencevia docs28/28Indexed on Context7 (alpacahq/alpaca-py, 985 snippets). Investigated: docs 100%, cli 100%, sdk 67%, mcp 0%, wellknown 0%.Listing in MCP registries and publishing SDKs puts the API where agents and their tooling look.
warnllms.txt present, valid & comprehensivevia docs25.7/30llms.txt is 126,895 characters (exceeds 100,000 threshold; will be truncated by most agents). Investigated: docs 86%, sdk 0%.A valid, comprehensive llms.txt is the machine-readable entry point for agents.
warnCrawlable / AEOvia wellknown6/12No sitemap discoverable via robots.txt or /sitemap.xml on the docs host. Investigated: wellknown 50%.Bots allowed plus a fresh sitemap make docs findable by agent crawlers.
Agent UnderstandingAgents can correctly interpret your APIs — machine-readable errors, consistent descriptions, structured data, parseable docs3 pass2 warn1 fail84A
SignalPointsFindingsRationale
passMachine-readable errors (RFC 9457)via docs28/289 distinct 4xx/5xx response codes documented. Investigated: docs 100%, sdk 100%, spec 50%.RFC 9457 problem details and a documented error-code inventory let agents parse failures without burning tokens.
passOperation purpose clarityvia spec25/2599% of operations have a clear summary + operationId an agent can select on. Investigated: spec 100%.Agents select the right endpoint from its summary + operationId; clear, named operations make tool-selection reliable — the strongest driver of correct tool choice.
warnAgent-navigable, token-efficient docsvia docs19.8/224 of 50 pages between 50K–100K chars (max 90K). Investigated: docs 90%.Server-rendered, clean, small-footprint docs are what an agent can cheaply fetch and parse correctly.
passDocs structured datavia docs8/8JSON-LD Article markup on 18/18 assessed pages (100%) with dateModified present. Investigated: docs 100%.Structured data (JSON-LD/schema.org) on docs pages gives agents an unambiguous parse target and is what answer engines cite. Detected on the JS-rendered head (Firecrawl) for a bounded page budget, so JS-injected JSON-LD is now caught; pages we can't render are excluded rather than failed.
warnDescription consistency across surfaces0.6/7Mean pairwise description similarity across 3 surfaces (spec, docs, sdk) is 3% (threshold 35% for full credit).Every surface tells the same story about what the product is.
failAgent instructions file (AGENTS.md)via wellknown0/10No AGENTS.md at the site root or /.well-known/. Investigated: wellknown 0%.An AGENTS.md gives coding agents explicit setup, auth, and usage instructions to interpret and operate the API — beyond llms.txt's link index.
Agent UsabilityAgents have the context to use your APIs reliably, not just find them4 pass1 warn0 fail96A+
SignalPointsFindingsRationale
passIdempotency documentedvia spec27/27idempotency documented in the docs site at https://docs.alpaca.markets/us/reference/post-v1-instant-funding. Investigated: spec 100%, docs 100%, sdk 100%.Documented idempotency lets agents retry safely.
passRate-limit signalingvia spec22/223 distinct rate-limit response headers documented. Investigated: spec 100%, docs 100%.Machine-readable rate-limit headers let agents throttle adaptively.
passPagination documented & consistentvia spec22/22Pagination params detected on 25 list endpoint(s). Investigated: spec 100%, docs 100%.Consistent, documented pagination lets agents traverse collections.
passSandbox separationvia spec20/20sandbox documented in the docs site at https://docs.alpaca.markets/us/docs/getting-started-with-broker-api. Investigated: spec 100%, docs 100%, sdk 100%.An isolated environment lets agents exercise destructive operations safely.
warnRunnable collection with test scriptsvia platform4.5/9No test scripts found in the workspace's collections. Investigated: platform 50%.A public, maintained collection with assertions is runnable truth agents validate against.
Resources Discovered

The public resources we found for Alpaca — the evidence behind the score. All discovered from public sources; nothing here requires access to your systems.

Agent hintsContext7 (985)
APIs analyzed3Broker API, Trading API, Market Data API
Want to improve your results?