CircuitHub

Introduction

Overview of the CircuitHub Platform CLI and API.

The CircuitHub Platform provides two ways to interact with your account programmatically:

  • CLI — the circuithub command-line tool.
  • API — a REST API at api.circuithub.com/v1/.

Before you design a board to order through the platform, read design feedback: a few choices made at the start, such as board thickness, trace gaps and through-hole parts, decide whether small runs qualify for Grid Proto's large discount.

You can also connect an AI assistant, such as Claude, to work with your account for you.

The CLI and API expose the same operations. Throughout these docs you can switch between them using tabs:

circuithub project list --workspace acme-electronics
curl -H "Authorization: Bearer $CIRCUITHUB_API_KEY" \
  "https://api.circuithub.com/v1/projects?workspace=acme-electronics"

What can I do?

Today the platform supports:

OperationDescription
AuthenticationBrowser login (API keys coming soon)
WorkspacesList workspaces you belong to
ProjectsCreate, upload revisions, and manage PCB projects
RevisionsList revisions of a project
Bill of MaterialsInspect BOM lines with resolution status
Parts searchSearch parts by MPN or description
Board configurationReview and update a revision's board settings and impedance requirements
QuotingGet instant pricing for a revision at a quantity
Shipping addressesManage a workspace's delivery addresses
BillingBilling details, payment methods, invoices, payments, statements and credit balance
OrdersPreview and place orders, and view and track them
IssuesTrack and manage issues on manufacturing orders (coming soon)

Base URL

All API requests go to:

https://api.circuithub.com/v1/

Override this with the --api-url flag (CLI) or the CIRCUITHUB_API_URL environment variable.

On this page