---
title: "Yahoo Finance capital gains"
method: GET
path: "/yahoo-finance/ticker/{symbol}/capital-gains"
tags: ["Yahoo Finance"]
---

# Yahoo Finance capital gains

`GET /yahoo-finance/ticker/{symbol}/capital-gains`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/yahoo-finance/ticker/{symbol}/capital-gains`
- Auth: API key in header `x-api-key`

Returns capital gain events for a Yahoo Finance `symbol`, mainly ETFs and mutual funds such as `SPY`, each with a Unix timestamp and an amount, when Yahoo provides them. The response object also has `dividends` and `splits` fields.

## Path parameters

- `symbol` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- YahoofinanceActionsResponseDoc
  - `code` integer
  - `data` YahoofinanceActionEvents
    - `capital_gains` object[]: Capital gain distributions in the period.
    - `dividends` object[]: Dividend payments in the period.
    - `splits` object[]: Stock splits in the period.
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
