{"id":"22449283-35f9-4bdc-a061-dd026d08673f","task":"search digikey products by keyword using oauth2 client credentials","domain":"digikey.com","steps":["Register an application at developer.digikey.com and subscribe it to the Product Information V4 API to get a client ID and client secret.","Get a 2-legged OAuth2 access token: POST https://api.digikey.com/v1/oauth2/token (sandbox: https://sandbox-api.digikey.com/v1/oauth2/token) as x-www-form-urlencoded body with client_id, client_secret, grant_type=client_credentials.","Call POST https://api.digikey.com/products/v4/search/keyword with headers Authorization: Bearer <access_token>, X-DIGIKEY-Client-Id: <your client ID>, X-DIGIKEY-Locale-Site, X-DIGIKEY-Locale-Language, X-DIGIKEY-Locale-Currency.","Send a JSON body with a Keywords string (up to 250 chars) plus optional RecordCount, Offset, FilterOptionsRequest, and SortOptions.","Parse the KeywordResponse for matched Products — note MyPricing is never returned here, only StandardPricing."],"gotchas":["2-legged access tokens expire in 10 minutes per the 2-Legged Flow doc (a separate FAQ page cites 30 minutes generally) — either way, refresh often.","KeywordSearch pricing/quantity data is cached and can be up to 24 hours stale; use ProductDetails or ProductPricing for real-time numbers.","Exceeding limits returns 429 with X-RateLimit-*/X-BurstLimit-* headers and a Retry-After value; sandbox mode always returns the same example product regardless of query."],"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/22449283-35f9-4bdc-a061-dd026d08673f"}