{
  "openapi": "3.0.1",
  "info": {
    "title": "ThomasNet Suppliers Scraper",
    "description": "Extract 70+ ThomasNet supplier fields including phone numbers, certifications, locations, products, and company data. Build B2B supplier shortlists, generate leads, or analyze industrial markets. No login needed. Thousands of results in seconds.",
    "version": "1.0",
    "x-build-id": "zFzVF0Msyj0n6rabY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~thomasnet-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-thomasnet-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/silentflow~thomasnet-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-thomasnet-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/silentflow~thomasnet-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-thomasnet-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "title": "🔎 Search query",
            "type": "string",
            "description": "Product, service, or company name. Examples: <code>valve</code>, <code>CNC machining</code>, <code>Siemens</code>."
          },
          "mode": {
            "title": "🧭 Search mode",
            "enum": [
              "all",
              "name"
            ],
            "type": "string",
            "description": "<b>All Suppliers</b> finds suppliers by product or service category. <b>Suppliers by Name</b> searches company names. Ignored when supplier IDs are provided.",
            "default": "all"
          },
          "supplierIds": {
            "title": "🆔 Supplier IDs",
            "type": "array",
            "description": "ThomasNet supplier IDs (<code>tgramsId</code>) to pull directly, e.g. <code>567647</code>. The ID is in every result row and in ThomasNet profile URLs. Takes precedence over the search query, and every ID listed is returned whatever Max results says.",
            "items": {
              "type": "string"
            }
          },
          "area": {
            "title": "📍 Region",
            "enum": [
              "NA",
              "AL",
              "AB",
              "AZ",
              "AR",
              "BC",
              "CN",
              "CS",
              "CO",
              "CT",
              "DE",
              "FL",
              "GA",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MB",
              "MD",
              "EM",
              "WM",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NV",
              "NH",
              "JN",
              "JS",
              "NM",
              "DN",
              "UN",
              "NC",
              "NS",
              "NO",
              "SO",
              "OK",
              "ON",
              "OR",
              "EP",
              "WP",
              "QC",
              "RI",
              "SK",
              "SC",
              "TN",
              "NT",
              "GT",
              "UT",
              "VT",
              "VA",
              "WA",
              "WV",
              "WI"
            ],
            "type": "string",
            "description": "Filter by US state or Canadian province. Use <b>All Regions</b> for the whole of the US and Canada.",
            "default": "NA"
          },
          "maxResults": {
            "title": "🔢 Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of suppliers to return. Set <code>0</code> for every supplier ThomasNet lists for your search.",
            "default": 100
          },
          "supplierTypes": {
            "title": "🏭 Supplier types",
            "type": "array",
            "description": "Return only these kinds of suppliers, e.g. manufacturers and custom manufacturers without distributors. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "M",
                "C",
                "D",
                "S",
                "R",
                "I",
                "F",
                "Q"
              ],
              "enumTitles": [
                "Manufacturer",
                "Custom Manufacturer",
                "Distributor",
                "Service Company",
                "Manufacturers' Rep",
                "Turnkey Systems Integrator",
                "Finishing Service Company",
                "Remanufacturer"
              ]
            }
          },
          "requiredCertifications": {
            "title": "📜 Required certifications",
            "type": "array",
            "description": "Return only suppliers holding at least one of these certifications, e.g. <code>ISO 9001</code>, <code>AS9100</code>, <code>ITAR</code>, <code>Woman Owned</code>. Max results counts certified suppliers only.",
            "items": {
              "type": "string"
            }
          },
          "excludeIds": {
            "title": "⏭️ Skip suppliers you already have",
            "type": "array",
            "description": "Supplier IDs (<code>tgramsId</code>) from earlier runs to leave out. Skipped suppliers are never returned and do not use up Max results, so a repeat search for 100 returns 100 new suppliers where they exist.",
            "items": {
              "type": "string"
            }
          },
          "includeEmails": {
            "title": "📧 Include emails from supplier websites",
            "type": "boolean",
            "description": "Visit each supplier's own website (home, contact and about pages) and add every email address it publishes, with the page it appears on, plus the phone numbers and social profiles shown there. Nothing is guessed. Runs take longer.",
            "default": false
          },
          "includeFamilies": {
            "title": "🗂️ Include product families",
            "type": "boolean",
            "description": "Include each supplier's full product family map with nested sub-categories (e.g. Valves → Ball Valves, Check Valves, ...).",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}