---
updatedAt: 2025-09-24T00:06:33.000Z
agentTools:
  projectIndex: https://docs.bridgeapi.io/v2021.06.01/llms.txt
---

# Stock resource

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Field
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `id`
        *long*
      </td>

      <td style={{ textAlign: "left" }}>
        Internal id used to fetch individual stocks
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `current_price`\
        *double*
      </td>

      <td style={{ textAlign: "left" }}>
        Current unitary price for one stock
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `quantity`\
        *double*
      </td>

      <td style={{ textAlign: "left" }}>
        Quantity of stocks owned
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `total_value`\
        *double*
      </td>

      <td style={{ textAlign: "left" }}>
        Total value of this stock's portfolio = `current_price` * `quantity`
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `average_purchase_price`\
        *double*
      </td>

      <td style={{ textAlign: "left" }}>
        Average stock purchase price
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `updated_at`\
        *timestamp*
      </td>

      <td style={{ textAlign: "left" }}>
        Timestamp recording when the stock was last updated
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `ticker`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Stock 4 characters identifier. Ex.: 'AAPL'
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `stock_key`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Stock identification key
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `created_at`\
        *timestamp*
      </td>

      <td style={{ textAlign: "left" }}>
        Timestamp recording when this stock was added to the portfolio
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `isin`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Stock's ISIN
        (see [https://en.wikipedia.org/wiki/ISO\_6166](https://en.wikipedia.org/wiki/ISO_6166))
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `currency_code`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        3 letters [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `marketplace`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Marketplace where the stock is traded
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `label`\
        *string*
      </td>

      <td style={{ textAlign: "left" }}>
        Stock label
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `value_date`\
        *date*
      </td>

      <td style={{ textAlign: "left" }}>
        The date at which the `current_price` value was recorded
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `is_deleted`\
        *boolean*
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `account_id`\
        *long*
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the account linked to the stock
      </td>
    </tr>
  </tbody>
</Table>

# Example stock ressource

```json
{
   "id": 1510467,
   "current_price": 124.96,
   "quantity": 8.0,
   "total_value": 999.68,
   "average_purchase_price": 94.12,
   "updated_at": "2019-09-27T10:27:16.573Z",
   "ticker": "FB",
   "stock_key": "US30303M1027-FACEBOOK--USD",
   "created_at": "2019-09-27T10:27:17.000Z",
   "isin": "US30303M1027",
   "currency_code": "USD",
   "marketplace": null,
   "label": "Facebook",
   "value_date": "2015-08-23",
   "is_deleted": false,
   "account_id": 16717622
}
```