oEmbed
Updated: Nov 9, 2026
Copy for LLM
The Threads oEmbed endpoint allows you to embed a public Threads post or profile in external websites and apps. See Embed a Threads post for more information.
GET /oembed?url=...
Retrieve the embed HTML code snippet and metadata of a post or profile.
Parameters
| Name | Description |
|---|---|
url
URL string
| Required. Permanent link to the post or profile on Threads. Accepted formats:
Examples:
|
maxwidth
int
| Optional. Maximum width of returned media. Must be between 320 and 658 pixels. Note: The maxheight parameter is not supported because the embed code is responsive and its height varies depending on its width. |
theme
string
| Optional. Display mode for the embed. Accepted values:
|
Fields
| Name | Description |
|---|---|
html
string
| The HTML used to display the post or profile. |
provider_name
string
| Name of the provider (Threads). |
provider_url
URL string
| URL of the provider (https://www.threads.com/). |
type
string
| The oEmbed resource type. See https://oembed.com/. |
version
string
| Always 1.0. See https://oembed.com/. |
width
int
| The width in pixels required to display the HTML. |