Endpoint Playground
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.
14 Oct 2026: Single record response; 0 fields had a value in every checked item.
curl "https://api.crawlora.net/api/v1/yahoo-finance/ticker/SPY/capital-gains" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| symbol (path) | string | Yes | SPY | Yahoo Finance symbol such as SPY |
{
"code": 200,
"msg": "OK",
"data": {
"capital_gains": [
{
"timestamp": 1766102400,
"amount": 1.23
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.