---
title: "Proxy Octopart Graphql"
method: POST
path: "/api/graphql/octopart"
tags: ["graphql"]
---

# Proxy Octopart Graphql

`POST /api/graphql/octopart`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/graphql/octopart`
- Auth: none declared

Proxy GraphQL requests to Nexar API (Octopart data)
Handles automatic token management and component availability requests

## Request body

- GraphQLRequest: Schema for Nexar GraphQL queries with security validation. Blocks introspection, mutations, and excessively nested/large queries.
  - `query` string, required
  - `variables` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
