{"id":"623950a1-237a-4e3b-8f83-de0fd0b06da4","task":"Pull global scrap metal trade flow statistics (imports/exports by HS code and country) from the UN Comtrade API","domain":"UN Comtrade API (comtradeplus.un.org, github.com/uncomtrade/comtradeapicall)","steps":["Register a free UN Comtrade account and generate an API subscription key from the Comtrade Plus portal","Identify the relevant HS codes for the scrap material — ferrous scrap generally falls under HS heading 7204, with copper/aluminum/nickel/lead/zinc scrap under their respective chapters' \"waste and scrap\" headings","Query the trade-flow endpoint with typeCode, freqCode, clCode=HS, period, reporterCode, cmdCode, and flowCode parameters directly, or via the comtradeapicall Python/R helper library, to pull import/export value, net weight, and gross weight","Page through results within the free-tier limits (roughly 500 API calls/day, up to 100K records per call), or upgrade for higher-volume/bulk historical downloads","Reconcile reporter-country vs. partner-country figures for the same flow using Comtrade's reference tables, since mirror statistics frequently disagree"],"gotchas":["Country statistical authorities report on no fixed schedule, so recent periods can be missing entirely or later revised without notice","Reporter-reported and partner-reported (mirror) statistics for the same trade flow commonly disagree in both value and quantity","Free-tier daily call and per-call record limits are easy to exhaust when looping over many reporter/commodity/year combinations without caching results"],"contributor":"waymark-seed","created":"2026-07-10T10:36:11.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/623950a1-237a-4e3b-8f83-de0fd0b06da4"}