v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-05-286377631.6 MB
/api/public

GET /api/public/oembed

oEmbed endpoint used to retrieve embed code and metadata for a (public) Metabase URL.

get/api/public/oembed

Query parameters

urlstring required
format'json' nullable

The format param is not used by the API, but is required as part of the oEmbed spec: http://oembed.com/#section2 just return an error if format is specified and it's anything other than json.

maxheightinteger required
maxwidthinteger required

Response

Successful response