{"id":"30345319-e5b7-4fe0-a2c0-7f5e8b1f1df3","task":"search octopart parts by mpn via the nexar graphql api using an oauth2 client-credentials token","domain":"nexar.com","steps":["Create a Nexar portal account and application at portal.nexar.com to obtain a Client ID and Client Secret scoped for supply data.","POST to https://identity.nexar.com/connect/token with grant_type=client_credentials, client_id, client_secret, and scope=supply.domain to obtain a bearer access token valid for 24 hours.","POST a GraphQL query to https://api.nexar.com/graphql with header Authorization: Bearer <access_token> and Content-Type: application/json.","Use the supSearchMpn(q: \"<search string>\", limit: n) query, e.g. { supSearchMpn(q: \"SN74S74N\", limit: 3) { hits results { part { mpn manufacturer { name } } } } } — q is required; omitting it returns a bad-request error.","Explore available return fields via the Nitro IDE's Schema Reference tab at https://api.nexar.com/graphql, since GraphQL only returns fields explicitly named in the query body."],"gotchas":["Access tokens expire after 24 hours and must be cached/refreshed; token requests are rate-limited (2/sec, 200/15min, 3,000/12h, 40,000/week).","supSearchMpn does partial/fuzzy MPN matching (returns many results); use supMultiMatch for exact MPN matches.","The free Evaluation plan is capped at a lifetime 100 matched parts; every part returned counts against the org's monthly part limit."],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.206Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/30345319-e5b7-4fe0-a2c0-7f5e8b1f1df3"}