Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Alpaca Funding API

The Funding API from Alpaca — 7 operation(s) for funding.

Alpaca Funding API is one of 23 APIs that Alpaca publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Funding. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 10 operations across 7 paths, and defines 12 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: https://broker-api.sandbox.alpaca.markets, https://broker-api.alpaca.markets.

10 operations 7 paths 12 schemas 3 DELETE4 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://api.alpaca.markets/v2
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

Alpaca Funding API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (BasicAuth). By default, every request must be authenticated.

Paths & Operations 10

Across 7 paths, the API surfaces 10 operations — 3 DELETE, 4 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Funding 10
GET
/v1/accounts/{account_id}/recipient_banks
Retrieve bank relationships for an account
getRecipientBanks 3 params → 200400
POST
/v1/accounts/{account_id}/recipient_banks
Create a Bank Relationship for an account
createRecipientBank 2 params body → 200400409
DELETE
/v1/accounts/{account_id}/recipient_banks/{bank_id}
Delete a Bank Relationship for an account
deleteRecipientBank 2 params → 204400404
GET
/v1/accounts/{account_id}/transfers
Return a list of transfers for an account.
getTransfersForAccount 4 params → 200
POST
/v1/accounts/{account_id}/transfers
Request a new transfer
createTransferForAccount 2 params body → 200
DELETE
/v1/accounts/{account_id}/transfers/{transfer_id}
Request to close a transfer
deleteTransfer 2 params → 204404
GET
/v1/accounts/{account_id}/ach_relationships
Retrieve ACH Relationships for an account
getAccountACHRelationships 2 params → 200
POST
/v1/accounts/{account_id}/ach_relationships
Create an ACH Relationship
createACHRelationshipForAccount 1 param body → 200400401409
DELETE
/v1/accounts/{account_id}/ach_relationships/{ach_relationship_id}
Delete an existing ACH relationship
deleteACHRelationshipFromAccount 2 params → 204400404
GET
/v1/events/transfers/status
Subscribe to Transfer Events (SSE)
subscribeToTransferStatusSSE 4 params → 200

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are Transfer (15 properties), Bank (14 properties), ACHRelationship (10 properties), CreateBankRequest (9 properties). Each schema is shown below with its type and property counts.

Transfer
object
Transfers allow you to transfer money/balance into your end customers' account (deposits) or out (withdrawal). [Main docs here](https://alpaca.markets/docs/api…
15 properties 7 required
TransferDirection
string
- INCOMING Funds incoming to user’s account (deposit). - OUTGOING Funds outgoing from user’s account (withdrawal).
TransferStatus
string
- QUEUED Transfer is in queue to be processed. - APPROVALPENDING Transfer is pending approval. - PENDING Transfer is pending processing. - SENTTOCLEARING Trans…
ACHRelationship
object
10 properties 6 required
TransferType
string
NOTE: The Sandbox environment currently only supports ach - ach Transfer via ACH (US Only). - wire Transfer via wire (international).
CreateACHRelationshipRequest
object
Represents the fields used in creation of a new ACHRelationship. You can create an ACHRelationship by passing the required fields here or if you have an accoun…
6 properties 4 required
Bank
object
14 properties 7 required
CreateTransferRequest
object
[See main docs here](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/creating-a-transfer-entity)
7 properties 4 required
CreateBankRequest
object
Represents the possible fields to send when creating a new associated Bank resource for an account
9 properties 4 required
TransferTiming
string
Only immediate is currently supported. values: - immediate - nextday
Error
object
2 properties 2 required
TransferStatusEvent
object
Represents a change in a Transfer's status, sent over the events streaming api.
6 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

alpaca-funding-api-openapi.yml Raw ↑

Other APIs Alpaca publishes across the network.

Alpaca Trading API
Alpaca OAuth API
Alpaca Account Activities API
Alpaca Account Configurations API
Alpaca Accounts API
Alpaca Assets API
Alpaca Calendar API
Alpaca Clock API
Alpaca Corporate Actions API
Alpaca Crypto Pricing Data API API
Alpaca Documents API
Alpaca Events API