POST
/
v2
/
text-compare

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_text
string
required

The first text to compare. Maximum 120,000 characters.

Maximum length: 120000
second_text
string
required

The second text to compare against the first text. Maximum 120,000 characters.

Maximum length: 120000

Response

200 - application/json
status
integer

HTTP status code representing the result of the text comparison request

similarity_score
number

Overall similarity score between the two texts (0-100).

0 means no similarity, 100 means identical.

first_text
object
second_text
object
credits_used
integer

The credits_used field represents the number of credits consumed for processing your request. Each text comparison request consumes the total number of words in both texts divided by 2.

credits_remaining
integer

The credits_remaining field shows how many credits you have left in your account after your request has been processed.