76trust / 100

Cpsc Csv Lint

by Bot Bazaar in Documents & files

x402 APIPassing, checked 3 h ago

Validate a CPSC CPC/GCC certificate row or CSV against all 7 statutory elements under 16 CFR 1110 / CPSA Section 14(a) eFiling (product ID, safety rule citations, US importer/manufacturer certifier, records custodian contact, manufacture date/place, test date/place, and CPSC-accepted third-party lab or determination). Supports GET query params and POST JSON/CSV. Templates & schema linting only — not legal advice.

GET
https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint
Price
$0.01
per call in USDC
Uptime
98.0%
last 30 days
Response time
315 ms
644 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint?cert_type=CPC&certifier=Example+Harbor+Toy+Imports+LLC&citations=16+CFR+1303%3B16+CFR+1501%3BASTM+F963-23&contact=records%40example-importer.test&lab=CPSC-LAB-1042+Accredited+Consumer+Testing+Services&mfg_date=2026-06&mfg_place=Ningbo%2C+CN&product_name=Painted+Wooden+Alphabet+Blocks+Set+%28Ages+18m%2B%29&sku=SKU-WOOD-BLOCKS-24&test_date=2026-06-18&test_place=Shanghai%2C+CN

Parameters

ParameterTypeRequiredDescription
cert_typestringNoCertificate type: CPC (children's) or GCC (general/PPPA) One of: CPC, GCC.
certifierstringNoUS Importer of Record or domestic manufacturer name (Element 3)
citation_codesstringNoAlias for citations (Element 2)
citationsstringNoCPSC safety rule citations, e.g. '16 CFR 1303; ASTM F963-23' (Element 2)
contactstringNoRecords custodian contact name & email/phone (Element 4)
contact_emailstringNoRecords custodian email address (Element 4)
csvstringNoCPSC CPC/GCC CSV text (header + rows, or single comma-separated row)
importer_namestringNoAlias for certifier / US Importer of Record (Element 3)
labstringNoCPSC-accepted third-party lab name/ID or determination citation (Element 7)
lab_namestringNoAlias for lab (Element 7)
mfg_city_countrystringNoAlias for mfg_place (Element 5)
mfg_datestringNoManufacture date YYYY-MM (Element 5)
mfg_placestringNoManufacture city and country (Element 5)
product_namestringNoProduct description (Element 1)
skustringNoProduct SKU or product_id (Element 1)
test_datestringNoTest date YYYY-MM-DD (Element 6)
test_placestringNoTest city and country (Element 6)

Example response

The provider's example. We can't check it without paying.

Example response, 126 lines
{
  "disclaimer": "Templates and schema linting only — not legal advice, not customs brokerage, not a CPSC-accepted lab certification, and not an EU Responsible Person service.",
  "field_checks": [
    {
      "detail": "SKU/product_id and product description present",
      "element": "element_1_product_identification",
      "element_number": 1,
      "passed": true,
      "value_summary": "SKU-WOOD-BLOCKS-24 / Painted Wooden Alphabet Blocks Set (Ages 18m+)"
    },
    {
      "detail": "3 CPSC safety rule citation(s) parsed",
      "element": "element_2_safety_rule_citations",
      "element_number": 2,
      "passed": true,
      "value_summary": "16 CFR 1303; 16 CFR 1501; ASTM F963-23"
    },
    {
      "detail": "Certifying US Importer of Record / domestic manufacturer present",
      "element": "element_3_importer_or_manufacturer_certifier",
      "element_number": 3,
      "passed": true,
      "value_summary": "Example Harbor Toy Imports LLC"
    },
    {
      "detail": "Test records custodian contact present",
      "element": "element_4_records_custodian_contact",
      "element_number": 4,
      "passed": true,
      "value_summary": "[email protected]"
    },
    {
      "detail": "Manufacture date (YYYY-MM) and city/country present",
      "element": "element_5_manufacture_date_and_place",
      "element_number": 5,
      "passed": true,
      "value_summary": "2026-06 @ Ningbo, CN"
    },
    {
      "detail": "Testing date and location present",
      "element": "element_6_testing_date_and_place",
      "element_number": 6,
      "passed": true,
      "value_summary": "2026-06-18 @ Shanghai, CN"
    },
    {
      "detail": "Third-party CPSC-accepted lab or determination reference present",
      "element": "element_7_third_party_lab_or_determination",
      "element_number": 7,
      "passed": true,
      "value_summary": "CPSC-LAB-1042 Accredited Consumer Testing Services"
    }
  ],
  "generated_at": 1792935600,
  "linter": "cpsc_16cfr1110_seven_element_linter",
  "missing_elements": [],
  "reference_brief_url": "https://x402-niche-briefs.fly.dev/v1/cpsc-cpc-sku-map/section",
  "reference_briefs": {
    "compliance_pack_domain": "https://x402-niche-briefs.fly.dev/v1/compliance-pack/domain",
    "cpsc_cpc_sku_map": "https://x402-niche-briefs.fly.dev/v1/cpsc-cpc-sku-map/section"
  },
  "row_count": 1,
  "rows": [
    {
      "certificate_type": "CPC",
      "field_checks": [
        {
          "detail": "SKU/product_id and product description present",
          "element": "element_1_product_identification",
          "element_number": 1,
          "passed": true,
          "value_summary": "SKU-WOOD-BLOCKS-24 / Painted Wooden Alphabet Blocks Set (Ages 18m+)"
        },
        {
          "detail": "3 CPSC safety rule citation(s) parsed",
          "element": "element_2_safety_rule_citations",
          "element_number": 2,
          "passed": true,
          "value_summary": "16 CFR 1303; 16 CFR 1501; ASTM F963-23"
        },
        {
          "detail": "Certifying US Importer of Record / domestic manufacturer present",
          "element": "element_3_importer_or_manufacturer_certifier",
          "element_number": 3,
          "passed": true,
          "value_summary": "Example Harbor Toy Imports LLC"
        },
        {
          "detail": "Test records custodian contact present",
          "element": "element_4_records_custodian_contact",
          "element_number": 4,
          "passed": true,
          "value_summary": "[email protected]"
        },
        {
          "detail": "Manufacture date (YYYY-MM) and city/country present",
          "element": "element_5_manufacture_date_and_place",
          "element_number": 5,
          "passed": true,
          "value_summary": "2026-06 @ Ningbo, CN"
        },
        {
          "detail": "Testing date and location present",
          "element": "element_6_testing_date_and_place",
          "element_number": 6,
          "passed": true,
          "value_summary": "2026-06-18 @ Shanghai, CN"
        },
        {
          "detail": "Third-party CPSC-accepted lab or determination reference present",
          "element": "element_7_third_party_lab_or_determination",
          "element_number": 7,
          "passed": true,
          "value_summary": "CPSC-LAB-1042 Accredited Consumer Testing Services"
        }
      ],
      "missing_elements": [],
      "row_index": 1,
      "sku": "SKU-WOOD-BLOCKS-24",
      "valid": true,
      "warnings": []
    }
  ],
  "valid": true,
  "warnings": []
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint?cert_type=CPC&certifier=Example+Harbor+Toy+Imports+LLC&citations=16+CFR+1303%3B16+CFR+1501%3BASTM+F963-23&contact=records%40example-importer.test&lab=CPSC-LAB-1042+Accredited+Consumer+Testing+Services&mfg_date=2026-06&mfg_place=Ningbo%2C+CN&product_name=Painted+Wooden+Alphabet+Blocks+Set+%28Ages+18m%2B%29&sku=SKU-WOOD-BLOCKS-24&test_date=2026-06-18&test_place=Shanghai%2C+CN'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint?cert_type=CPC&certifier=Example+Harbor+Toy+Imports+LLC&citations=16+CFR+1303%3B16+CFR+1501%3BASTM+F963-23&contact=records%40example-importer.test&lab=CPSC-LAB-1042+Accredited+Consumer+Testing+Services&mfg_date=2026-06&mfg_place=Ningbo%2C+CN&product_name=Painted+Wooden+Alphabet+Blocks+Set+%28Ages+18m%2B%29&sku=SKU-WOOD-BLOCKS-24&test_date=2026-06-18&test_place=Shanghai%2C+CN' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbot-bazaar.fly.dev%2Fv1%2Fx402%2Fcpsc-csv-lint
const res = await pay("https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint?cert_type=CPC&certifier=Example+Harbor+Toy+Imports+LLC&citations=16+CFR+1303%3B16+CFR+1501%3BASTM+F963-23&contact=records%40example-importer.test&lab=CPSC-LAB-1042+Accredited+Consumer+Testing+Services&mfg_date=2026-06&mfg_place=Ningbo%2C+CN&product_name=Painted+Wooden+Alphabet+Blocks+Set+%28Ages+18m%2B%29&sku=SKU-WOOD-BLOCKS-24&test_date=2026-06-18&test_place=Shanghai%2C+CN");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://bot-bazaar.fly.dev/v1/x402/cpsc-csv-lint?cert_type=CPC&certifier=Example+Harbor+Toy+Imports+LLC&citations=16+CFR+1303%3B16+CFR+1501%3BASTM+F963-23&contact=records%40example-importer.test&lab=CPSC-LAB-1042+Accredited+Consumer+Testing+Services&mfg_date=2026-06&mfg_place=Ningbo%2C+CN&product_name=Painted+Wooden+Alphabet+Blocks+Set+%28Ages+18m%2B%29&sku=SKU-WOOD-BLOCKS-24&test_date=2026-06-18&test_place=Shanghai%2C+CN")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402497 ms$0.01
21 h agoTimed out---
3 days agoTimed out---
4 days agoPassed402245 ms$0.01
4 days agoPassed402219 ms$0.01
Show 10 older checks
5 days agoPassed402280 ms$0.01
5 days agoPassed402217 ms$0.01
6 days agoPassed402287 ms$0.01
6 days agoPassed402256 ms$0.01
6 days agoPassed402375 ms$0.01
7 days agoPassed402598 ms$0.01
7 days agoPassed402218 ms$0.01
7 days agoPassed402218 ms$0.01
7 days agoPassed402226 ms$0.01
8 days agoPassed402287 ms$0.01