The playground

Try any of 1462 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/hs-code/v1/validate1 credit

Check whether a code is a real, current tariff code in the chosen market — structural check (4/6/8/10 digits) PLUS live existence in the schedule. A well-formed but unknown code returns valid=false with the nearest valid parent + sibling suggestions, so a caller can correct a typo'd or expired code before filing.

Working example
Parameters
request preview
curl -X POST https://api.reefapi.com/hs-code/v1/validate \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"code":"8471.30.0100","destination":"US"}'

Hit Send to run this endpoint live.