Pass two text strings and receive the similarity percentage between them.
Plagiarism Detection: Educational institutions and content publishers can use the API to compare student submissions or published articles with existing documents. By detecting high similarity scores, it can identify potential cases of plagiarism or duplicate content.
Content Recommendation: E-commerce platforms, streaming services, and news websites can enhance user experience by recommending similar products, movies, or articles. The API can analyze user preferences and suggest items with high similarity scores to their previous selections.
Customer Service Chatbots: Customer support systems can use the API to improve chatbot responses. By analyzing the similarity between customer queries and a database of FAQs or past interactions, the chatbot can provide more accurate and relevant responses.
Document Clustering and Organization: Organizations dealing with large volumes of documents, such as legal firms or research institutions, can use the API to cluster and categorize documents based on their content similarity. This aids in efficient document management and retrieval.
Search Engine Enhancement: Search engines can leverage the API to improve search results. By comparing the similarity between user queries and indexed pages, the API can rank and display the most relevant results, enhancing the overall search experience for users.
Besides the number of API calls, there is no other limitation.
Returns a similarity score between 0 and 1 (1 is similar and 0 is dissimilar) of two given texts.
text_1
(required) - first input text. Maximum 5000 characters.
text_2
(required) - second input text. Maximum 5000 characters.
Object | Description |
---|---|
Request Body |
[Required] Json |
{"similarity": 0.8126154541969299}
curl --location --request POST 'https://zylalabs.com/api/4392/text+similarity+analysis+api/5399/check+similarity' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"text_1": "This is an example sentence.",
"text_2": "This is just another example sentence."}'
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 Similarity Analysis API REST 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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
The API accepts plain text inputs in UTF-8 format. Both short phrases and long paragraphs can be processed, allowing for flexible use in various applications.
The API uses advanced NLP models to embed texts into 768-dimensional vectors and then computes the cosine similarity between these vectors to produce a similarity score ranging from -1 to 1, where 1 indicates identical texts.
The API utilizes state-of-the-art transformer-based models, such as BERT or its variants, for embedding texts. These models are pre-trained on large corpora and fine-tuned for high accuracy in capturing semantic meaning.
The API is optimized for low latency, typically responding within a few hundred milliseconds for standard requests. Performance may vary depending on the length and complexity of the input texts.
Yes, the API supports multiple languages, provided the underlying embedding model has been trained on multilingual data. This allows for accurate similarity calculations across different languages.
Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.
Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]
Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further
Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.
Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.
You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]
Service Level:
100%
Response Time:
772ms
Service Level:
100%
Response Time:
555ms
Service Level:
100%
Response Time:
308ms
Service Level:
100%
Response Time:
424ms
Service Level:
78%
Response Time:
1,208ms
Service Level:
100%
Response Time:
403ms
Service Level:
100%
Response Time:
172ms
Service Level:
100%
Response Time:
275ms
Service Level:
100%
Response Time:
361ms
Service Level:
100%
Response Time:
442ms
Service Level:
100%
Response Time:
356ms
Service Level:
100%
Response Time:
192ms
Service Level:
100%
Response Time:
213ms
Service Level:
100%
Response Time:
282ms
Service Level:
100%
Response Time:
1,208ms
Service Level:
100%
Response Time:
1,032ms
Service Level:
100%
Response Time:
2,829ms