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

# Open Graph Images

> Server-rendered social share card PNGs for webapp pages and market symbols.

`platform-api` renders the Open Graph / Twitter card images referenced by
`webapp-v2` meta tags. All images are 1200x630 PNGs rendered with the Glider
brand system (landing palette, PP Mori type, hero imagery).

## Endpoints

Static share cards (cached 1 hour, `stale-while-revalidate` 24 hours):

* `GET /v1/og/general.png` — landing hero card (home page)
* `GET /v1/og/explore.png` — explore discovery card
* `GET /v1/og/stocks.png` — stocks discovery card
* `GET /v1/og/crypto.png` — crypto discovery card

Dynamic symbol card (cached 5 minutes, `stale-while-revalidate` 1 hour):

* `GET /v1/og/symbol/:symbol.png` — e.g. `/v1/og/symbol/NVDA.png`,
  `/v1/og/symbol/ETH.png`

## Symbol Card

The symbol segment accepts `A–Z`, `0–9`, `.`, `$`, and `-` (max 15 chars,
case-insensitive) followed by `.png`. An optional `assetClass` query parameter
(`crypto` or `tradfi`) disambiguates symbols that exist in both classes.

The card resolves the symbol through the asset-universe taxonomy and renders:

* asset logo (ticker branding for equities, token image for crypto)
* canonical symbol, name, asset-class and exchange chips
* last price with 24h change badge
* 30-day (equities) or 7-day (crypto) sparkline
* market cap and, for crypto, 24h volume

Unresolved symbols return a branded fallback card with HTTP 200 so link
previews never break. Invalid symbol segments return HTTP 400.

## Auth

None. The endpoints are public and unauthenticated so social scrapers
(Twitter/X, Discord, Slack, iMessage) can fetch them.

```bash theme={null}
curl --request GET \
  --url 'https://api.glider.fi/v1/og/symbol/NVDA.png' \
  --output nvda-card.png
```
