Alpaca Accounts API

The Accounts API from Alpaca — 14 operation(s) for accounts.

Business capability
Retail Investing AE-190.30

Operations 16

GET /v1/accounts Get All Accounts #
POST /v1/accounts Create an Account #
GET /v1/accounts/{account_id} Get An Account by ID #
PATCH /v1/accounts/{account_id} Update an Account #
DELETE /v1/accounts/{account_id} Request to close an account #
POST /v1/accounts/{account_id}/actions/close Close an Account #
GET /v1/accounts/{account_id}/recipient_banks Retrieve Bank Relationships for an Account #
POST /v1/accounts/{account_id}/recipient_banks Create a Bank Relationship for an Account #
POST /v1/accounts/{account_id}/transfers Request a New Transfer #
GET /v1/accounts/activities Retrieve Account Activities #
GET /v1/accounts/activities/{activity_type} Retrieve Account Activities of Specific Type #
GET /v1/trading/accounts/{account_id}/account Retrieve Trading Details for an Account #
GET /v2beta1/accounts/{account_id}/events/activities/{event_id} Get a single activity (V2) event by event_id ULID #
POST /v1/accounts/{account_id}/options/approval Request options trading for an account (BETA) #
GET /v1/accounts/options/approvals Retrieve options level approval requests (BETA) #
GET /v2/account Get Account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/alpaca:alpaca-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

alpaca-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Alpaca Accounts API
  contact:
    email: support@alpaca.markets
    name: Alpaca Support
    url: https://alpaca.markets/support
  version: '1.0'
  description: 'Operations tagged Accounts across 4 of this provider''s published API definitions: alpaca-eu-broker-api-openapi.json, alpaca-us-broker-api-openapi.json, alpaca-us-trading-api-openapi.json, alpaca-accounts-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: Sandbox endpoint
  url: https://broker-api.sandbox.eu.alpaca.markets
- description: Production endpoint
  url: https://broker-api.eu.alpaca.markets
- description: Sandbox endpoint
  url: https://broker-api.sandbox.alpaca.markets
- description: Production endpoint
  url: https://broker-api.alpaca.markets
- description: Paper
  url: https://paper-api.alpaca.markets
- description: Live
  url: https://api.alpaca.markets
tags:


# --- truncated at 32 KB (254 KB total) ---
# Full source: https://artifacts.apis.io/alpaca/openapi/alpaca-accounts-api-openapi.yml