ThomasNet search
Suppliers on ThomasNet, in ThomasNet's own relevance order.
One page (32) by default: name, type with its label, tier, phone, website, full address with coordinates, annual-sales range, employee range, year founded, the matched heading and brands. Sponsored placements are marked (sponsored, sponsoredPosition) and keep their slots. ThomasNet walls page 2 and later behind registration (a 503 here, never page 1 repeated); set max_results to collect instead (at most 160 per call): the first page of each coverage area, deduped, with exclude_ids skipping suppliers you already hold. The call stops inside the edge timeout and returns truncated: true with the suppliers it has; a larger run is the same operation on POST /v1/async/jobs. An empty page is not charged.
Request
https://api.scrapercompany.com/v1/thomasnet/searchAuthenticate with your API key in the x-api-key header (see Authentication).
Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.
Body
JSON object. Unknown fields are rejected with 422.
- querystringrequiredmin length 1, max length 200
Product, service or company-name search term.
- modestringdefault
all'all' = products/services; 'name' = company names.
One of
allname - areastringdefault
NACoverage-area code: NA = all of North America, or a region code (NT, GT, CN, CS, DN, UN, NO, SO, EP, WP, IL, MI, ON, QC).
- pageintegerdefault
1min 1, max 500Results page, 32 per page (with max_results, ignored). ThomasNet walls page 2 and later behind registration, so a page beyond 1 answers 503.
- max_resultsinteger | nullmin 1, max 160
Collect this many suppliers. Past the first 32 a collection renders each coverage area's first page (one render per 32 asked), deduped. It stops at the time budget and sets truncated when it could not finish.
- exclude_idsarray of stringmax items 1000
tgramsId values to skip (max_results only).
Example request
curl -X POST "https://api.scrapercompany.com/v1/thomasnet/search" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "valve"
}'Response
200 — Suppliers matching a product search. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).
{
"search_parameters": {
"engine": "thomasnet_search",
"query": "valve",
"mode": "all",
"area": "NA",
"page": 1
},
"results": [
{
"tgramsId": "567647",
"name": "Magnatrol Valve Corp.",
"description": "Manufacturer of standard and custom automatic control, explosion proof, and packless solenoid valves. Made from bronze and stainless steel materials.",
"searchDescription": "Manufacturer of standard and custom automatic control, explosion proof, and packless solenoid valves.",
"tier": "VERIFIED",
"type": "M",
"typeLabel": "Manufacturer",
"primaryPhone": "(866) 695-2531",
"website": "https://www.magnatrol.com/",
"address": {
"address1": "67 Fifth Ave.",
"city": "Hawthorne",
"state": "NJ",
"stateName": "New Jersey",
"zip": "07507",
"country": "USA",
"latitude": 40.94959729,
"longitude": -74.1548383
},
"annualSales": "$5 - 9.9 Mil",
"numberEmployees": "10-49",
"yearFounded": "1936",
"logoUrl": "https://cdn.thomasnet.com/ccp/00567647/192836.jpg",
"logoTitle": "Magnatrol Valve Corp. Company Logo",
"isAdvertiser": true,
"xometryVerified": false,
"isClaimed": true,
"isTopResponder": false,
"isMultiLocation": true,
"mainLocationTgramsId": "567647",
"mainLocationName": "Magnatrol Valve Corp.",
"otherActivities": [
"C"
],
"heading": {
"headingId": "90052002",
"name": "Valves",
"naturalName": "Valves",
"url": "https://www.magnatrol.com/"
},
"brands": [
{
"name": "Magnatrol"
}
],
"videoTypes": [],
"sponsored": false,
"sponsoredHeadings": [],
"searchRank": 8,
"profileUrl": "https://www.thomasnet.com/company/567647/profile"
}
],
"total": 4681,
"total_pages": 147,
"page": 1,
"heading": {
"headingId": "90052002",
"name": "Valves",
"urlSlug": "valves"
},
"meta": {
"source": "thomasnet",
"elapsed_s": 4.21
}
}Errors
Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.
| Status | Meaning | Retry? |
|---|---|---|
401Unauthorized | Missing or invalid API key. {"detail":"missing or invalid API key"} | No, fix the request |
402Payment Required | Not enough credits for this request: the account's credits mode is {"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."} | No, fix the request |
422Unprocessable Content | Request validation failed. {"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]} | No, fix the request |
429Too Many Requests | Too many requests: the key's requests-per-minute limit was exceeded, or (in {"detail":"rate limit 60/min exceeded"} | Yes, with backoff |
503Service Unavailable | Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later. {"detail":"database unavailable: OperationalError"} | Yes, with backoff |
Try it
Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.
- Export your key:
export SCRAPERCOMPANY_API_KEY=sk_...(no key yet? start a free trial). - Copy the cURL example above and run it in a terminal.
Questions about this page?
Send the page link and your question, and the team will answer.