Find CPSC-accepted labs
find_accepted_labsShortlist testing labs that CPSC currently accepts for every test a product needs, in one country (default Vietnam and China). Pass ruleIds from find_cert_rules (testedRuleIds), and country if the user names one. For a toy, f963Sections narrows the ASTM F963 sections; metalParts adds the lead in metal test. Returns each lab's name, city, accreditation body and its CPSC detail page. Reads the live CPSC lab list. It does not book a lab or quote prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most labs per country (default 8) | |
| country | No | Country where the goods are made or tested, such as Vietnam or China (default: both) | |
| ruleIds | Yes | Rule ids from find_cert_rules (testedRuleIds), such as ["lead-content", "lead-paint", "small-parts"] | |
| metalParts | No | True when the product has metal parts, so the lab must also test lead in metal | |
| f963Sections | No | Only these ASTM F963 sections for a toy, such as ["4.3.5.1(2)", "4.3.5.2", "4.6"] (default: all common toy sections) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| source | No | ||
| status | Yes | ||
| message | No | ||
| countries | No | ||
| sourceUrl | No | ||
| testMethods | No | ||
| howToConfirm | No | ||
| unknownRuleIds | No | ||
| methodsNotListed | No |