Fanout
Fan out a component
Escapes the pins of a single component on a board and returns the escape result with pin counts and any anomalies the engine reported. componentId is required. maxRetry is optional, defaults to 10 and must be between 1 and 20. Calling this endpoint again replaces the board’s current per-workflow draft revision instead of adding a new one, so repeated calls do not accumulate revision history. Calls are rate-limited per user; an exceeded budget returns 429 with a Retry-After header.
POST
/
api
/
v1
/
boards
/
{boardId}
/
fanout
Fan out a component's pins
curl --request POST \
--url https://api.deeppcb.com/api/v1/boards/{boardId}/fanout \
--header 'Content-Type: application/json-patch+json' \
--header 'x-deeppcb-api-key: <api-key>' \
--data '
{
"componentId": "<string>",
"maxRetry": 10
}
'import requests
url = "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout"
payload = {
"componentId": "<string>",
"maxRetry": 10
}
headers = {
"x-deeppcb-api-key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-deeppcb-api-key': '<api-key>',
'Content-Type': 'application/json-patch+json'
},
body: JSON.stringify({componentId: '<string>', maxRetry: 10})
};
fetch('https://api.deeppcb.com/api/v1/boards/{boardId}/fanout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'componentId' => '<string>',
'maxRetry' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json-patch+json",
"x-deeppcb-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout"
payload := strings.NewReader("{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-deeppcb-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deeppcb.com/api/v1/boards/{boardId}/fanout")
.header("x-deeppcb-api-key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deeppcb.com/api/v1/boards/{boardId}/fanout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-deeppcb-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json-patch+json'
request.body = "{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"message": "<string>",
"pinsEscaped": 123,
"pinsTotal": 123,
"pinsDeferred": 123,
"anomalies": [
{
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"count": 123
}
],
"mutation": {
"stats": {
"layers": 123,
"airWiresConnected": 123,
"airWiresNotConnected": 123,
"totalAirWires": 123,
"netsConnected": 123,
"vias": 123,
"totalWireLength": 123,
"totalComponents": 123,
"placedComponents": 123,
"protectedComponents": 123,
"isFullyPlaced": true,
"protectedWires": 123,
"protectedVias": 123,
"netClasses": 123,
"netPreferences": 123,
"differentialPairs": 123,
"planes": 123,
"decouplingCapacitorRules": 123,
"keepouts": 123,
"wiringLoaded": true,
"wiringForcedProtected": true
},
"revisionNumber": 123,
"boardJson": "<string>"
}
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}Authorizations
Body
application/json-patch+jsonapplication/jsontext/jsonapplication/*+json
⌘I
Fan out a component's pins
curl --request POST \
--url https://api.deeppcb.com/api/v1/boards/{boardId}/fanout \
--header 'Content-Type: application/json-patch+json' \
--header 'x-deeppcb-api-key: <api-key>' \
--data '
{
"componentId": "<string>",
"maxRetry": 10
}
'import requests
url = "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout"
payload = {
"componentId": "<string>",
"maxRetry": 10
}
headers = {
"x-deeppcb-api-key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-deeppcb-api-key': '<api-key>',
'Content-Type': 'application/json-patch+json'
},
body: JSON.stringify({componentId: '<string>', maxRetry: 10})
};
fetch('https://api.deeppcb.com/api/v1/boards/{boardId}/fanout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'componentId' => '<string>',
'maxRetry' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json-patch+json",
"x-deeppcb-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.deeppcb.com/api/v1/boards/{boardId}/fanout"
payload := strings.NewReader("{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-deeppcb-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deeppcb.com/api/v1/boards/{boardId}/fanout")
.header("x-deeppcb-api-key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deeppcb.com/api/v1/boards/{boardId}/fanout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-deeppcb-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json-patch+json'
request.body = "{\n \"componentId\": \"<string>\",\n \"maxRetry\": 10\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"message": "<string>",
"pinsEscaped": 123,
"pinsTotal": 123,
"pinsDeferred": 123,
"anomalies": [
{
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"count": 123
}
],
"mutation": {
"stats": {
"layers": 123,
"airWiresConnected": 123,
"airWiresNotConnected": 123,
"totalAirWires": 123,
"netsConnected": 123,
"vias": 123,
"totalWireLength": 123,
"totalComponents": 123,
"placedComponents": 123,
"protectedComponents": 123,
"isFullyPlaced": true,
"protectedWires": 123,
"protectedVias": 123,
"netClasses": 123,
"netPreferences": 123,
"differentialPairs": 123,
"planes": 123,
"decouplingCapacitorRules": 123,
"keepouts": 123,
"wiringLoaded": true,
"wiringForcedProtected": true
},
"revisionNumber": 123,
"boardJson": "<string>"
}
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}{
"statusCode": 123,
"status": "<string>",
"errorCode": "<string>",
"errorMessage": "<string>"
}