# API Search Tool

Once your API Key Request has been approved, you can use your credentials to test searches in our Search Tool:

var url = "https://api.trustedparts.com/api/Search/Query";
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onreadystatechange = function () {
    if (xhr.readyState === 4 && xhr.status === 200) {
var data = {
    "CompanyID": "",
    "APIKey": "",
    "CountryCode": "US",
    "CurrencyCode": "USD",
    "InStockOnly": "false",
    "ExactMatch": "true",
    "IsCrawler": "false",
    "SourceIP": "",
    "UserAgent": "My User Agent",
    "Queries": [
            "SearchToken": ""

The Trusted Source for Authorized Inventory

TrustedParts.com was created by ECIA in collaboration with participating distributors as a free service to support the authorized electronic components industry by giving users access to aggregated price and availability data for genuine parts from only authorized sources.

While other inventory aggregation sites may include data from sources that are not authorized by the manufacturer, ECIA works extensively on an ongoing basis to verify that price and availability data displayed on TrustedParts.com is only for products for which the distributors are authorized/franchised. This is why TrustedParts.com is the best source for searching the authorized channel for the electronic components you need.
Membership in ECIA is not required to participate on the site.

To learn more about how to list your inventory, or to view our Terms of Use and other information related to participating on TrustedParts.com, please visit our documentation for participating distributors.

©2021 Electronic Components Industry Association