WebParse

Extract Webpage Metadata

0calls
1 credits / call

Want to create link preview cards in your app? This endpoint helps you get webpage title, description, icon and other information in one click.

GET
uapis.cn
/api/v1/webparse/metadata
Query parameters
1
url
string
required

Webpage URL to extract metadata from

Overview

Provide a webpage URL, returns the page's metadata including title, description, keywords, Favicon, Open Graph info, etc. Perfect for generating link preview cards or SEO analysis.

Query parameters

url
stringrequired

Webpage URL to extract metadata from

Response

200 / OK

Success response

JSON
{
  "page_url": "https://www.bilibili.com",
  "title": "bilibili (゜-゜)つロ Cheers~-bilibili",
  "description": "bilibili is a popular video sharing website in China, offering the latest anime releases, active ACG communities, and creative upcers. Everyone can find fun here.",
  "keywords": [
    "string"
  ],
  "favicon_url": "https://i0.hdslb.com/bfs/static/jinkela/long/images/512.png",
  "language": "zh-CN",
  "author": "",
  "published_time": "",
  "canonical_url": "https://www.bilibili.com/",
  "generator": "",
  "open_graph": {}
}

400 / Bad Request

URL parameter is missing or invalid

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing or invalid 'url' parameter."
}

500 / Internal Server Error

Internal server error

JSON
{
  "code": "INTERNAL_SERVER_ERROR",
  "details": {},
  "message": "Failed to parse webpage metadata."
}