API CatalogStacktrace Analyzer

Stacktrace Analyzer API

Analyze stacktraces and error messages for developer tools, CI systems, support workflows, and coding assistants.

Endpoint

POST /v1/dev/stacktrace

Request body

FieldTypeRequiredDescription
stacktracestringYesRaw stacktrace or error message.
languagestringNoProgramming language, if known.
frameworkstringNoFramework, if known.

Example request

curl --request POST \
  --url https://apimask-developer-utilities-api.p.rapidapi.com/v1/dev/stacktrace \
  --header "Content-Type: application/json" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: apimask-developer-utilities-api.p.rapidapi.com" \
  --data '{"stacktrace":"TypeError: Cannot read properties of undefined","language":"javascript","framework":"nextjs"}'

Example response

{
  "success": true,
  "data": {
    "error_type": "TypeError",
    "root_cause": "Code attempted to access a property on an undefined value.",
    "fix_suggestion": "Check that the object exists before reading from it.",
    "documentation_links": ["https://developer.mozilla.org/"]
  },
  "error": null,
  "meta": {}
}