• Register

Product Search API (REST) - Description

Description

The Product Search API (REST) allows your users to search the element14 product catalog by keyword search, element14 part number, and manufacturer part number.

There are two levels of access for the API:

  • generic access: Accessible by including callInfo.apiKey in the call
  • contract pricing: Provides contract pricing data which is customer specific. In order to retrieve these prices you will need to contact your local sales representative to request a CustomerID and Secret Key and will need to provide details of your company, country and the username that you use to access our website.. The request requires sending the following paramters in the call which are based on our SOAP API:
    • callInfo.apiKey
    • userInfo.signature
    • userInfo.timestamp
    • userInfo.customerId

back to top

Request URL

https://api.element14.com/catalog/products
?callInfo.responseDataFormat={XML|JSON}
 &callInfo.omitXmlSchema={...}
&callInfo.callback={...}
&term={field:term} 
&storeInfo.id={storeInfoId|...}
&callInfo.apiKey={...}
&userInfo.signature={...}
&userInfo.timestamp={...}
&userInfo.billAccNum={...}
&userInfo.customerId={...}
&userInfo.contractId={...}
&resultsSettings.offset={...}
&resultsSettings.numberOfResults={...}
&resultsSettings.refinements.filters={rohsCompliant,inStock}
&resultsSettings.responseGroup={none,small,medium,large, Prices, Inventory}

back to top

Query Parameters

Query Parameters
Parameter Description Mandatory/Optional Sample Value
callInfo.responseDataFormat Determines output format. Can be XML or JSON.
optional  JSON
callInfo.omitXmlSchema String. Strip XML Namespace. XML data format only.

callInfo.callback String. JSONP callback wrapper name. Not recommended for use with XML output.

term

 Issued as field:term, for example: any:fuse, id:123456, or manuPartNum:678901,

  • any: use for keyword search
  • id: use for element14 part number search
  • manuPartNum: use for manufacturer part number search.
mandatory

term=manuPartNum:678901

term=id%3A1278613 1112555 8477108

storeInfo.id Represents the region of the data store by country. See StoreInfo.id Values for the complete list.
mandatory uk.farnell.com
callInfo.apiKey 24 character alphanumeric string assigned to you by the element14 Partner Portal.
mandatory  mdp3xre4ucqh8f5aaaa4fz75j3y
userInfo.signature Required when getting contract pricing. See Calculating the Contract Pricing Signature. optional  
userInfo.timestamp Required when getting contract pricing optional  
userInfo.billAccNum
Not used  
userInfo.customerId Required when getting contract pricing optional  
userInfo.contractId
Not used
 
resultsSettings.offset
mandatory for keyword search - Not used for other functions

resultsSettings.numberOfResults

mandatory for keyword search - Not used for other functions


resultsSettings.refinements.filters Can be rohsCompliant or inStock. optional inStock
resultsSettings.responseGroup Can be small, medium, large, prices, inventory, and none. Small is the default if nothing is passed. optional small

back to top

storeInfo.id Values

Represents the region of the data store by country. Here is the full list:

bg.farnell.com

cz.farnell.com

dk.farnell.com at.farnell.com
ch.farnell.com de.farnell.com cpc.farnell.com cpcireland.farnell.com
export.farnell.com onecall.farnell.com ie.farnell.com il.farnell.com
uk.farnell.com es.farnell.com ee.farnell.com fi.farnell.com
fr.farnell.com hu.farnell.com it.farnell.com lt.farnell.com
lv.farnell.com be.farnell.com nl.farnell.com no.farnell.com
pl.farnell.com pt.farnell.com ro.farnell.com ru.farnell.com
sk.farnell.com si.farnell.com se.farnell.com tr.farnell.com
canada.newark.com mexico.newark.com www.newark.com cn.element14.com
au.element14.com nz.element14.com hk.element14.com sg.element14.com
my.element14.com ph.element14.com th.element14.com in.element14.com
tw.element14.com kr.element14.com vn.element14.com

 

 

 

 

 

 

 

 

 

 

 

 

back to top

Calculating the Contract Pricing Signature

In order to request any special rates associated with your account, we need to associate an API request to a web user account.  To acheive this you will need to have registered on our websites and provide us with your Username.

Once we have your Username we can join the web account to the Product Search API so that any special rates can be retrieved. We will supply you with a Secret Key and Customer ID.

Please Note: The REST call is built over our SOAP API and the Contract Pricing request uses some legacy details when it comes to generating a signature - specifically, it needs to reference the equivelant SOAP Function that is being called by the REST API when generating a signature  The REST and SOAP equivalents are below.

REST Function equivalent SOAP Function (operation name)
term=any searchByKeyword
term=id searchByPremierFarnellPartNumber
term=manuPartNum searchByManufacturerPartNumber

In order to retrieve Contract Pricing, the Product Search API requires three additional parameters passing in the URL.; they are

  • userInfo.signature: This is generated by concatenating the Operation Name (see above table and also see SOAP WSDL) + timestamp  and then using the secret key generate a HMAC SHA1 hash using the resultant Base64 option (useful reference: http://hash.online-convert.com/sha1-generator ). 

     ***Please note the following important information to avoid signature errors:

    1. The signature is operation specific and therefore needs to match the request "term" being made.
    2. When a  Signature is created using the HMAC SHA1 process, it may contain special characters (such as a + sign) which will need to be URL encoded - otherwise the signature will be misinterpretted and will result in a failed call (useful sites: http://meyerweb.com/eric/tools/dencoder/https://www.w3schools.com/tags/ref_urlencode.ASP

  • userInfo.timestamp: Universal time Constant (UTC) in the format of yyyy-MM-ddThh:mm:ss.sss. e.g. 2009-02-0T15:45:40.254. This has a tolerance of + or – 10 minutes in relative to search service system clock
  • userInfo.customerId: This is a number generated by us and assigned to the customer, e.g. 999123

 

PHP Code example for signature generation

<!DOCTYPE html>

<html>

<body>

<?php

$secret_key = "enter the secret key";

$timestamp =  gmdate("Y-m-d\TH:i:s.v"); // current timestamp

$data = "searchByPremierFarnellPartNumber".$timestamp; // concatenating string

$signature = hash_hmac("sha1", $data, $secret_key); // hmac sha1 signature generation

$sign_hex = hex2bin($signature); // converts a string of hexadecimal values to ASCII characters

$sign_encoded = base64_encode($sign_hex); // base64 encoded

$signature_url_encoded = urlencode($sign_encoded);  // signature url encoded

echo "Signature: $signature_url_encoded";

echo "\nTimestamp: $timestamp";

?>
</body>

</html>

 

Example Contract Pricing Call

https://api.element14.com/catalog/products?&term=any%3Afuse&storeInfo.id=www.newark.com&resultsSettings.offset=0&resultsSettings.numberOfResults=3&resultsSettings.refinements.filters=rohsCompliant%2CinStock&resultsSettings.responseGroup=large&callinfo.apiKey=YourAPIKey&userInfo.customerId=YourCustomerId&userInfo.timestamp=2013-07-24T16:49:51.293&userInfo.signature=8PHe1LiGwyaeVb2uJUPWtXYaMFg%3D

 

Constructing an Image URL

  1. https://
  2. The domain used for the API request  i.e. uk.farnell.com
  3. Append the static text ‘/productimages/standard’
  4. Then based on the vrntPath value append the locale following these rules -
    1. If vrntPath is ‘nio/’ add ‘en_US’ to path
    2. Else if vrntPath is ‘farnell/’ take one of the following approaches –

                                                    i.     You could use our fall back language default across all domains and set the locale as ‘en_GB’, but note if the customer is on any Store that doesn’t use English as a first language then the image names themselves may have local language elements in them and hence you should use a locale code appropriate to the primary transactional language

  1. Then append the baseName  i.e the filename

 

So by example you could end up with these : https://uk.farnell.com/productimages/standard/en_GB/GE20TSSOP-40.jpg

Or https://fr.farnell.com/productimages/standard/fr_FR/GE20TSSOP-40.jpg

 

Version Control and Version Info.

VERSION 1.1

In version 1.1 of the SearchService, versioning has been achieved by introduction of a new element in the Header of the request – versionInfo. Absence of the element will return response against the base version of the API whereas a specific and valid value of versionNumber within the versionInfo(such as 1.1) will return the response against that version. In the future, any new “minor” versions of the API will be implemented using this element.

 

New Request Elements


 

Elements

Description

Example

1

versionInfo/versionNumber

The versionNumber which determines the minor version of the API. This is included in the ‘header’ element of request

<v1:versionInfo>

         <v1:versionNumber>1.1</v1:versionNumber>

      </v1:versionInfo>

 

New Response Elements

 

Elements

Description

Example

1

Product/orderMultiples

Certain products can only be bought in specific multiples. This element will define that.

<ns1:orderMultiples>10</ns1:orderMultiples>

2

Product/packageName

Defines the name of the Packaging type

<ns1:packageName>Re-reel</ns1:packageName>


<ns1:packageName>Cut Tape</ns1:packageName>

3

Product/reReelingCharge

Re-reeling charges that are applicable in case of products that have re-reeling option.

<ns1:reReelingCharge>3.5</ns1:reReelingCharge>

4

Product/stock/expectedStock/level

Expected stock level is the quantity that is expected to be available at a future date.

<ns1:expectedStock>

                  <ns1:level>3000</ns1:level>

                  <ns1:date>2020-02-21</ns1:date>

               </ns1:expectedStock>

5

Product/stock/expectedStock/date

Expected stock date is the date that additional stock is expected to be available.

 

Modified Response Elements

 

Elements

Description    

Example

1

Product/stock/breakdown/inv

Modified to return only the available quantity and not aggregate of available and expected quantities

<ns1:breakdown>

                  <ns1:inv>51261</ns1:inv>

                  <ns1:region>UK</ns1:region>

                  <ns1:lead>78</ns1:lead>

                  <ns1:warehouse>GB1</ns1:warehouse>

               </ns1:breakdown>

Product/stock/regionalBreakDown/level

Modified to return only the available quantity and not aggregate of available and expected quantities

<ns1:regionalBreakdown>

                  <ns1:level>38537</ns1:level>

                  <ns1:leastLeadTime>0</ns1:leastLeadTime>

                  <ns1:status>1</ns1:status>

                  <ns1:warehouse>Liege</ns1:warehouse>

                  <ns1:shipsFromMultipleWarehouses>false</ns1:shipsFromMultipleWarehouses>

               </ns1:regionalBreakdown>

 

VERSION 1.2

The required version should be set in the element in the Header of the request – ‘versionInfo’. v1.2 has been added to provide Prop65 data/warnings for individual products. 

Proposition 65 requires businesses to provide warnings to Californians about significant exposures to chemicals that cause cancer, birth defects or other reproductive harm. These 
chemicals can be in the products that Californians purchase, in their homes or workplaces, or that are released into the environment. 

New Request Elements

 

 

Elements

Description

Example

1

versionInfo/versionNumber

The versionNumber which determines the minor version of the API. This is included in the ‘header’ element of request

<v1:versionInfo>

         <v1:versionNumber>1.2</v1:versionNumber>

      </v1:versionInfo>

 

New Response Elements

 

Elements

Description

Example

1

Product/prop65Code

Prop65 warnings are provided for Newark store products when relevant.

<ns1:prop65Code>WARNING: This product can expose you to chemicals including Lead, which is known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go towww.P65Warnings.ca.gov.</ns1:prop65Code>

 

VERSION 1.3

The required version should be set in the element in the Header of the request – ‘versionInfo’. v1.3 has been added to provide addition product information, product page url, image urls, unit of measure, packaging type, tax % and tax inclusive prices for specific countries for individual products. 

New Request Elements

 

Elements

Description

Example

1

versionInfo/versionNumber   

The versionNumber which determines the minor version of the API. This is included in the ‘header’ element of request

<v1:versionInfo>

         <v1:versionNumber>1.3</v1:versionNumber>

      </v1:versionInfo>

 

 

New Response Elements

 

Elements

Description

Example

1

Product/productOverview/description

Product/productOverview/bullets

Product/productOverview/applications

Product/productOverview/warnings

Product/productOverview/footnotes  

 

An overview about the product,which includes the description, contents, warnings, also known as, footnotes, applications and the features as bullet points. This is inlcuded under the 'Product' parentgroup

<ns1:productOverview>

               <ns1:description>The MICROSMD010F-2 from TE Connectivity is a surface mount PolySwitch resettable device in 32mm x 25mm size. Its smaller size helps to save board space and cost. It optimizes design flexibility and compatible with high volume electronics assembly.</ns1:description>

               <ns1:bullets>UL, CSA and TUV approved</ns1:bullets>

               <ns1:bullets>Higher voltage ratings allow use in new applications</ns1:bullets>

               <ns1:bullets>Hold current of 0.1A at room temperature</ns1:bullets>

               <ns1:bullets>Maximum voltage of 30V</ns1:bullets>

               <ns1:bullets>Trip current of 0.25A at room temperature</ns1:bullets>

               <ns1:bullets>Maximum current of 10A</ns1:bullets>

               <ns1:bullets>Maximum resistance of 15ohm (post trip)</ns1:bullets>

               <ns1:bullets>Maximum time to trip\u2009is 1sec</ns1:bullets>

               <ns1:bullets>Maximum power dissipation of 0.8W</ns1:bullets>

               <ns1:bullets>Operating temperature range from -40°C to 85°C</ns1:bullets>

               <ns1:applications>Safety</ns1:applications>

               <ns1:applications>Consumer Electronics</ns1:applications>

               <ns1:applications>Portable Devices</ns1:applications>

               <ns1:applications>Multimedia</ns1:applications>

               <ns1:applications>Automotive</ns1:applications>

               <ns1:applications>Industrial</ns1:applications>

               <ns1:warnings>This device is intended for protection against overcurrent or overtemperature fault conditions and should 
2 Product/productOverview/alsoKnownAs Alternate name of the product. This is included as part of the 'ProductOverview

<ns1:productOverview>

               <ns1:alsoKnownAs>MS2-100

</ns1:alsoKnownAs>

 </ns1:productOverview>
3 Product/productURL The full url of the product description page. This is included under the 'Product' parent group. <ns1:productURL>https://uk.farnell.com/hammond/rrtt1921bk1/open-frame-relay-rack-21in-steel/dp/9565752</ns1:productURL>
4 Product/image/mainImageUR The full url of the main image of the product. This is included under the 'image' group under the 'Product' parent group.

<ns1:image>

                             <ns1:mainImageURL>https://uk.farnell.com/productimages/standard/en_US/84C9871-40.jpg</ns1:mainImageURL>

 

</ns1:image>
5 Product/image/thumbNailImageURL The full url of the thumbnail image of the product. This is included under the 'image' group under the 'Product' parent group.

<ns1:image>

               <ns1:thumbNailImageURL>https://uk.farnell.com/productimages/thumbnail/en_US/84C9871-40.jpg</ns1:thumbNailImageURL>

</ns1:image>
6 Product/brandLogoURL The full url of the brand logo image of the product. This is included the 'Product' parent group. <ns1:brandLogoURL>https://uk.farnell.com/productimages/promo/en_GB/2049714.jpg</ns1:brandLogoURL>
7 Product/unitOfMeasureCode Unit Of Measure(UOM) code for the product. If there is a Unit of measure that is not mapped to a code then the default code should be “EA”. This is included the 'Product' parent group. <ns1:unitOfMeasureCode>EA</ns1:unitOfMeasureCode>
8

Product/packagingOptions/type

Product/packagingOptions/sku

Alternative packaging type available for the product, which includes the packaging type and the associated SKU. This is included as part of the 'Related' group under the 'Product' parent group

<ns1:packagingOptions>

                  <ns1:type>TR</ns1:type>

                  <ns1:sku>2130742</ns1:sku>

 </ns1:packagingOptions>
9 Product/taxRate

The tax rate, in percentage, of the the product. This is included under the 'Product' parent group.

As of now, available only for the below stores:

CPC_United_Kingdom

CPC_Ireland

Element14_Australia

Element14_New_Zealand

Element14_Singapore

Element14_United_Kingdom

Element14_France

Element14_Germany

Element14_Poland

Element14_Romania

Element14_China

<ns1:prices>

               <ns1:costIncTax>0.02232</ns1:costIncTax>

</ns1:prices>
10 Product/prices/costIncTax

The price of the product including the tax. This is included under 'prices' group under the 'Product' parent group.

As of now, available only for the below stores:

CPC_United_Kingdom

CPC_Ireland

Element14_Australia

Element14_New_Zealand

Element14_Singapore

Element14_United_Kingdom

Element14_France

Element14_Germany

Element14_Poland

Element14_Romania

Element14_China

<ns1:prices>

               <ns1:costIncTax>0.02232</ns1:costIncTax>

</ns1:prices>

 

VERSION 1.4

The required version should be set in the element in the Header of the request – ‘versionInfo’. v1.4 has been added to provide list prices with a contract pricing call for individual products. 

New Request Elements

 

Elements

Description

Example

1

versionInfo/versionNumber   

The versionNumber which determines the minor version of the API. This is included in the ‘header’ element of request

<v1:versionInfo>

         <v1:versionNumber>1.4</v1:versionNumber>

      </v1:versionInfo> 

New Response Elements

 

Elements

Description

Example

1

Product/prices/listPrice        

The contract price of the product including the list price. This is included under 'prices' group under the 'Product' parent group. 

<ns1:prices>              

<ns1:listPrice>2.745</ns1:listPrice>

</ns1:prices>

 


 

back to top

Response Groups

Response groups are a means to filter out certain elements of the payload based on the type of information/use case.  There are 4 types of response groups: small, medium, large, prices, inventory, and none:

Response Group Description
 small

 For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=inStock&resultsSettings.responseGroup=small&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq9mu7s9rvur

Returns the following:

{
  "keywordSearchReturn": {
    "numberOfResults": 7355, 
    "products": [
      {
        "sku": "1360825", 
        "displayName": "SCHURTER - 0001.1001 - FUSE, FAST ACTING, CERAMIC, 500MA", 
        "packSize": 1, 
        "unitOfMeasure": "EACH", 
        "id": "pf_UK1_1360825_0", 
        "brandName": "SCHURTER", 
        "translatedManufacturerPartNumber": "0001.1001", 
        "translatedMinimumOrderQuality": 10, 
        "attributes": [
          {
            "attributeLabel": " Voltage Rating V AC", 
            "attributeUnit": "V", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Current", 
            "attributeUnit": "mA", 
            "attributeValue": "500"
          }, 
          {
            "attributeLabel": " Fuse Size Metric", 
            "attributeUnit": "mm", 
            "attributeValue": "5mm x 20"
          }, 
          {
            "attributeLabel": " Blow Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Series", 
            "attributeValue": "SP"
          }, 
          {
            "attributeLabel": " SVHC", 
            "attributeValue": "No SVHC (20-Jun-2011)"
          }, 
          {
            "attributeLabel": " Approval Bodies", 
            "attributeValue": "CCC, VDE"
          }, 
          {
            "attributeLabel": " Approval Category", 
            "attributeValue": "UL Recognised"
          }, 
          {
            "attributeLabel": " Body Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5"
          }, 
          {
            "attributeLabel": " Breaking Capacity", 
            "attributeUnit": "V AC", 
            "attributeValue": "1.5kA @ 250V AC, 10kA @ 125"
          }, 
          {
            "attributeLabel": " Breaking Capacity Current AC", 
            "attributeUnit": "A", 
            "attributeValue": "1500"
          }, 
          {
            "attributeLabel": " Cartridge Fuse Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " Case Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " External Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5.2"
          }, 
          {
            "attributeLabel": " Fuse Breaking Capacity Voltage AC", 
            "attributeUnit": "VAC", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Type Blowing Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Length", 
            "attributeUnit": "mm", 
            "attributeValue": "20"
          }, 
          {
            "attributeLabel": " Operating Temperature Max", 
            "attributeUnit": "°C", 
            "attributeValue": "125"
          }, 
          {
            "attributeLabel": " Operating Temperature Min", 
            "attributeUnit": "°C", 
            "attributeValue": "-55"
          }, 
          {
            "attributeLabel": " Power Dissipation Max", 
            "attributeUnit": "mW", 
            "attributeValue": "2500"
          }, 
          {
            "attributeLabel": " Standard", 
            "attributeValue": "IEC 60127-2/1, UL 248-14, CSA C22.2 no. 248.14"
          }
        ], 
        "translatedPrimaryCatalogPage": "2194", 
        "publishingModule": "en/472686.xml"
      }
    ]
  }
}

back to top

 medium

For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=inStock&resultsSettings.responseGroup=medium&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq5mutsbrvur

Returns the following:

{
  "keywordSearchReturn": {
    "numberOfResults": 7355, 
    "products": [
      {
        "sku": "1360825", 
        "displayName": "SCHURTER - 0001.1001 - FUSE, FAST ACTING, CERAMIC, 500MA", 
        "productStatus": "defaultStatus", 
        "rohsStatusCode": "YES", 
        "packSize": 1, 
        "unitOfMeasure": "EACH", 
        "id": "pf_UK1_1360825_0", 
        "datasheets": [
          {
            "type": "T", 
            "description": "Technical Data Sheet", 
            "url": "http://www.farnell.com/datasheets/70315.pdf"
          }
        ], 
        "prices": [
          {
            "to": 90, 
            "from": 10, 
            "cost": 0.78
          }, 
          {
            "to": 490, 
            "from": 100, 
            "cost": 0.62
          }, 
          {
            "to": 990, 
            "from": 500, 
            "cost": 0.52
          }, 
          {
            "to": 2990, 
            "from": 1000, 
            "cost": 0.48
          }, 
          {
            "to": 1000000000, 
            "from": 3000, 
            "cost": 0.45
          }
        ], 
        "vendorId": "25459", 
        "vendorName": "SCHURTER", 
        "brandName": "SCHURTER", 
        "translatedManufacturerPartNumber": "0001.1001", 
        "translatedMinimumOrderQuality": 10, 
        "attributes": [
          {
            "attributeLabel": " Voltage Rating V AC", 
            "attributeUnit": "V", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Current", 
            "attributeUnit": "mA", 
            "attributeValue": "500"
          }, 
          {
            "attributeLabel": " Fuse Size Metric", 
            "attributeUnit": "mm", 
            "attributeValue": "5mm x 20"
          }, 
          {
            "attributeLabel": " Blow Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Series", 
            "attributeValue": "SP"
          }, 
          {
            "attributeLabel": " SVHC", 
            "attributeValue": "No SVHC (20-Jun-2011)"
          }, 
          {
            "attributeLabel": " Approval Bodies", 
            "attributeValue": "CCC, VDE"
          }, 
          {
            "attributeLabel": " Approval Category", 
            "attributeValue": "UL Recognised"
          }, 
          {
            "attributeLabel": " Body Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5"
          }, 
          {
            "attributeLabel": " Breaking Capacity", 
            "attributeUnit": "V AC", 
            "attributeValue": "1.5kA @ 250V AC, 10kA @ 125"
          }, 
          {
            "attributeLabel": " Breaking Capacity Current AC", 
            "attributeUnit": "A", 
            "attributeValue": "1500"
          }, 
          {
            "attributeLabel": " Cartridge Fuse Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " Case Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " External Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5.2"
          }, 
          {
            "attributeLabel": " Fuse Breaking Capacity Voltage AC", 
            "attributeUnit": "VAC", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Type Blowing Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Length", 
            "attributeUnit": "mm", 
            "attributeValue": "20"
          }, 
          {
            "attributeLabel": " Operating Temperature Max", 
            "attributeUnit": "°C", 
            "attributeValue": "125"
          }, 
          {
            "attributeLabel": " Operating Temperature Min", 
            "attributeUnit": "°C", 
            "attributeValue": "-55"
          }, 
          {
            "attributeLabel": " Power Dissipation Max", 
            "attributeUnit": "mW", 
            "attributeValue": "2500"
          }, 
          {
            "attributeLabel": " Standard", 
            "attributeValue": "IEC 60127-2/1, UL 248-14, CSA C22.2 no. 248.14"
          }
        ], 
        "stock": {
          "level": 518, 
          "leastLeadTime": 63, 
          "status": 1, 
          "shipsFromMultipleWarehouses": true, 
          "breakdown": [
            {
              "inv": 40, 
              "region": "Liege", 
              "lead": 0, 
              "warehouse": "LG1"
            }, 
            {
              "inv": 478, 
              "region": "UK", 
              "lead": 63, 
              "warehouse": "GB1"
            }
          ], 
          "regionalBreakdown": [
            {
              "level": 40, 
              "leastLeadTime": 0, 
              "status": 1, 
              "warehouse": "Liege", 
              "shipsFromMultipleWarehouses": true
            }, 
            {
              "level": 478, 
              "leastLeadTime": 63, 
              "status": 1, 
              "warehouse": "UK", 
              "shipsFromMultipleWarehouses": true
            }
          ], 
          "nominatedWarehouseDetails": null
        }, 
        "translatedPrimaryCatalogPage": "2194", 
        "comingSoon": false, 
        "publishingModule": "en/472686.xml", 
        "vatHandlingCode": "SLST", 
        "releaseStatusCode": -1, 
        "isSpecialOrder": false, 
        "isAwaitingRelease": false, 
        "reeling": false, 
        "discountReason": 0
      }
    ]
  }
}

back to top

 large

For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=inStock&resultsSettings.responseGroup=large&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq5mutsbrvur

Returns the following:

 

{
  "keywordSearchReturn": {
    "numberOfResults": 7355, 
    "products": [
      {
        "sku": "1360825", 
        "displayName": "SCHURTER - 0001.1001 - FUSE, FAST ACTING, CERAMIC, 500MA", 
        "productStatus": "defaultStatus", 
        "rohsStatusCode": "YES", 
        "packSize": 1, 
        "unitOfMeasure": "EACH", 
        "id": "pf_UK1_1360825_0", 
        "image": {
          "baseName": "/136082507-40.jpg", 
          "vrntPath": "farnell/"
        }, 
        "datasheets": [
          {
            "type": "T", 
            "description": "Technical Data Sheet", 
            "url": "http://www.farnell.com/datasheets/70315.pdf"
          }
        ], 
        "prices": [
          {
            "to": 90, 
            "from": 10, 
            "cost": 0.78
          }, 
          {
            "to": 490, 
            "from": 100, 
            "cost": 0.62
          }, 
          {
            "to": 990, 
            "from": 500, 
            "cost": 0.52
          }, 
          {
            "to": 2990, 
            "from": 1000, 
            "cost": 0.48
          }, 
          {
            "to": 1000000000, 
            "from": 3000, 
            "cost": 0.45
          }
        ], 
        "inv": 518, 
        "vendorId": "25459", 
        "vendorName": "SCHURTER", 
        "brandName": "SCHURTER", 
        "translatedManufacturerPartNumber": "0001.1001", 
        "translatedMinimumOrderQuality": 10, 
        "attributes": [
          {
            "attributeLabel": " Voltage Rating V AC", 
            "attributeUnit": "V", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Current", 
            "attributeUnit": "mA", 
            "attributeValue": "500"
          }, 
          {
            "attributeLabel": " Fuse Size Metric", 
            "attributeUnit": "mm", 
            "attributeValue": "5mm x 20"
          }, 
          {
            "attributeLabel": " Blow Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Series", 
            "attributeValue": "SP"
          }, 
          {
            "attributeLabel": " SVHC", 
            "attributeValue": "No SVHC (20-Jun-2011)"
          }, 
          {
            "attributeLabel": " Approval Bodies", 
            "attributeValue": "CCC, VDE"
          }, 
          {
            "attributeLabel": " Approval Category", 
            "attributeValue": "UL Recognised"
          }, 
          {
            "attributeLabel": " Body Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5"
          }, 
          {
            "attributeLabel": " Breaking Capacity", 
            "attributeUnit": "V AC", 
            "attributeValue": "1.5kA @ 250V AC, 10kA @ 125"
          }, 
          {
            "attributeLabel": " Breaking Capacity Current AC", 
            "attributeUnit": "A", 
            "attributeValue": "1500"
          }, 
          {
            "attributeLabel": " Cartridge Fuse Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " Case Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " External Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5.2"
          }, 
          {
            "attributeLabel": " Fuse Breaking Capacity Voltage AC", 
            "attributeUnit": "VAC", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Type Blowing Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Length", 
            "attributeUnit": "mm", 
            "attributeValue": "20"
          }, 
          {
            "attributeLabel": " Operating Temperature Max", 
            "attributeUnit": "°C", 
            "attributeValue": "125"
          }, 
          {
            "attributeLabel": " Operating Temperature Min", 
            "attributeUnit": "°C", 
            "attributeValue": "-55"
          }, 
          {
            "attributeLabel": " Power Dissipation Max", 
            "attributeUnit": "mW", 
            "attributeValue": "2500"
          }, 
          {
            "attributeLabel": " Standard", 
            "attributeValue": "IEC 60127-2/1, UL 248-14, CSA C22.2 no. 248.14"
          }
        ], 
        "related": {
          "containAlternatives": true, 
          "containcontainRoHSAlternatives": true, 
          "containAccessories": true, 
          "containcontainRoHSAccessories": true
        }, 
        "stock": {
          "level": 518, 
          "leastLeadTime": 63, 
          "status": 1, 
          "shipsFromMultipleWarehouses": true, 
          "breakdown": [
            {
              "inv": 40, 
              "region": "Liege", 
              "lead": 0, 
              "warehouse": "LG1"
            }, 
            {
              "inv": 478, 
              "region": "UK", 
              "lead": 63, 
              "warehouse": "GB1"
            }
          ], 
          "regionalBreakdown": [
            {
              "level": 40, 
              "leastLeadTime": 0, 
              "status": 1, 
              "warehouse": "Liege", 
              "shipsFromMultipleWarehouses": true
            }, 
            {
              "level": 478, 
              "leastLeadTime": 63, 
              "status": 1, 
              "warehouse": "UK", 
              "shipsFromMultipleWarehouses": true
            }
          ], 
          "nominatedWarehouseDetails": null
        }, 
        "translatedPrimaryCatalogPage": "2194", 
        "countryOfOrigin": "CN", 
        "comingSoon": false, 
        "publishingModule": "en/472686.xml", 
        "vatHandlingCode": "SLST", 
        "releaseStatusCode": -1, 
        "isSpecialOrder": false, 
        "isAwaitingRelease": false, 
        "reeling": false, 
        "discountReason": 0, 
        "brandId": "1000895", 
        "commodityClassCode": "037004000"
      }
    ]
  }
}

back to top

prices

For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=&amp;resultsSettings.responseGroup=prices&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq5mutsbrvur

Returns the following:

 

{
  "keywordSearchReturn": {
    "numberOfResults": 7355, 
    "products": [
      {
        "sku": "1360825", 
        "displayName": "SCHURTER - 0001.1001 - FUSE, FAST ACTING, CERAMIC, 500MA", 
        "packSize": 1, 
        "unitOfMeasure": "EACH", 
        "id": "pf_UK1_1360825_0", 
        "prices": [
          {
            "to": 90, 
            "from": 10, 
            "cost": 0.78
          }, 
          {
            "to": 490, 
            "from": 100, 
            "cost": 0.62
          }, 
          {
            "to": 990, 
            "from": 500, 
            "cost": 0.52
          }, 
          {
            "to": 2990, 
            "from": 1000, 
            "cost": 0.48
          }, 
          {
            "to": 1000000000, 
            "from": 3000, 
            "cost": 0.45
          }
        ], 
        "brandName": "SCHURTER", 
        "translatedManufacturerPartNumber": "0001.1001", 
        "translatedMinimumOrderQuality": 10, 
        "attributes": [
          {
            "attributeLabel": " Voltage Rating V AC", 
            "attributeUnit": "V", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Current", 
            "attributeUnit": "mA", 
            "attributeValue": "500"
          }, 
          {
            "attributeLabel": " Fuse Size Metric", 
            "attributeUnit": "mm", 
            "attributeValue": "5mm x 20"
          }, 
          {
            "attributeLabel": " Blow Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Series", 
            "attributeValue": "SP"
          }, 
          {
            "attributeLabel": " SVHC", 
            "attributeValue": "No SVHC (20-Jun-2011)"
          }, 
          {
            "attributeLabel": " Approval Bodies", 
            "attributeValue": "CCC, VDE"
          }, 
          {
            "attributeLabel": " Approval Category", 
            "attributeValue": "UL Recognised"
          }, 
          {
            "attributeLabel": " Body Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5"
          }, 
          {
            "attributeLabel": " Breaking Capacity", 
            "attributeUnit": "V AC", 
            "attributeValue": "1.5kA @ 250V AC, 10kA @ 125"
          }, 
          {
            "attributeLabel": " Breaking Capacity Current AC", 
            "attributeUnit": "A", 
            "attributeValue": "1500"
          }, 
          {
            "attributeLabel": " Cartridge Fuse Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " Case Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " External Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5.2"
          }, 
          {
            "attributeLabel": " Fuse Breaking Capacity Voltage AC", 
            "attributeUnit": "VAC", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Type Blowing Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Length", 
            "attributeUnit": "mm", 
            "attributeValue": "20"
          }, 
          {
            "attributeLabel": " Operating Temperature Max", 
            "attributeUnit": "°C", 
            "attributeValue": "125"
          }, 
          {
            "attributeLabel": " Operating Temperature Min", 
            "attributeUnit": "°C", 
            "attributeValue": "-55"
          }, 
          {
            "attributeLabel": " Power Dissipation Max", 
            "attributeUnit": "mW", 
            "attributeValue": "2500"
          }, 
          {
            "attributeLabel": " Standard", 
            "attributeValue": "IEC 60127-2/1, UL 248-14, CSA C22.2 no. 248.14"
          }
        ], 
        "translatedPrimaryCatalogPage": "2194", 
        "publishingModule": "en/472686.xml", 
        "vatHandlingCode": "SLST", 
        "discountReason": 0
      }
    ]
  }
}

back to top

inventory

For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=&amp;resultsSettings.responseGroup=inventory&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq5mutsbrvur

Returns the following:

 

{
  "keywordSearchReturn": {
    "numberOfResults": 7355, 
    "products": [
      {
        "sku": "1360825", 
        "displayName": "SCHURTER - 0001.1001 - FUSE, FAST ACTING, CERAMIC, 500MA", 
        "productStatus": "defaultStatus", 
        "packSize": 1, 
        "unitOfMeasure": "EACH", 
        "id": "pf_UK1_1360825_0", 
        "brandName": "SCHURTER", 
        "translatedManufacturerPartNumber": "0001.1001", 
        "translatedMinimumOrderQuality": 10, 
        "attributes": [
          {
            "attributeLabel": " Voltage Rating V AC", 
            "attributeUnit": "V", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Current", 
            "attributeUnit": "mA", 
            "attributeValue": "500"
          }, 
          {
            "attributeLabel": " Fuse Size Metric", 
            "attributeUnit": "mm", 
            "attributeValue": "5mm x 20"
          }, 
          {
            "attributeLabel": " Blow Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Series", 
            "attributeValue": "SP"
          }, 
          {
            "attributeLabel": " SVHC", 
            "attributeValue": "No SVHC (20-Jun-2011)"
          }, 
          {
            "attributeLabel": " Approval Bodies", 
            "attributeValue": "CCC, VDE"
          }, 
          {
            "attributeLabel": " Approval Category", 
            "attributeValue": "UL Recognised"
          }, 
          {
            "attributeLabel": " Body Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5"
          }, 
          {
            "attributeLabel": " Breaking Capacity", 
            "attributeUnit": "V AC", 
            "attributeValue": "1.5kA @ 250V AC, 10kA @ 125"
          }, 
          {
            "attributeLabel": " Breaking Capacity Current AC", 
            "attributeUnit": "A", 
            "attributeValue": "1500"
          }, 
          {
            "attributeLabel": " Cartridge Fuse Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " Case Material", 
            "attributeValue": "Ceramic"
          }, 
          {
            "attributeLabel": " External Diameter", 
            "attributeUnit": "mm", 
            "attributeValue": "5.2"
          }, 
          {
            "attributeLabel": " Fuse Breaking Capacity Voltage AC", 
            "attributeUnit": "VAC", 
            "attributeValue": "250"
          }, 
          {
            "attributeLabel": " Fuse Type Blowing Characteristic", 
            "attributeValue": "Fast Acting"
          }, 
          {
            "attributeLabel": " Length", 
            "attributeUnit": "mm", 
            "attributeValue": "20"
          }, 
          {
            "attributeLabel": " Operating Temperature Max", 
            "attributeUnit": "°C", 
            "attributeValue": "125"
          }, 
          {
            "attributeLabel": " Operating Temperature Min", 
            "attributeUnit": "°C", 
            "attributeValue": "-55"
          }, 
          {
            "attributeLabel": " Power Dissipation Max", 
            "attributeUnit": "mW", 
            "attributeValue": "2500"
          }, 
          {
            "attributeLabel": " Standard", 
            "attributeValue": "IEC 60127-2/1, UL 248-14, CSA C22.2 no. 248.14"
          }
        ], 
        "stock": {
          "level": 518, 
          "leastLeadTime": 63, 
          "status": 1, 
          "shipsFromMultipleWarehouses": true, 
          "breakdown": [
            {
              "inv": 40, 
              "region": "Liege", 
              "lead": 0, 
              "warehouse": "LG1"
            }, 
            {
              "inv": 478, 
              "region": "UK", 
              "lead": 63, 
              "warehouse": "GB1"
            }
          ], 
          "regionalBreakdown": [
            {
              "level": 40, 
              "leastLeadTime": 0, 
              "status": 1, 
              "warehouse": "Liege", 
              "shipsFromMultipleWarehouses": true
            }, 
            {
              "level": 478, 
              "leastLeadTime": 63, 
              "status": 1, 
              "warehouse": "UK", 
              "shipsFromMultipleWarehouses": true
            }
          ], 
          "nominatedWarehouseDetails": null
        }, 
        "translatedPrimaryCatalogPage": "2194", 
        "comingSoon": false, 
        "publishingModule": "en/472686.xml", 
        "releaseStatusCode": -1, 
        "isSpecialOrder": false, 
        "isAwaitingRelease": false, 
        "reeling": false
      }
    ]
  }
}

back to top

 none

For example:

http://api.element14.com//catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=inStock&resultsSettings.responseGroup=none&callInfo.omitXmlSchema=false&callInfo.callback=&callInfo.responseDataFormat=json&callinfo.apiKey=gd8n8b2kxqw6jq5mutsbrvur

Returns number of results only:

{
  "keywordSearchReturn": {
    "numberOfResults": 7355
  }
}

 

 

back to top

Sample Requests

Manufacturer Part Number Search

https://api.element14.com/catalog/products?term=manuPartNum%3ALM339ADT&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=&resultsSettings.responseGroup=small&callInfo.responseDataFormat=JSON

Keyword Search

http://api.element14.com/catalog/products?term=any%3Afuse&storeInfo.id=uk.farnell.com&resultsSettings.offset=0&resultsSettings.numberOfResults=1&resultsSettings.refinements.filters=rohsCompliant%2CinStock&resultsSettings.responseGroup=small&callInfo.responseDataFormat=JSON

back to top

API-Specific Errors

Error Description
100001
Invalid Timestamp
100002 Internal Failure. Please try after some time or contact the web service provider
100003 Invalid Password
100004
Invalid Customer Details
100005 Signature Decryption Exception. Please contact the Web Service Admin
100006 Invalid Timestamp Format
100007 Invalid Locale
200001 SKUs not valid
200002 Could Not Query for the keyword
200003 Could Not Query for the keyword
200004 Manufacturer Part Number is not valid

See Standard HTTP Errors for a list of standard HTTP errors.

back to top

 

Result Description

InventoryCode

The result for this data point is located in the response body and represents inventory position. 

example: <ns1:inventoryCode>5</ns1:inventoryCode>

Result Value Description
2 Internal Direct Ship or Vendor Direct Ship
5 Inventory is Instock
6 Not Normally Stocked or No Longer Stocked
9 No Longer Manufactured

 

ReleaseStatusCode

The result for this data point will be loacted in the response body and provides insight into availability. 

example:<ns1:releaseStatusCode>4</ns1:releaseStatusCode>

Result Value   Description
1 Extending the Range 
2 Direct Ship
4 Active
6 To be Discontinued
7 Discontinued

 

ProductStatus

The result for this data point will be loacted in the response body and provides the product station. 

example <ns1:productStatus>STOCKED</ns1:productStatus>

Result Value Description
DIRECT_SHIP 
The product is not stocked shipped direct
STOCKED The product is stocked
NO_LONGER_STOCKED
The product was stocked but is not presently
NO_LONGER_MANUFACTURED   
The product is not being manufactured

 

Status from Stock

The result for this data point provides insight into product standing.

example <ns1:stock>
                    <ns1:level>0</ns1:level>
                    <ns1:leastLeadTime>137</ns1:leastLeadTime>
                    <ns1:status>-4
</ns1:status>
example </ns1:stock>

Result Value    Description
1  Instock
0 Out of Stock
-1 Awaiting for Delivery
-2 Short Lead Time
-3 No Longer Manufactured
-4 Not Stocked
-7 On Demand

 

back to top