Octopart offers three mechanisms that manufacturers can use to link to distributors from their own website:
This method is straightforward to implement, and involves simply linking to search results on Octopart with the following URL:
https://octopart.com/search?manufacturer.displayname={MANUFACTURER}&q={PARTNUMBER}
All that is required is replacing {MANUFACTURER} with the manufacturer name, and {PARTNUMBER} with the part number you wish to help people find distributors for.
An example can be seen on Anaren’s website with the orange “Buy” buttons they’ve implemented that link to Octopart:
This method is similar to Direct Links, but is better suited if the customer already knows the part number and would prefer to type it into a search box. The implementation of the search box is also straightforward and involves modifying and pasting the following HTML snippet onto your website:
<form method="get" action="https://octopart.com/search">
<input type="hidden" name="manufacturer.displayname" value="{MANUFACTURER}">
<input type="text" name="q">
<input type="submit" value="Search">
</form>
All that is required is replacing {MANUFACTURER} with the manufacturer name. When a customer conducts a search, they will be taken to the Octopart search results that are restricted to that manufacturer.
This method involves direct integration of current distributor stock onto your website. To do so, you must programmatically access the Octopart database using the Octopart API in real-time.
This gives you the ability to completely control the look and feel, as well as directly link to distributors.
API query:
$ curl -G https://octopart.com/api/v3/parts/match \
-d queries="[{\"mpn\":\"SN74S74N\"}]" \
-d apikey=EXAMPLE_KEY \
-d pretty_print=true
API response:
More information about the Octopart API can be found here.
Contact us to find out more or get started (contact@octopart.com).