Search documentation

Search across all documentation pages

Get API Key

GraphQL is for Nexar migration only

Use the GraphQL API only as a drop-in replacement for Nexar's GraphQL when migrating existing integrations. For new projects and full platform capabilities, use the REST API— it's the actively maintained, modern interface.
Queries

Multi-match

BOM-style batch part matching with per-line pagination, optional stock filters, and reference echo.

Match many BOM-style lines in one request. Each entry in queries is a SupPartMatchQuery with required pagination and optional identifiers.

part_match (paid)

Search priority per line: non-empty mpn → MPN search; else non-empty sku → keyword search; else non-empty mpnOrSku → MPN search. Optional manufacturer and seller apply substring filters on manufacturer name and distributor name in offers.

At most 50 queries per request.

Arguments

ParameterTypeRequiredDescription
queries
[SupPartMatchQuery!]!RequiredBOM lines to match
options
SupPartMatchOptionsOptionalPer-request match options
country
StringOptionalAccepted for API parity; not applied per line
currency
StringOptionalAccepted for API parity; not applied per line
distributorApi
BooleanOptionalAccepted for API parity; not applied per line
distributorApiTimeout
StringOptionalAccepted for API parity
customPricingCredentials
[SupApiCredentials]OptionalAccepted for API parity
rankingMethod
SupSearchRankingMethodOptionalAccepted for API parity

Return type

Returns [SupPartMatch!]!. See SupPartMatch for field definitions.

Example

GRAPHQL
1{
2 supMultiMatch(
3 queries: [
4 { start: 0, limit: 5, mpn: "LM358", reference: "U1" }
5 { start: 0, limit: 5, sku: "0805 resistor", reference: "R1" }
6 ]
7 options: { requireStockAvailable: true }
8 ) {
9 reference
10 hits
11 errorString
12 parts {
13 mpn
14 zenodeUrl
15 manufacturer {
16 name
17 }
18 }
19 }
20}

Next