Call the API from curl
Fetch a design.md
Section titled “Fetch a design.md”curl "https://api.getdesign.app/?url=https://stripe.com" \ -H "Accept: text/markdown" \ -o stripe.design.mdPipe it straight into a file
Section titled “Pipe it straight into a file”curl -sS "https://api.getdesign.app/?url=https://linear.app" > linear.design.mdUse with jq for palette only
Section titled “Use with jq for palette only”The response is Markdown, not JSON, so jq does not apply directly. For palette-only extraction today, grep the ## 2. Color Palette section:
curl -sS "https://api.getdesign.app/?url=https://stripe.com" \ | awk '/^## 2\./,/^## 3\./' > stripe.palette.mdA future release will add structured JSON output behind Accept: application/json.