tastytrade transactions API

Operations about transactions

Operations 1

GET /accounts/{account_number}/transactions #

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/tastytrade-transactions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

tastytrade-transactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Account Status accounts Transactions API
  version: 7.1.0
  description: Operations about accounts
servers:
- url: https://api.tastyworks.com
tags:
- name: transactions
  description: Operations about transactions
paths:
  /accounts/{account_number}/transactions:
    get:
      description: "Returns a paginated list of the account's transactions (as identified by the provided authentication token)\n            based on sort param. If no sort is passed in, it defaults to descending order."
      parameters:
      - in: path
        name: account_number
        required: true
        schema:
          type: string
      - in: query
        name: page-offset
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - in: query
        name: per-page
        required: false
        schema:
          type: integer
          format: int32
          default: 250
          maximum: 2000
          minimum: 1
      - in: query
        name: currency
        description: Currency
        required: false
        schema:
          type: string
      - in: query
        name: sort
        description: The order to sort results in. Defaults to Desc, Accepts `Desc` or `Asc`.
        required: false
        schema:
          type: string
          enum:
          - Desc
          - Asc
          default: Desc
      - in: query
        name: sub-type
        description: 'Filter based on transaction_sub_type (example: sub-type[]={value1}&sub-type[]={value2})'
        required: false
        schema:
          type: array
          items:
            type: string
      - in: query
        name: type
        description: Filter based on transaction_type
        required: false
        schema:
          type: string
      - in: query
        name: types
        description: 'Allows filtering on multiple transaction_types (example: types[]={value1}&types[]={value2})'
        required: false
        schema:
          type: array
          items:
            type: string
      - in: query
        name: action
        description: The action of the transaction. i.e. `Allocate`, `Buy`, `Buy to Close`, `Buy to Open`, `Sell`, `Sell to Close` or `Sell to Open`
        required: false
        schema:
          type: string
      - in: query
        name: end-date
        description: The end date of transactions to query. Defaults to now.
        required: false
        schema:
          type: string
          format: date
          default: {}
      - in: query
        name: futures-symbol
        description: "The full TW Future Symbol `/ESZ9` or \\\n                                          `/NGZ19` if two year digit are appropriate"
        required: false
        schema:
          type: string
      - in: query
        name: instrument-type
        description: The type of Instrument. i.e. `Bond`, `Cryptocurrency`, `Currency Pair`, `Equity`, `Equity Offering`, `Equity Option`, `Event Contract`, `Fixed Income Security`, `Future`, `Future Option`, `Index`, `Liquidity Pool`, `Unknown` or `Warrant`
        required: false
        schema:
          type: string
      - in: query
        name: partition-key
        description: Account partition key
        required: false
        schema:
          type: string
      - in: query
        name: start-date
        description: The start date of transactions to query.
        required: false
        schema:
          type: string
          format: date
      - in: query
        name: symbol
        description: "The Stock Ticker Symbol `AAPL`, OCC Option Symbol `AAPL  191004P00275000`, \\\n                                                 TW Future Symbol `/ESZ9`, or TW Future Option Symbol `./ESZ9 EW4U9 190927P2975`"
        required: false
        schema:
          type: string
      - in: query
        name: underlying-symbol
        description: "The Underlying Symbol. The Ticker Symbol `FB` or \\\n                                                              TW Future Symbol with out date component `/M6E` or\n                                                              the full TW Future Symbol `/ESU9`"
        required: false
        schema:
          type: string
      - in: query
        name: end-at
        description: DateTime end range for filtering transactions in full date-time
        required: false
        schema:
          type: string
          format: date-time
      - in: query
        name: start-at
        description: DateTime start range for filtering transactions in full date-time
        required: false
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: "Returns a paginated list of the account's transactions (as identified by the provided authentication token)\n            based on sort param. If no sort is passed in, it defaults to descending order."
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Transaction'
      tags:
      - transactions
      operationId: getAccountsAccountNumberTransactions
components:
  schemas:
    Transaction:
      type: object
      properties:
        id:
          description: ''
          type: integer
          format: int32
        account-number:
          description: ''
          type: string
        action:
          description: ''
          type: string
        agency-price:
          description: ''
          type: number
          format: double
        clearing-fees:
          description: ''
          type: number
          format: double
        clearing-fees-effect:
          description: ''
          type: string
        commission:
          description: ''
          type: number
          format: double
        commission-effect:
          description: ''
          type: string
        lots:
          description: ''
          type: object
          properties:
            id:
              description: ''
              type: string
            executed-at:
              description: ''
              type: string
              format: date-time
            price:
              description: ''
              type: number
              format: double
            quantity:
              description: ''
              type: number
              format: double
            quantity-direction:
              description: ''
              type: string
            transaction-date:
              description: ''
              type: string
              format: date
            transaction-id:
              description: ''
              type: integer
              format: int32
        cost-basis-reconciliation-date:
          description: ''
          type: string
          format: date
        created-at:
          description: ''
          type: string
          format: date-time
        currency:
          description: ''
          type: string
        currency-conversion-fees:
          description: ''
          type: number
          format: double
        currency-conversion-fees-effect:
          description: ''
          type: string
        description:
          description: ''
          type: string
        destination-venue:
          description: ''
          type: string
        exchange:
          description: ''
          type: string
        exchange-affiliation-identifier:
          description: ''
          type: string
        exec-id:
          description: ''
          type: string
        executed-at:
          description: ''
          type: string
          format: date-time
        ext-exchange-order-number:
          description: ''
          type: string
        ext-exec-id:
          description: ''
          type: string
        ext-global-order-number:
          description: ''
          type: integer
          format: int32
        ext-group-fill-id:
          description: ''
          type: string
        ext-group-id:
          description: ''
          type: string
        instrument-type:
          description: ''
          type: string
        is-estimated-fee:
          description: ''
          type: boolean
        leg-count:
          description: ''
          type: integer
          format: int32
        net-value:
          description: ''
          type: number
          format: double
        net-value-effect:
          description: ''
          type: string
        order-id:
          description: ''
          type: integer
          format: int32
        other-charge:
          description: ''
          type: number
          format: double
        other-charge-description:
          description: ''
          type: string
        other-charge-effect:
          description: ''
          type: string
        price:
          description: ''
          type: number
          format: double
        principal-price:
          description: ''
          type: number
          format: double
        proprietary-index-option-fees:
          description: ''
          type: number
          format: double
        proprietary-index-option-fees-effect:
          description: ''
          type: string
        quantity:
          description: ''
          type: number
          format: double
        regulatory-fees:
          description: ''
          type: number
          format: double
        regulatory-fees-effect:
          description: ''
          type: string
        reverses-id:
          description: ''
          type: integer
          format: int32
        symbol:
          description: ''
          type: string
        transaction-date:
          description: ''
          type: string
          format: date
        transaction-sub-type:
          description: ''
          type: string
        transaction-type:
          description: ''
          type: string
        underlying-symbol:
          description: ''
          type: string
        value:
          description: ''
          type: number
          format: double
        value-effect:
          description: ''
          type: string
      description: Transaction model