Terrastruct

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.

Terrastruct is profiled on the APIs.io network. Tagged areas include Company, Diagramming, Diagrams as Code, Developer Tools, and Software Architecture.

Terrastruct’s developer surface includes documentation, getting-started guide, engineering blog, support, CLI, changelog, and 15 more developer resources.

28.7/100 emerging ▬ flat Agent 4/100 human only Full breakdown ↓
scored 2026-07-27 · rubric v0.5
0 APIs
CompanyDiagrammingDiagrams as CodeDeveloper ToolsSoftware ArchitectureOpen SourceData VisualizationCLI

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-27 · rubric v0.5
Composite quality — 28.7/100 · emerging
Contract Quality 0.0 / 25
Developer Ergonomics 7.8 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 4.1 / 13
Governance 0.0 / 12
Discoverability 6.8 / 10
Agent readiness — 4/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 15
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 4 / 4
Consent & Bot Identity 0 / 3
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/terrastruct: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Terrastruct Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Terrastruct Vulnerability Disclosure

disclosure policy published

SECURITY

Terrastruct Trust Center

SOC 2, GDPR

SECURITY

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 1

Pagination, idempotency, versioning, errors, and events

Build 4

SDKs, sample code, and the tooling you integrate with

Access & Security 5

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: terrastruct
name: Terrastruct
description: 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.
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-07-22'
  method: derived
image: https://terrastruct.com/images/logos/logo_black.svg
url: https://raw.githubusercontent.com/api-evangelist/terrastruct/refs/heads/main/apis.yml
x-type: company
x-source: vc-portfolio
x-backed-by:
- bloomberg-beta
x-tier: stub
x-tier-reason: portfolio-lead
specificationVersion: '0.20'
created: '2026-07-17'
modified: '2026-07-21'
tags:
- Company
- Diagramming
- Diagrams as Code
- Developer Tools
- Software Architecture
- Open Source
- Data Visualization
- CLI
apis: []
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
common:
- type: Website
  url: https://terrastruct.com/
- type: Documentation
  url: https://d2lang.com
- type: GettingStarted
  url: https://d2lang.com/tour/intro/
- type: GitHubOrganization
  url: https://github.com/terrastruct
- type: Blog
  url: https://terrastruct.com/blog/1
- type: Support
  url: https://terrastruct.com/support
- type: Login
  url: https://app.terrastruct.com/
- type: TermsOfService
  url: https://terrastruct.com/terms-and-conditions
- type: PrivacyPolicy
  url: https://terrastruct.com/privacy-policy
- type: Packages
  url: packages/terrastruct-packages.yml
- type: SDKs
  url: packages/terrastruct-packages.yml
- type: CLI
  url: cli/terrastruct-cli.yml
- type: Components
  url: components/terrastruct-components.yml
- type: ChangeLog
  url: changelog/terrastruct-changelog.yml
- type: WellKnown
  url: well-known/terrastruct-well-known.yml
- type: DomainSecurity
  url: security/terrastruct-domain-security.yml
- type: VulnerabilityDisclosure
  url: security/terrastruct-vulnerability-disclosure.yml
- type: Security
  url: security/terrastruct-vulnerability-disclosure.yml
- type: TrustCenter
  url: security/terrastruct-trust-center.yml
- type: Compliance
  url: security/terrastruct-trust-center.yml
- type: LLMsTxt
  url: llms/terrastruct-llms.txt
x-enrichment:
  date: '2026-07-21'
  status: enriched
  artifacts_added: 9
  pass: local-v1