Adafruit Products API


How To Get Started

We here at Adafruit are proud to release our JSON Product API, which will let you import product data from Adafruit into your application easily... here's a list of pages you can chose from:

  • For a complete list of Adafruit products, go to http://www.adafruit.com/api/products.
  • For a complete list of Adafruit categories, go to http://www.adafruit.com/api/categories.
  • For information regarding specific products, go to http://www.adafruit.com/api/product/[pid] (and replace pid with the pid in question, such as 998 for a Raspberry Pi Model B).
  • For information regarding specific categories, go to http://www.adafruit.com/api/category/[cid] (and replace cid with the cid in question, such as 118 for Lasers).

Rules

  • Do not hotlink images (so you will need to replace the URLs in product and category descriptions).
  • Limit your rate of usage to 5 requests per minute or less.
  • All content is copyright Adafruit Industries; you are authorized to use this content for the purposes of your online store, contact [email protected] with any questions.

Category Listing Fields

  • category_id: (Int) The id of the category.
  • category_name: (String) The name of the category.
  • category_description: (String) An HTML description of the category.
  • products_count: (Int) The total number of products in the category.
  • category_url: (String) The url of the category.
  • sub_categories: (Array) If the category has any sub-categories, they will be listed here.

Product Listing Fields

  • product_id: (Int) The id of the product.
  • product_image: (String) The URL of the primary product image.
  • product_name: (String) The name of the product.
  • product_model: (String) The model number of the product, if any.
  • product_mpn: (String) The manufacturer's part number of the product, if any.
  • product_manufacturer: (String) The manufacturer's name, if it isn't Adafruit.
  • product_price: (String) The (formatted) price of the product.
  • product_url: (String) The URL of the product.
  • product_stock: (String) The amount of stock we have of the product, usually expressed as "in stock".

Category Info Fields

  • category_id: (Int) The id of the category.
  • category_name: (String) The name of the category.
  • category_description: (String) An HTML description of the category.
  • category_image: (String) If the category has an image, its URL will go here, otherwise "no_image".
  • products_count: (Int) The total number of products in the category.
  • products: (Array) Products in the category.
  • category_url: (String) The url of the category.
  • subcategories: (Array) A listing of the products in the current category.

Product Info Fields

  • product_id: (Int) The id of the product.
  • product_image: (String) The URL of the primary product image.
  • product_name: (String) The name of the product.
  • product_model: (String) The model or version number of the product, if any.
  • product_mpn: (String) The manufacturer's part number of the product, if any.
  • product_manufacturer: (String) The manufacturer's name, if it isn't Adafruit.
  • product_price: (String) The (formatted) price of the product.
  • discount_pricing: (Array) A list of volume discounts associated with this product.
  • reseller_pricing: (Array, only visible to logged-in resellers) A list of volume discounts associated with this product.
  • product_url: (String) The URL of the product.
  • product_stock: (String) The amount of stock we have of the product, usually expressed as "in stock".
  • products_description: (String) An HTML description of the product.
  • products_hts: (String) US HTS classification of this product
  • products_coo: (String) ISO 2 country code for the Country of Origin of this product
  • products_rohs: (String) "0" or "1" denoting the product's RoHS compliance status