About the API:
Similarities between texts can be more usual than you think. This API will provide the ultimate tool to detect and measure the similarity between given texts.
Use this tool to prevent plagiarism or to detect the similarity between text.
Pass two text strings to this API and receive the similarity percentage estimated.
We must constantly determine how closely two texts are comparable in meaning.
Beyond the word overlap between the two, search engines must simulate the relevance of a document to a query. A question-and-answer website like Quora or Stackoverflow, for example, needs to know if a question has already been posed.
Assuming that if a new contract is similar to an existing one that has proven to be robust, the chance that this new contract would result in financial loss is minimized, text similarity tasks can be used in legal contexts to reduce risks on new contracts. Here is the basic tenet of case law. Similar problems are handled consistently in all cases thanks to the automatic linking of relevant papers. Similar texts promote equality and justice. Legal precedent retrieval is the process of finding earlier case papers that are connected to a current case document.
In order to deliver consistent customer care, AI systems should be able to comprehend semantically comparable user inquiries. The emphasis on semantic similarity tries to develop a system that comprehends language and word patterns in order to provide replies that are comparable to how a human conversation is conducted. For instance, the user would anticipate the same response if they inquire, "What happened to my delivery?" or "What's wrong with my shipping?"
Besides API call limitations per month, there is a limitation of 1 request per second.
{"similarity": "0.75"}
curl --location --request POST 'https://zylalabs.com/api/777/text+similarity+calculator+api/7765/similarity+calculation' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text1": "Text one",
"text2": "Text two"
}'
| 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 Similarity Calculation endpoint returns a JSON object containing the similarity percentage between the two input text strings. The response indicates how closely the texts are related in meaning.
The key field in the response data is "similarity," which represents the percentage of similarity between the two texts, expressed as a decimal (e.g., 0.75 for 75% similarity).
The endpoint requires two parameters: "text1" and "text2," which are the two text strings you want to compare for similarity.
The response data is organized in a simple JSON format. It contains a single key-value pair where the key is "similarity" and the value is the calculated similarity percentage.
Typical use cases include plagiarism detection, legal document comparison, enhancing search engine relevance, and improving AI customer service interactions by understanding semantically similar inquiries.
Users can utilize the returned similarity percentage to assess text relevance, identify potential plagiarism, or enhance content matching in applications like search engines or customer support systems.
Data accuracy is maintained through advanced algorithms that analyze text structure and semantics, ensuring reliable similarity assessments based on linguistic patterns.
Users can expect similarity percentages ranging from 0.0 (no similarity) to 1.0 (identical texts). Patterns may vary based on text length and complexity, with shorter texts often yielding higher similarity scores.
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
Service Level:
100%
Response Time:
542ms
Service Level:
100%
Response Time:
393ms
Service Level:
100%
Response Time:
308ms
Service Level:
83%
Response Time:
334ms
Service Level:
100%
Response Time:
162ms
Service Level:
100%
Response Time:
820ms
Service Level:
100%
Response Time:
250ms
Service Level:
100%
Response Time:
206ms
Service Level:
100%
Response Time:
388ms