Dartastic Symbolizer API

Transform obfuscated stack traces into readable error reports

About This Service

The Dartastic Symbolizer API helps you process and symbolize stack traces from your Dart and Flutter applications. It uses source maps to convert minified or obfuscated stack traces back into human-readable form, making debugging easier.

Note: This is an API service and not meant to be accessed directly in a browser. See documentation below for proper usage.

Authentication

All requests to this API require authentication using your Dartastic API key. You can find your API key in the Dartastic dashboard.

Using the API

To symbolize a stack trace, send a POST request to the symbolize endpoint:

POST /symbolize
Content-Type: application/json
x-api-key: YOUR_API_KEY

{
  "stackTrace": "Your obfuscated stack trace here",
  "sourceMap": "Your source map here",
  "platform": "web|ios|android",
  "version": "Your application version"
}

Response Format

{
  "processedStackTrace": "Symbolized stack trace with human-readable function names and file locations",
  "version": "Your application version",
  "platform": "web|ios|android"
}

Integration Example

Here's a simple example using the Dart http package:

import 'dart:convert';
import 'package:http/http.dart' as http;

Future<Map<String, dynamic>> symbolizeStackTrace(
  String stackTrace,
  String sourceMap,
  String platform,
  String version,
  String apiKey
) async {
  final response = await http.post(
    Uri.parse('https://symbolizer.dartastic.io/symbolize'),
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': apiKey,
    },
    body: jsonEncode({
      'stackTrace': stackTrace,
      'sourceMap': sourceMap,
      'platform': platform,
      'version': version,
    }),
  );

  if (response.statusCode == 200) {
    return jsonDecode(response.body);
  } else {
    throw Exception('Failed to symbolize: ${response.body}');
  }
}

Rate Limiting

Requests are limited to 100 requests per minute per IP address.

Documentation

For detailed documentation, please visit the Dartastic Documentation.