# Terrastruct

**Canonical:** https://apis.io/providers/terrastruct/  
**Website:** https://terrastruct.com/  
**APIs profiled:** 0

Terrastruct builds diagramming tools crafted to visualize software architecture. Its flagship product is D2, a modern, open-source (MPL-2.0) diagram scripting language that turns text into diagrams (SVG, PNG, PDF, PPTX, GIF, and ASCII). Terrastruct also builds D2 Studio, a hosted drag-and-drop and text-to-diagram IDE, and TALA, a proprietary layout engine designed specifically for software architecture diagrams. Rather than a public REST API, D2 is consumed as a CLI, as a Go library (d2lib / d2oracle) for programmatic diagram generation, and as a WASM-backed JavaScript library (D2.js), with official VSCode, Vim, and Obsidian editor plugins.

## Kin Score — 26.8 / 100 (thin)

Scored 2026-08-19 under rubric 0.12.0. Trend: flat (-0.9 from 27.7).

| Facet | Score |
|---|---|
| Discoverability | 57.4 |
| Contract Quality | 0.0 |
| Governance | 0.0 |
| Contract Governance | 0.0 |
| Operational Transparency | 28.9 |
| Developer Ergonomics | 42.9 |
| Commercial Clarity | 43.4 |
| Access Clarity | 43.4 |

## Agent readiness — 0.0 (human-only)

| Dimension | Value |
|---|---|
| Spec Presence | no |
| Agentic Access | no |
| Reversibility Documented | no |
| MCP Server | no |
| Auth Clarity | no |
| Idempotency | no |
| Error Semantics | no |
| OpenAPI Examples | no |
| Rate Limit Signal | no |
| Event Surface Described | no |
| Agent Skills | no |
| Well Known Catalog | no |
| Consent Identity | no |
| Agent Card | no |
| Dry Run Mode | no |

## Access

Unknown — onboarding: unknown, pricing: unknown, trial: no (confidence: low).

## Security (3)

- **Terrastruct Domain Security** — TLSv1.3 · HSTS · DMARC
- **Terrastruct Vulnerability Disclosure** — disclosure policy published
- **Terrastruct Trust Center** — SOC 2, GDPR

## Tags

Company, Diagramming, Diagrams as Code, Developer Tools, Software Architecture, Open Source, Data Visualization, CLI

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/providers/terrastruct/). Scores are computed from the provider's own public artifacts under a published rubric.
