The Bing URL Preview API provides primary details like title, snippet and dominant image from a URL.
URL Preview
Query
{
"_type": "WebPage",
"name": "Microsoft - Official Home Page",
"url": "https://www.microsoft.com/",
"description": "At Microsoft our mission and values are to help people and businesses throughout the world realize their full potential.",
"primaryImageOfPage": {
"contentUrl": "https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1SYUN?ver=7747&q=90&m=8&h=609&w=1083&b=%23FFFFFFFF&l=f&x=3&y=0&s=2116&d=1190&aim=true"
}
}
{
"_type": "ErrorResponse",
"instrumentation": {},
"errors": [
{
"code": "InvalidRequest",
"subCode": "ParameterInvalidValue",
"message": "Parameter has invalid value.",
"moreDetails": "Query must be a valid URL",
"parameter": "q"
}
]
}
{
"error": {
"statusCode": 401,
"message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key."
}
}
{
"error": {
"statusCode": 403,
"message": "Out of call volume quota. Quota will be replenished in 2.12 days."
}
}
{
"error": {
"statusCode": 429,
"message": "Rate limit is exceeded. Try again in 26 seconds."
}
}