The Text Highlights API helps to extract the main topics from a large text, such as articles, news or emails, saving you time and providing you with only the key information. Simply load the full text into the API and it will return the main topics of the text. The number of topics identified will vary depending on the size of the original text.
{"highlights": ["It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", "The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32."]}
curl --location --request POST 'https://zylalabs.com/api/1570/text+highlights+api/1267/highlighter' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from \"de Finibus Bonorum et Malorum\" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham."
}'
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 Text Highlights 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
The Text Highlights API is a powerful tool for anyone who wants to extract the most important information from a large text, such as an article, news piece, or email. With this API, users can quickly and easily identify the key topics of a text, saving time and increasing productivity.
The API works by analyzing the full text and identifying the main topics, or key points, of the content. This is particularly useful for individuals who need to read a large volume of texts, but don't have the time to read them in their entirety. By identifying the most important topics, the API helps to prioritize the information and focus on what's most relevant.
The number of topics identified by the Text Highlights API will vary depending on the size of the original text. For longer texts, the API will identify a greater number of topics, while shorter texts may have only a few main topics. This flexibility allows users to customize the level of detail they receive, depending on their needs.
One of the main benefits of the Text Highlights API is its ability to save time and increase productivity. By providing users with a concise summary of the key topics, the API eliminates the need to read through lengthy texts in their entirety. This can be particularly useful for professionals in industries such as journalism, marketing, and research, who need to stay up-to-date on the latest news and trends.
The Text Highlights API is also user-friendly and easy to integrate into a variety of applications. The API can be accessed using simple API calls, which can be integrated into a wide range of programming languages and frameworks. This makes it easy for developers to create applications that utilize the Text Highlights API, allowing users to extract the most important information from a variety of texts.
In conclusion, the Text Highlights API is a valuable tool for anyone who wants to save time and increase productivity when reading large volumes of text. With its ability to identify the main topics of a text, the API provides users with a concise summary of the key information, allowing them to focus on what's most important. Its ease of use and flexibility make it an excellent choice for a wide range of applications and industries.
Pass the text that you want to highlight. Receive the summary.
News Aggregation: News aggregation services can use the Text Highlights API to extract key topics from a variety of news articles and create concise summaries for their users. This can save users time by providing them with only the most important information, while allowing them to stay up-to-date on the latest news.
Market Research: Market research companies can use the Text Highlights API to quickly identify key themes and topics in market reports and consumer feedback. This can help companies to gain insights into customer preferences and make data-driven decisions.
Educational Tools: Educational tools can use the Text Highlights API to extract key concepts and topics from long-form texts such as textbooks and research papers. This can help students to quickly understand complex topics and focus on the most important information.
Content Creation: Content creators can use the Text Highlights API to extract key topics from a variety of sources such as news articles, social media posts, and research papers. This can help creators to quickly identify trends and topics that are relevant to their audience, and to create high-quality content that resonates with their readers.
Email Management: Email management tools can use the Text Highlights API to extract key topics from long emails, such as those with multiple paragraphs or long chains of replies. This can help users to quickly understand the key points of an email and prioritize their responses, without having to read through the entire message.
Besides the number of API calls, there is no other limitation.
The Highlighter endpoint returns a JSON object containing an array of key topics extracted from the input text. Each topic represents a significant point or concept identified in the original content.
The primary field in the response data is "highlights," which is an array of strings. Each string corresponds to a main topic or key point extracted from the provided text.
The response data is structured as a JSON object. It includes a single key, "highlights," which contains an array of strings. Each string in the array represents a distinct topic derived from the input text.
The Highlighter endpoint primarily accepts the input text as a parameter. Users can customize their requests by varying the length and complexity of the text to analyze the number of topics returned.
The Highlighter endpoint extracts main topics from various text types, including articles, emails, and reports. It focuses on identifying key points that summarize the essential information within the provided content.
Users can utilize the returned data by reviewing the "highlights" array to quickly grasp the main topics of the text. This allows for efficient information retrieval and prioritization of reading material.
Data accuracy is maintained through advanced text analysis algorithms that identify key topics based on linguistic patterns and context. Continuous updates and improvements to the algorithms help enhance the quality of the extracted information.
Typical use cases include news aggregation, market research, educational tools, content creation, and email management. The API helps users quickly identify and summarize key topics from lengthy texts, improving productivity.
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