Skip to main content
GET
/
paper-trading
/
accounts
/
{accountId}
/
trades
cURL
curl --request GET \
  --url https://api.yoshi.ai/v1/paper-trading/accounts/{accountId}/trades \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "<string>",
      "subtype": "<string>",
      "name": "<string>",
      "symbol": "<string>",
      "quantity": 123,
      "price": 123,
      "amount": 123,
      "date": "<string>",
      "created_at": "<string>"
    }
  ],
  "has_more": true,
  "cursor": "<string>",
  "count": 123,
  "meta": {
    "request_id": "req_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "timestamp": "2026-04-10T12:00:00.000Z"
  }
}

Authorizations

Authorization
string
header
default:yoshi_test_...
required

A Yoshi API key from Settings → API Keys, or a Yoshi OAuth access token issued by Sign in with Yoshi.

Path Parameters

accountId
string<uuid>
required

Query Parameters

cursor
string

Opaque cursor from a previous response

limit
integer
default:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100

Response

Trades retrieved.

data
object[]
required
has_more
boolean
required
cursor
string | null
required

Opaque cursor for the next page, null if no more pages

count
integer
required

Number of items in the current page

meta
object
required
Last modified on June 18, 2026