POST
/
v2
/
text-compare
curl --request POST \
  --url https://api.gowinston.ai/v2/text-compare \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_text": "<string>",
  "second_text": "<string>"
}'
{
  "status": 123,
  "similarity_score": 123,
  "first_text": {
    "total_word_count": 123,
    "matching_word_count": 123,
    "similarity_percentage": 123,
    "items": [
      {
        "type": "<string>",
        "word_count": 123,
        "index_start": 123,
        "length": 123
      }
    ]
  },
  "second_text": {
    "total_word_count": 123,
    "matching_word_count": 123,
    "similarity_percentage": 123,
    "items": [
      {
        "type": "<string>",
        "word_count": 123,
        "index_start": 123,
        "length": 123
      }
    ]
  },
  "credits_used": 123,
  "credits_remaining": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json
The text comparison request body

The body is of type object.

Response

200
application/json
Text comparison response

The response is of type object.