API Codex
Text Analysis API

Documentation

Endpoint:https://text-analysis-api2.p.rapidapi.com

Analyze text

POST
https://text-analysis-api2.p.rapidapi.com
/v1/analyze/text

Analyzes the provided text for patterns and performs NLP analysis

Analyze textRequest Body

  • textstring · required

    Text to analyze

Analyze textResponses

Successful response

  • successboolean · required

    Whether the detection was successful

  • analyzed_atstring · date-time · required

    Timestamp of the analysis

  • detectionsobject · required
  • countinteger · required

    Total number of detections

  • nlp_analysisobject

Analyze file upload

POST
https://text-analysis-api2.p.rapidapi.com
/v1/analyze/upload

Analyzes text extracted from an uploaded file

Analyze file uploadRequest Body

  • filestring · required

Analyze file uploadResponses

Successful response

  • successboolean · required

    Whether the detection was successful

  • analyzed_atstring · date-time · required

    Timestamp of the analysis

  • detectionsobject · required
  • countinteger · required

    Total number of detections

  • nlp_analysisobject
  • original_file_sizeinteger

    Size of the original file in bytes

  • extracted_text_lengthinteger

    Length of the extracted text in characters