The rating block of a review site: product picture and name, a big average over partly filled stars, the review count and a five-to-one histogram.
These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.
For shops, apps, venues and SaaS review pages showing what all reviews add up to (one review is testimonial-stars). Give the average and count or let the card work them out from the distribution. Stars are clipped to the average and clamped to 0–5; a missing picture becomes a monogram tile. Wide and square frames put the score beside the histogram; vertical ones centre a big picture, the score and the bars under each other.
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 |
|---|---|---|---|
subject |
text | What is rated, e.g. Northwind Studio Headphones. default: Product name | Northwind Studio Headphones |
average |
text | Average rating as written, e.g. 4.7. Empty = computed from the distribution. | 4.7 |
count |
text | Review count as written, e.g. 1,240 reviews. Empty = the sum of the distribution. | 1,240 reviews |
distribution |
text | Reviews per star, as 5:820, 4:260, 3:90, 2:40, 1:30 or five bare numbers from five stars down. | 5:902, 4:228, 3:62, 2:28, 1:20 |
platform |
text | Where the reviews come from, e.g. Verified buyers on northwind.shop. | Verified buyers on northwind.shop |
platform_logo |
image URL | Logo next to the platform. | https://example.com/images/logo-northwind.png |
image |
image URL | Product picture; without it the first letter of the subject is shown. | https://example.com/images/headphones.jpg |
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. default: light | — |
Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.
curl -X POST "https://shareglint.com/v1/images?wait=true" \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"template": "rating-summary",
"modifications": {
"subject": "Northwind Studio Headphones",
"average": "4.7",
"count": "1,240 reviews",
"distribution": "5:902, 4:228, 3:62, 2:28, 1:20",
"platform": "Verified buyers on northwind.shop",
"platform_logo": "https://example.com/images/logo-northwind.png",
"image": "https://example.com/images/headphones.jpg"
}
}'
For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.
<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/rating-summary.png?average=4.7&count=1%2C240%20reviews&distribution=5%3A902%2C%204%3A228%2C%203%3A62%2C%202%3A28%2C%201%3A20&platform=Verified%20buyers%20on%20northwind.shop&subject=Northwind%20Studio%20Headphones&s=YOUR_SIGNATURE">
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.
curl -X POST "https://shareglint.com/v1/templates/library/rating-summary/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Star review
Pros and cons
Before / after
QR code card
Coming soon
Logo wall
Lead magnet
Call to action
Blog post
All 9 Marketing & social proof templates → · All templates →