{"openapi":"3.1.0","info":{"title":"Thomasnet US Industrial Suppliers (x402 & MCP)","version":"0.1.0","description":"Thomasnet US industrial supplier profiles, headings, catalogs and categories, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/thomasnet-com/v1/search":{"post":{"operationId":"thomasnet_com_search","summary":"Thomasnet US Industrial Suppliers: Search US industrial suppliers, headings and catalogs","description":"Supplier, heading, taxonomy or catalog rows by query, headingId, zip or filters. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["thomasnet-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Choose Auto to select a mode from your URLs, IDs, category, or keywords. Choose browse, enumerate, taxonomy, filters, catalog, or suggest explicitly for those outputs.","default":"auto","enum":["auto","supplier_search","heading","browse","enumerate","catalog","taxonomy","suggest","filters"]},"query":{"type":"string","description":"Supplier or product search text. In browse mode, enter a category slug or an empty string for root categories; in enumerate mode, enter comma-separated initial letters."},"searchQueries":{"type":"array","items":{"type":"string"},"description":"Supplier or catalog keywords. Each keyword has its own maxResults row limit."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Thomasnet search, heading, or company URLs. Each URL has its own maxResults row limit."},"headingSlug":{"type":"string","description":"Heading slug such as cnc-machining, or a category slug for browse or taxonomy mode."},"headingId":{"type":"string","description":"Numeric Thomasnet heading identifier, such as 45330503. Use it for a supplier heading list or to scope filter references.","pattern":"^\\d*$"},"market":{"type":"string","description":"United States industrial supplier directory. Only usa is supported.","default":"usa","enum":["usa"]},"suggestType":{"type":"string","description":"Suggestion group for suggest mode: category families, brands, products, CAD models, companies, autocomplete, locations, or popular searches. POPULAR needs no query; HEADINGS and CATEGORIES mean category families, and COMPANY means companies.","default":"HEADINGS_FAMILY","enum":["HEADINGS_FAMILY","HEADINGS","CATEGORIES","BRANDS","PRODUCTS","CAD","COMPANIES","COMPANY","AUTO","GEO","POPULAR"]},"zip":{"type":"string","description":"ZIP code for a geographic supplier keyword search."},"radius":{"type":"string","description":"Search radius in miles, entered as a whole-number string together with zip."},"filterIds":{"type":"array","items":{"type":"string"},"description":"Optional filter IDs from filters mode. Accepted for compatibility, but ignored by Thomasnet guest search; do not rely on them to restrict results."},"taxonomyFamilyId":{"type":"string","description":"Optional Thomasnet taxonomyFamilyId filter for supplier_search (GetCompaniesTextGuided).","default":""},"supplementHeading":{"type":"boolean","description":"When enabled in heading mode, backfill beyond the curated GetCompanies shortlist via GetCompaniesTextGuided filtered to matching headingId.","default":false},"maxPages":{"type":"integer","description":"Page limit for catalog and enumerate modes. The default 1 follows maxResults; a value above 1 caps the pages read.","default":1,"minimum":1,"maximum":40},"enrichDetails":{"type":"boolean","description":"Add available company profile information to supplier rows from search, heading, and enumerate modes. Enabled by default; this does not add separately billed profile rows.","default":true},"includeProducts":{"type":"boolean","description":"Add supplier products as separate billed rows; off by default. Supplier and product rows share the input limit, while catalog mode returns catalog rows regardless of this setting.","default":false},"includeStreet":{"type":"boolean","description":"Include published street and unit details by default. Turning this off removes street, unit, address1-3, and the combined full address, including enriched rows.","default":true},"redactPhones":{"type":"boolean","description":"Mask phone numbers across primaryPhone, phones[], and personnel by default (omitting e164). Set to false to return unmasked company phone numbers.","default":true},"fields":{"type":"array","items":{"type":"string"},"description":"Select output field names, or leave empty for the normal output; [\"*\"] requests all available fields. Selecting fewer fields does not turn off enrichDetails."},"maxResults":{"type":"integer","description":"Maximum rows for each keyword, URL, company, or heading input; omit for 70, with larger requests collected in parts of up to 70. Supplier and product rows share this limit; the total run also stops at your maximum charge, and Free plans allow 200 rows per run and 10 runs.","minimum":1,"maximum":20,"default":10}},"additionalProperties":false},"example":{"query":"precision castings","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_thomasnet_com"},"example":{"jobId":"job_thomasne_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","supplierId":"example_supplierId","productId":"example_productId","tgramsId":"example_tgramsId","name":"example_name"}],"meta":{"site":"thomasnet-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/thomasnet-com/v1/companies":{"post":{"operationId":"thomasnet_com_companies","summary":"Thomasnet US Industrial Suppliers: Supplier company details by URL, slug or tgramsId","description":"Detailed US supplier rows for a given companyUrl, detailUrls, tgramsId or companySlug. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["thomasnet-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"companyUrl":{"type":"string","description":"A Thomasnet company profile URL ending in /company/<name>-<id>/profile. This is one input with its own maxResults row limit.","pattern":"^((https?://)?([A-Za-z0-9-]+\\.)*thomasnet\\.com(/.*)?|/.*)?$"},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Thomasnet company profile URLs ending in /company/<name>-<id>/profile. Each URL has its own maxResults row limit."},"tgramsId":{"type":"string","description":"Numeric Thomasnet company identifier for a company profile run.","pattern":"^\\d*$"},"companySlug":{"type":"string","description":"Optional company URL slug to use with tgramsId, such as electro-plastics."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Thomasnet search, heading, or company URLs. Each URL has its own maxResults row limit."},"enrichDetails":{"type":"boolean","description":"Add available company profile information to supplier rows from search, heading, and enumerate modes. Enabled by default; this does not add separately billed profile rows.","default":true},"includeProducts":{"type":"boolean","description":"Add supplier products as separate billed rows; off by default. Supplier and product rows share the input limit, while catalog mode returns catalog rows regardless of this setting.","default":false},"includeStreet":{"type":"boolean","description":"Include published street and unit details by default. Turning this off removes street, unit, address1-3, and the combined full address, including enriched rows.","default":true},"redactPhones":{"type":"boolean","description":"Mask phone numbers across primaryPhone, phones[], and personnel by default (omitting e164). Set to false to return unmasked company phone numbers.","default":true},"fields":{"type":"array","items":{"type":"string"},"description":"Select output field names, or leave empty for the normal output; [\"*\"] requests all available fields. Selecting fewer fields does not turn off enrichDetails."},"maxResults":{"type":"integer","description":"Maximum rows for each keyword, URL, company, or heading input; omit for 70, with larger requests collected in parts of up to 70. Supplier and product rows share this limit; the total run also stops at your maximum charge, and Free plans allow 200 rows per run and 10 runs.","minimum":1,"maximum":20,"default":10}},"additionalProperties":false},"example":{"companyUrl":"https://www.thomasnet.com/company/electro-plastics-30989688/profile","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_thomasnet_com"},"example":{"jobId":"job_thomasne_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","supplierId":"example_supplierId","productId":"example_productId","tgramsId":"example_tgramsId","name":"example_name"}],"meta":{"site":"thomasnet-com","endpoint":"companies","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/thomasnet-com/v1/health":{"get":{"operationId":"thomasnet_com_health","summary":"Thomasnet US Industrial Suppliers: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["thomasnet-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_thomasnet_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"id":{"type":["string","null"],"title":"Entity ID"},"supplierId":{"type":["string","null"],"title":"Supplier ID"},"productId":{"type":["string","null"],"title":"Product ID"},"tgramsId":{"type":["string","null"],"title":"tgramsId"},"name":{"type":["string","null"],"title":"Name"},"recordType":{"type":["string","null"],"title":"Type"},"url":{"type":["string","null"],"format":"uri","title":"Profile"},"website":{"type":["string","null"],"format":"uri","title":"Website"},"annualSales":{"type":["string","null"],"title":"Sales"},"numberEmployees":{"type":["string","null"],"title":"Employees"},"yearFounded":{"type":["string","null"],"title":"Founded"},"primaryPhone":{"type":["string","null"],"title":"Phone"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address.street":{"type":["string","null"],"title":"Street"},"address.full":{"type":["string","null"],"title":"Address"},"person.name":{"type":["string","null"],"title":"Contact person"},"social":{"type":["string","null"],"title":"Social (raw)"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"},"source":{"type":["string","null"],"title":"Source"}},"additionalProperties":true},"Response_thomasnet_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_thomasnet_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}