HTTP API

Use tty000 from your own tools.

These endpoints run on tty000.com. POST a dump, get JSON. No key. Nothing is stored. Paste only dumps you would put in the glass. USB serial still needs Web Serial or the helper and never arrives here.

Public, text only Call these from a script, a CI job, or another site. CORS is open. Cap is 1.5 MB.
curl -s https://tty000.com/api/detect \
  -H 'content-type: application/json' \
  -d '{"text":"rst:0x1 (POWERON)\nESP-ROM:esp32s3-20210327\nready"}'
curl -s https://tty000.com/api/explain \
  -H 'content-type: application/json' \
  -d '{"text":"i2c_master: I2C ACK timeout on addr 0x3C"}'
curl -s 'https://tty000.com/api/baud?baud=115200'
curl -s https://tty000.com/api/batch \
  -H 'content-type: application/json' \
  -d '{"text":"rst:0x1 (POWERON)\\nESP-ROM:esp32s3"}'
Local helper, including the wire Same detect and explain paths on 127.0.0.1:7682, plus the serial bridge the workbench already uses.
python3 server.py --helper
# then:
curl -s http://127.0.0.1:7682/api/health
curl -s http://127.0.0.1:7682/api/ports
curl -s http://127.0.0.1:7682/api/detect \
  -H 'content-type: application/json' \
  -d '{"text":"..."}'
POST /api/detect Family, protocol, line endings, faults, and suggested commands.

Body: {"text":"...","baud":115200}. baud is optional.

POST /api/explain Findings with likely causes and next commands.

Body: {"text":"..."}. Includes a detect summary when the dump looks like hardware.

GET /api/health Liveness. Serial is false here, true on the helper when ports can be opened.

On this site serial is false. On the helper it is true when ports can be opened.

More text tools Batch, diff, strip, stats, hex, NMEA, AT, CRC, baud, profiles, families, version.

POST /api/batch, /diff, /strip, /stats, /hex, /nmea, /at, /crc. GET /api/baud, /profiles, /families, /version.

Serial, helper only Ports, open, write, read, and the rest of the wire. Never on tty000.com.

GET /api/ports, POST /api/serial/open, /write, /read, /line, /flush, /stream, /close, /sweep, /signal, /recipe, /virtual/open. These never run on tty000.com.

POST /api/esp32/flash Helper only. Writes a .bin through the ESP ROM bootloader.

Open a port, then POST {"id":"...","offset":0,"b64":"..."}. Not available on tty000.com.

Machine contract: /api/openapi.json. Product catalog: /product.json. Assistants: for-llms.html. MIT License: /LICENSE. No account. No key. Do not send secrets you would not paste into the glass.