# Price ticker OG image template

A market quote: the price set huge, the change as a green or red wedge and a sparkline across the card.

- Slug: `price-ticker`
- Preview (real render): https://shareglint.com/storage/template-previews/price-ticker.jpg
- Page: https://shareglint.com/en/templates/price-ticker

For finance media, exchanges, brokers and crypto apps posting a price update per symbol. The colour follows the sign of `change_pct` (minus is red, zero is grey), the sparkline is drawn from up to 60 numbers in `series`, and a long price shrinks to fit. Give `rows` two or more symbols and the sparkline turns into a watchlist of up to five rows. Wide frames keep the quote and chart in one column; square and vertical frames stack the change under a larger price.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `symbol` | text | Ticker in the accent chip, e.g. BTC or AAPL. | BTC |
| `name` | text | Full name next to the ticker. | Bitcoin |
| `price` | text | Price as you want it shown, e.g. $67,120. | $67,120 |
| `change_pct` | text | Change in percent, e.g. +2.4 or -1.1; the sign sets green or red and a % is added when missing. | +2.4 |
| `change_abs` | text | Change in money, under the percentage, e.g. +$1,574. | +$1,574 |
| `series` | text | Numbers for the sparkline separated by `;`, oldest first, e.g. 61.2;62.0;61.4. At least two, the last 60 are drawn. | 61.2;62.0;61.4;63.1;62.7;64.0;63.6;65.2;64.8;66.1;65.7;67.1 |
| `timestamp` | text | Time of the quote, e.g. Oct 26, 2026 · 09:00 UTC. | Oct 26, 2026 · 09:00 UTC |
| `rows` | text | Optional watchlist: items separated by `;`, each as symbol\|price\|change, e.g. ETH\|$3,412\|-1.1. Two or more replace the sparkline; five are shown. | — |
| `logo` | image URL | Asset or company logo, round. | https://example.com/images/b05-coin.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #f59e0b) | #f59e0b |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "price-ticker",
    "modifications": {
        "symbol": "BTC",
        "name": "Bitcoin",
        "price": "$67,120",
        "change_pct": "+2.4",
        "change_abs": "+$1,574",
        "series": "61.2;62.0;61.4;63.1;62.7;64.0;63.6;65.2;64.8;66.1;65.7;67.1",
        "timestamp": "Oct 26, 2026 · 09:00 UTC",
        "logo": "https://example.com/images/b05-coin.png"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/price-ticker/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
