Unfurl URL Embed
DevelopingGET
/unfurlThis is a reasonably faithful re-implementation of Discord's web scraper. This endpoint may eventually require authorization.
Notes
Unfortunately, Discord's real scraper is notoriously ignorant of robots.txt
and the like, so in order to match functionality, the robots.txt file is also ignored in this re-implementation (for now). Additionally, because Discohook does not pretend to be Discordbot
(or a real browser), many Discord- or real-browser- specific responses will not appear as they do in Discord.
Request
Query Params
url
string <uri>
required
http(s) URL of the resource to unfurl
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
embeds
array [object {11}]
required
type
enum<string>
optional
Allowed values:
richimagevideogifvarticlelink
title
string
optional
description
string
optional
color
integer
optional
author
object
optional
fields
array [object {3}]
optional
footer
object
optional
timestamp
string <date-time>
optional
image
object
optional
thumbnail
object
optional
provider
object
optional
Example
Not configured
Last modified: 5 months ago