{"data":{"url":"https://www.google.com/","title":"Google","mediaType":"website","contentType":"text/html","images":["https://www.google.com/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png"],"videos":[],"favicons":["https://www.google.com/favicon.ico"],"charset":"ISO-8859-1","reported_malicious":false}}
curl --location --request POST 'https://zylalabs.com/api/4715/url+metadata+api/5825/metadata+capture' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://www.google.com"
}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the URL Metadata API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
Our utility API specializes in retrieving metadata from any URL provided, including essential details such as title, description and images. This functionality extends to Open Graph tags, ensuring complete retrieval of metadata from social networks. The API returns this information in JSON format, facilitating seamless integration across multiple applications and platforms.
One of the main uses of our API is to improve the presentation of content by generating accurate and visually appealing link previews. These previews can significantly improve user engagement by providing a glimpse of the linked web page content before the user clicks on it. This feature is especially valuable in applications where URL sharing is common, such as social networking platforms, messaging applications and content management systems.
In addition, our API incorporates a built-in security feature that checks URLs for malicious content. This proactive approach helps protect users from accessing harmful links, thus improving overall digital security within applications that use our API.
In summary, our URL Metadata API provides a robust solution for retrieving and displaying complete URL metadata. It enables improved user experience, increased content engagement and enhanced security through accurate and informative link previews. The API's simplicity, security features and customization options make it a valuable tool for any application that involves sharing or presenting URLs to users.
It will receive a parameter and provide you with a JSON.
Social Media Sharing: Automatically generate link previews when users share URLs on social media platforms.
Content Management Systems: Enhance content display by fetching and displaying metadata for linked articles, websites, or multimedia.
Messaging Applications: Provide rich previews of shared URLs within chat conversations to improve user experience.
Bookmarking and Link Aggregation: Fetch metadata to create informative summaries or previews of bookmarked URLs.
SEO Tools: Analyze and display metadata to assess the effectiveness of webpage titles, descriptions, and images for search engine optimization.
Besides the number of API calls per month, there are no other limitations.
To use this API, users must indicate the URL of a website.
The URL Metadata API allows you to obtain detailed information about a web page by providing its URL.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
URL Metadata API returns page details such as web page title, description, images, and author
The Metadata Capture endpoint returns detailed information about a web page, including the URL, title, media type, content type, images, videos, favicons, character set, and a flag indicating if the URL is reported as malicious.
Key fields in the response data include "url," "title," "mediaType," "contentType," "images," "videos," "favicons," "charset," and "reported_malicious," which provide comprehensive metadata about the specified URL.
The response data is structured in JSON format, with a "data" object containing all relevant metadata fields. This allows for easy parsing and integration into applications.
The Metadata Capture endpoint provides information such as the web page's title, description, images, videos, favicons, and security status, enabling rich content previews and enhanced user engagement.
Users can customize their requests by specifying different URLs in the POST request to the Metadata Capture endpoint, allowing for tailored metadata retrieval for various web pages.
The data is sourced directly from the web pages specified in the URL provided, utilizing Open Graph tags and other metadata standards to ensure comprehensive and accurate information retrieval.
Data accuracy is maintained through the use of established web standards like Open Graph and by implementing checks for malicious content, ensuring that the metadata retrieved is reliable and safe.
Typical use cases include generating link previews for social media sharing, enhancing content display in CMS, providing rich previews in messaging apps, and analyzing metadata for SEO purposes.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund