API Response Parser

Parse and visualize OpenAI and Anthropic API responses

API Response JSON

Related Tools

API Response Parser: Understand & Debug LLM API Responses

Working with LLM APIs means dealing with complex JSON responses. This parser helps you quickly understand response structure, extract content, check token usage, and compare response formats across providers.

Paste any API response to auto-detect the provider, extract the content, and explore the full response structure interactively.

Response Format Reference

OpenAI Chat Completions

  • • Content path: choices[0].message.content
  • • Tokens: usage.prompt_tokens + usage.completion_tokens
  • • Finish reasons: stop, length, tool_calls, content_filter

Anthropic Messages

  • • Content path: content[0].text
  • • Tokens: usage.input_tokens + usage.output_tokens
  • • Stop reasons: end_turn, max_tokens, stop_sequence, tool_use

Related Tools