The Website Content Extractor API allows you to obtain structured and detailed information from any website by simply entering its URL. When you make a request, the system analyzes the target page and returns multiple key elements that describe its content and structure. The extracted data includes the page title, general description (often obtained from the meta description tag), base domain, specific URL path, any additional parameters in the URL, and the main meta tags, such as description or viewport.
Additionally, it provides the favicon path, which can be used to display the icon associated with the site in visual interfaces. This functionality is useful for creating listings, search engines, rich previews, bookmarking applications, or SEO analysis tools.
To use this endpoint, you must specify a website in the parameter.
Get Metadata - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] Indicates a URL |
{"url": "https://wikipedia.com", "domain": "wikipedia.com", "url_path": "", "url_parameters": {}, "page_title": "Wikipedia", "page_description": "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.", "meta_tags": {"description": "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.", "viewport": "initial-scale=1,user-scalable=yes"}, "favicon": "/static/apple-touch/wikipedia.png"}
curl --location --request GET 'https://zylalabs.com/api/8493/website+content+extractor+api/14874/get+metadata?url=https://wikipedia.com' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns structured metadata from a specified web page, including the page title, meta description, favicon URL, base domain, specific URL path, and key meta tags. This data helps in understanding the content and structure of the webpage.
The key fields in the response include "title" (page title), "description" (meta description), "favicon" (favicon URL), "domain" (base domain), "path" (specific URL path), and "metaTags" (additional metadata). Each field provides essential information about the webpage.
The response data is organized in a JSON format, with each key field clearly labeled. This structure allows for easy parsing and integration into applications, enabling developers to access specific metadata elements efficiently.
The API provides information such as the page title, meta description, favicon path, base domain, URL path, and additional meta tags. This comprehensive data is useful for SEO analysis, content previews, and web scraping.
Users can customize their requests by specifying the URL of the webpage they want to analyze in the API call. This allows for targeted extraction of metadata from any accessible web page.
Typical use cases include creating rich previews for social media, developing bookmarking applications, enhancing search engine results, and performing SEO analysis to optimize website visibility and performance.
Data accuracy is maintained through continuous updates and checks against live web pages. The API extracts real-time metadata, ensuring that the information reflects the current state of the specified webpage.
If the API returns partial or empty results, users should verify the URL for correctness and ensure the target page is accessible. Implementing error handling in the application can help manage such scenarios effectively.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,374ms
Service Level:
100%
Response Time:
833ms
Service Level:
100%
Response Time:
10,154ms
Service Level:
100%
Response Time:
1,711ms
Service Level:
100%
Response Time:
878ms
Service Level:
100%
Response Time:
3,382ms
Service Level:
100%
Response Time:
7,660ms
Service Level:
100%
Response Time:
2,381ms
Service Level:
100%
Response Time:
547ms
Service Level:
100%
Response Time:
3,976ms