Before You Start
You need an API key — copy it from Integration in the app, or see Getting Your API Key. Every request carries it in thex-deeppcb-api-key header:
Your base URL ends in
/api/v1. Copy the exact host from the Integration page in the app — it differs for enterprise and self-hosted deployments. The API reference lists every endpoint and schema.400 or 401? See API Issues for the cause and the fix of each.
1. Create the Board
Post the board file. Which field you use tells DeepPCB the format — the file extension does not, which is how DeepPCB JSON and EasyEDA Standard both live on.json without ambiguity.
Which File Field for Which Format
Send files for one format only. Companion files — the KiCad project and schematics, the Zuken footprint and rules, the EasyEDA Standard schematic — belong to their parent format and don’t count as a second input. Maximum file size is 100 MB.
The board is now Pending. Nothing is running and no compute time has been spent.
2. Start the Job
The board moves to Running. Compute time starts being consumed here, not at upload.
3. Follow Progress
Progress arrives at your webhook — there is nothing to poll. Each event and the fields it carries are listed under Webhook Events in the API reference. ReadnumConnectionsMissing against numConnections in the stats to see how complete each revision is, and watch numVias and wireLength to judge quality between two equally complete revisions.
4. Download a Revision
revision is the revision number from the webhook, counting from 1. type accepts JsonFile, DsnFile, SesFile, RteFile, ScrFile, KicadFile, ZukenFile, and AltiumFile. Add includeRatsNest=false for a clean file with only completed wiring.
Stopping Early
Happy with a revision before the budget runs out? Stop the job and keep the unused time:PATCH /boards/{boardId}/resume to keep improving the same result.
Where to Go Next
API Reference
Every endpoint, parameter, and schema.
MCP Server
Give an AI coding agent direct access to DeepPCB.