v1

latestOpenAPI 3.0.1MIT2026-07-2661255.8 KB

Compare two texts to find similarities and differences between them. This endpoint analyzes both texts and returns detailed information about matching content, word counts, and similarity scores.

post/v2/text-compare

Request body

first_textstring required

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

second_textstring required

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

Response

Text comparison response

statusinteger

HTTP status code representing the result of the text comparison request

similarity_scorenumber

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

0 means no similarity, 100 means identical.

credits_usedinteger

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_remaininginteger

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