---
title: "A chart’s public embed, image or SVG"
method: GET
path: "/embed/{file}"
---

# A chart’s public embed, image or SVG

`GET /embed/{file}`

## Request

- Base URL: `https://api.typesearch.ai`
- URL: `https://api.typesearch.ai/embed/{file}`
- Auth: none required

`chart_…` is the iframe page (it switches to a compact layout under 480 px and posts `typesearch:chart:resize` with its height); `chart_….png` the image at 2×; `chart_….svg` the SVG. Query: `theme` (light, dark, editorial, electric) and, for png and svg, `size=compact`. No key needed.

## Path parameters

- `file` string, required

## Response `200`

HTML, PNG or SVG.

## Other responses

- `404`: No such chart, or it expired.

---

[API](https://skmtc.dev/typesearch/apis/typesearch-news-search-api.md) · [All operations](https://skmtc.dev/typesearch/apis/typesearch-news-search-api/llms.txt) · [OpenAPI document](https://skmtc.dev/typesearch/apis/typesearch-news-search-api/revisions/b270b9a9c6a5?raw)
