the402 endpoint detail

← All endpoints

fittings.sh pkg name-check

https://fittings.sh/v1/pkg/name-check

answers 402

Checks a proposed package name against a registry’s own naming rules (npm scoping and URL-safety, PEP 503 normalization for PyPI, cargo’s crate name grammar) and returns the normalized form the registry compares by.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.004
Network
base
Pay to
0xe025442C0d6dC17aD2b9eB888B3565bdFCd98638
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
163 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:21:43.199Z (23d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ffittings.sh%2Fv1%2Fpkg%2Fname-check"