Skip to main content
Base URL: https://footprints.buildwithtrace.com. Backend base: https://api.buildwithtrace.com. Authenticated routes require Authorization: Bearer <access_token> (see Authentication). Every backend call carries type=footprint.

Catalog (public, no backend)

MethodRouteParamsReturns
GET/api/footprintsq, page, limit{ footprints[], total, page, limit, totalPages }
GET/api/health{ status, timestamp, data: { footprints_index } }
Library lists and footprint detail are read from the index via the data layer (Server Components), not via dedicated routes.

Proxied to backend / upstream

MethodRouteAuthTarget
GET/api/search/semanticGET /api/v3/components/search?…&type=footprint
GET/api/download/[library]GitHub raw .kicad_mod (?name=&source=)
POST/api/generate/footprintPOST /api/v3/components/generate/footprint
POST/api/generate/savePOST /api/v3/components/generated
POST/api/contribute/validate(local — pad-count check)
POST/api/contribute/submitPOST /api/v3/components/submit
GET/api/communityGET /api/v3/components/community?…&type=footprint
GET/api/commentsGET /api/v3/components/comments/{id}
POST/api/commentsPOST /api/v3/components/comments
GET/api/ratingGET /api/v3/components/generated/{id}/rating
POST/api/ratingPOST /api/v3/components/generated/{id}/rate
GET/api/my-footprintsGET /api/v3/components/my?…&type=footprint
PATCH/api/my-footprintsPATCH /api/v3/components/generated/{id}
DELETE/api/my-footprintsDELETE /api/v3/components/generated/{id}

Detail pages

Common error codes

StatusMeaning
400Validation error (bad params / not .kicad_mod / missing name)
401Missing or expired bearer token
402 / 403Plan or quota does not permit the action
404Not found (incl. CERN raw download, or upstream miss)
502 / 500Backend / proxy error
The shared SaveComponentPayload (used by /api/generate/save with type: "footprint") is documented in the symbols API reference.