---
title: "oEmbed provider"
method: GET
path: "/oembed"
tags: ["Embeds"]
---

# oEmbed provider

`GET /oembed`

## Request

- Base URL: `https://michaelghelfistudios.com/api/v1`
- URL: `https://michaelghelfistudios.com/api/v1/oembed`
- Auth: none declared

Turns one of our page URLs (an encyclopedia entry, a track, an artist, an album) into an embeddable card, per the oEmbed spec. Platforms that support oEmbed discovery (WordPress, Discord, Notion, Ghost, Discourse…) call this on their own when a link is pasted.

## Query parameters

- `url` string, uri, required
- `format` 'json'
- `maxwidth` integer
- `maxheight` integer

## Response `200`

An oEmbed `rich` document.

- object

## Other responses

- `404`: Not an embeddable URL.
- `501`: Unsupported format.

---

[API](https://skmtc.dev/michaelghelfistudios/apis/mgs-toolbox-public-api.md) · [All operations](https://skmtc.dev/michaelghelfistudios/apis/mgs-toolbox-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/michaelghelfistudios/apis/mgs-toolbox-public-api/revisions/20d2b0932478?raw)
