> ## Documentation Index
> Fetch the complete documentation index at: https://stonkpile.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Share cards

> GET /api/card/{stock}.png — a live rendered card for any rated ticker.

```
GET https://stonkpile.xyz/api/card/{stock}.png
GET https://stonkpile.xyz/api/card/board.png
```

A 1200 by 630 image, rendered at request time from the current index. Use it as an unfurl image, in a post, or anywhere a picture of the verdict is more useful than the verdict in text.

## Path parameter

**stock** `string` *required*

A rated ticker, by symbol or underlying, for example `NVDAx` or `NVDA`. Use `board` for the whole index rather than one stock.

```bash One stock theme={null}
curl -o nvda.png https://stonkpile.xyz/api/card/NVDAx.png
```

```html Unfurl theme={null}
<meta property="og:image" content="https://stonkpile.xyz/api/card/NVDAx.png" />
```

> [!WARNING]
>
> Social crawlers cache by image URL and most never come back. If you embed a card somewhere permanent, add a version query string and bump it when you want the image re-fetched. The numbers inside the card keep moving whether or not the crawler notices.

## Charts

```
GET https://stonkpile.xyz/api/chart/{name}.png
```

The same idea for the category over time, rendered from [the nightly record](https://stonkpile.xyz/docs/concepts/record.md) rather than the live index. Not every section has a chart route; the ones that do are linked from the site.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.