---
title: "Get oEmbed data for the given URL"
method: GET
path: "/oembed/"
tags: ["oEmbed"]
---

# Get oEmbed data for the given URL

`GET /oembed/`

Get oEmbed data for the given URL. This is the oEmbed 1.0 consumer endpoint.

## Query parameters

- `url` string, required

## Response `200`

OK

- object
  - `version` string — oEmbed version (always '1.0')
  - `type` string — oEmbed type (e.g. 'rich')
  - `provider_name` string
  - `provider_url` string
  - `author_name` string
  - `author_url` string
  - `html` string — HTML embed code
  - `referrer` string
  - `cache_age` integer — Recommended cache lifetime in seconds

## Other responses

- `default` — Error

---

[API](https://skmtc.net/xenforo-ltd/apis/xenforo-api.md) · [All operations](https://skmtc.net/xenforo-ltd/apis/xenforo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xenforo-ltd/xenforo-api/revisions/b15eba33657a/schema)
