Docs

API Reference

The Trace API allows programmatic access to AI-powered PCB design capabilities.

Base URL

https://api.buildwithtrace.com/api/v1/

Interactive Documentation

Explore the full API with interactive documentation:

Authentication

All API requests require authentication via Bearer token. See the Authentication guide for details on obtaining tokens.

Authorization: Bearer YOUR_API_TOKEN

Available Endpoints

The API provides 50+ endpoints across these categories:

  • Auth — Login, signup, OAuth (Google, GitHub), password reset
  • Chat — AI-powered chat streaming for circuit design
  • Schematic — Version control for schematic files
  • PCB — Autorouting and layout operations
  • Downloads — App version management and download stats
  • Payments — Stripe integration for subscriptions
  • Admin — Platform analytics and user management

Quick Example

# Check API status
curl https://api.buildwithtrace.com/api/v1/

# Verify authentication
curl https://api.buildwithtrace.com/api/v1/auth/verify \
  -H "Authorization: Bearer YOUR_TOKEN"