Hello
I'm working on a BOM tool that extracts BOM fields from a schematic file and queries octopart to find the cheapest option given a set of requirements. For example, I can specify
CAP MLCC 1uF 10% ≥X5R 16V [0603]
and the tool picks the cheapest option for me. Somehow though the API returns less hits than the web site. For the above cap, the API only returns 4 hits from digikey where the web site yields 101. I'm providing a simpler example with less parameters below where the numbers don't add up either.
curl -G
http://octopart.com/api/v3/parts/search -d apikey=KEY -d pretty_print=true -d 'filter[fields][category_uids]=f6473b4dcf9d2d80' -d 'filter[fields][
offers.seller.name]=Digi-Key' -d 'filter[fields][specs.case_package.value]=0603' -d 'filter[fields][specs.capacitance_tolerance.value]=±10%'
reports 5867 hits. Searching for the same on the web site (a MLCC sold by digikey in a 0603 package with a tolerance of 10%) I get 6783 results. I wonder why this is.
Regards and thank you
Matt