Aries Financial Orders API

Order management endpoints for placing, updating, canceling, and previewing orders

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /v1/orders Place an order #
POST /v1/orders/cancel Cancel an order #
POST /v1/orders/preview Preview order #
POST /v1/orders/replace Replace an order #
GET /v2/accounts/{id}/orders List active orders (v2) #
GET /v2/accounts/{id}/orders/history List order history (v2) #

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/finance-dev:finance-dev-orders-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

finance-dev-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@aries.com
    name: Aries Financial
  description: 'OpenAPI Specification for the Aries trading platform API. # Authentication


    Learn how to authenticate with the Aries API using OAuth2 and manage access tokens in your SDK. ## Overview


    The Aries API uses **OAuth2 with Bearer tokens** (JWT format) for authentication. All API requests require a valid access token in the `Authorization` header:


    ```

    Authorization: Bearer

    ```


    ## Providing Client ID and Client Secret (SDK)


    When using the generated SDK, provide your **Client ID** and **Client Secret** when you create the API client (e.g. in the constructor or security options). The SDK will use these to obtain and refresh the access token internally; you do not need to manage tokens yourself. Obtain your OAuth2 credentials from the Aries platform (e.g. Client Center / Manage Account at https://app.aries.com):


    - **Client ID** – Your application identifier (pass to SDK client)

    - **Client Secret** – Your application secret key (pass to SDK client; use PKCE for public clients where secret cannot be stored)


    ## Authentication Flow


    ### 1. Authorization Code Flow


    For server-side or confidential clients:


    1. **Redirect the user** to the authorization URL to sign in and consent:

    - **URL:** `https://app.aries.com/oauth2/authorize`

    - **Query params:** `response_type=code`, `client_id`, `redirect_uri`, `scope`, `state`


    2. **Exchange the code for tokens** (after user is redirected back with `?code=.`):

    - **POST** `https://api.aries.com/v1/oauth2/token`

    - **Body:** `grant_type=authorization_code`, `code`, `redirect_uri`, `client_id`, `client_secret`

    - Response includes `access_token` and `refresh_token`


    3. **Call the API** with the access token: `Authorization: Bearer `


    ### 2. PKCE Flow


    For SPAs and mobile apps (public clients that cannot store `client_secret`):


    1. Generate a **code_verifier** (random string) and **code_challenge** = BASE64URL(SHA256(code_verifier)). 2. **Redirect the user** to `https://app.aries.com/oauth2/authorize` with `code_challenge`, `code_challenge_method=S256`, plus `client_id`, `redirect_uri`, `scope`, `state`. 3. **Exchange the code** at POST `https://api.aries.com/v1/oauth2/token` with `grant_type=authorization_code`, `code`, `redirect_uri`, `client_id`, `code_verifier` (no client_secret). 4. Use the returned `access_token` as Bearer. ### 3. MFA Verification


    If the user has MFA enabled, the authorize step may return `is_mfa: true` and a `next_step_auth_id`. Call **POST** `https://api.aries.com/v1/oauth2/authorize/mfa` with `next_step_auth_id` and `verification_code` (6-digit code). Then continue with **POST** `/v1/oauth2/authorize/confirm` to get the authorization code, and exchange it at `/v1/oauth2/token`. ## Token Management


    - **Refresh when expired:** POST `https://api.aries.com/v1/oauth2/token` with `grant_type=refresh_token`, `client_id`, `client_secret`, `refresh_token`. - **Using a Bearer token directly:** If you already have an access token, set the header `Authorization: Bearer ` on every request. The SDK can accept a pre-obtained token and use it until it expires. ## OAuth2 Scopes


    Request only the scopes your application needs.'
  title: Aries API — OpenAPI Specification Orders API
  version: 1.0.0
servers:
- description: Production server
  url: https://api.aries.com
- description: Staging server
  url: https://api.tradearies.dev
tags:


# --- truncated at 32 KB (85 KB total) ---
# Full source: https://artifacts.apis.io/finance-dev/openapi/finance-dev-orders-api-openapi.yml