About the API:
The challenge of breaking down a string of written language into its individual phrases is known as sentence segmentation. Using punctuation, especially the full stop/period letter is a suitable approximation in English and certain other languages. Due to the usage of the full stop character for abbreviations, which may or may not also end a phrase, this issue is not simple even in English.
Pass any paragraph to this API in a JSON object, and receive an array with all the sentences recognized in the text.
This API will help you to retrieve sentences in a given text. Maybe, sometimes you don't need all the text or want to extract different sentences from an article, this API will help you.
Besides API call limitations per month, there are no other limitations.
| 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 Segmentation endpoint returns an array of sentences extracted from the provided text. Each sentence is identified based on punctuation and sentence structure.
The primary field in the response data is an array called "sentences," which contains the segmented sentences as individual string elements.
The response data is structured as a JSON object containing a single key, "sentences," which maps to an array of strings, each representing a distinct sentence from the input text.
The Segmentation endpoint accepts a single parameter: the input text, which should be provided as a string within a JSON object.
Users can customize their requests by varying the input text they provide. Different paragraphs will yield different arrays of segmented sentences based on their content.
Typical use cases include extracting sentences for summarization, analyzing sentence structure, or isolating quotes from larger texts for further processing.
If the input text is empty or does not contain recognizable sentences, the API will return an empty array. Users should check for this condition to handle such cases gracefully.
The API employs algorithms that utilize punctuation and linguistic rules to ensure accurate sentence segmentation. Continuous updates and testing help maintain data quality.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
94ms
Service Level:
100%
Response Time:
2,466ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
822ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
4,048ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
171ms
Service Level:
100%
Response Time:
553ms
Service Level:
100%
Response Time:
333ms
Service Level:
100%
Response Time:
0ms
Service Level:
96%
Response Time:
1,550ms
Service Level:
100%
Response Time:
626ms
Service Level:
93%
Response Time:
490ms
Service Level:
100%
Response Time:
1,189ms
Service Level:
100%
Response Time:
2,452ms
Service Level:
100%
Response Time:
500ms