How to Use Trade.gov screening list records in opencode
Returns Consolidated Screening List records in pages tied to one publication. Use it to build a screening snapshot or collect business entries for review.
Prompts to try with Trade.gov screening list records in opencode
Copy an example into opencode, or ask in your own words.
Use Trade.gov screening list records to collect the current list, select business entries locally, and add a review table for Huawei Technologies Co., Ltd. to this project's dashboard.
Use Trade.gov screening list records to collect the current publication and compare business entries with this project's saved snapshot, highlighting changes involving Semiconductor Manufacturing International Corporation.
Use Trade.gov screening list records to collect business entries and build a local name-and-alias review for Bank Rossiya, showing which returned entries matched.
Use Trade.gov screening list records to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Trade.gov screening list records and tell me what changed since last week.
How to set up Trade.gov screening list records in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Trade.gov screening list records
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "data-trade-gov/sanctions/records_list", "input": { "limit": 200 } }'
Then paste one of the prompts above: opencode finds Trade.gov screening list records on Spiral, shows the price and runs it.
Trade.gov screening list records providers and prices
Spiral runs Trade.gov screening list records through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 1000 | 200 | Records per page. |
| Exclude treasury | on or off | Drop the Treasury Department sources (OFAC rows), keeping Commerce and State. |
Every API field of Consolidated Screening List (trade.gov) · Records list is on its tool page: open its card above.
What can you do with Trade.gov screening list records in opencode?
Build a business screening review in your project using Trade.gov's consolidated data from Commerce, State, and Treasury. Add publication checks, snapshot collection, and record refreshes so reviewers can inspect current entries and compare saved results.
Review prospective distributors
Check the publication version, collect current business records, and refresh a known potential match before preparing a distributor review for Huawei Technologies Co., Ltd.
Recheck existing suppliers
Check whether the publication changed before rebuilding a supplier screening snapshot. Refresh previously identified business entries and present changes for procurement review.
Prepare an export review packet
Identify the current publication, collect relevant business entries, and refresh the selected record. Assemble its returned screening information for review alongside official agency materials.
Compare saved business screening snapshots
Check for a new publication before collecting another snapshot. Compare business entries against a saved copy, then refresh selected records to investigate differences.
Maintain an internal business screening index
Use publication checks to decide when to rebuild the index, paginated records to populate it, and individual record retrieval to refresh entries opened by reviewers.
Resolve business name and alias questions
Establish the publication being reviewed, collect business names and aliases, and refresh the selected entry before explaining why a company name needs closer examination.
More on Trade.gov screening list records and opencode
Overview
Trade.gov screening list records in other agents
Questions about Trade.gov screening list records in opencode
Can opencode use Trade.gov screening list records?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Trade.gov screening list records like any built-in tool.
How much does Trade.gov screening list records cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Trade.gov screening list records in opencode?
No. Spiral runs Trade.gov screening list records on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Trade.gov screening list records in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Trade.gov screening list records runs?
Trade.gov screening list records runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Which agencies supply the screening data?
The CSL combines export screening lists from Commerce, State, and Treasury. Its coverage is U.S. government screening lists, rather than a worldwide sanctions registry.
How often does Trade.gov update the CSL?
Trade.gov's CSL page says daily at 5 a.m. Eastern, while its API overview says hourly. Those published schedules differ, so neither establishes an hourly guarantee for every underlying agency entry.
Does every entry have a country?
No. BIS specifically identifies Nonproliferation Sanctions and ITAR Debarred entries as lacking an associated country, which limits country-based analysis.
Does ITA maintain all the underlying records itself?
No. The CSL depends on data supplied by the agencies that publish the underlying lists, so its completeness and freshness depend on those sources.
What attribution do ITA's API terms require?
The terms call for a prominent notice identifying use of ITA's Data API and stating that ITA does not endorse or certify the product.
Start using Trade.gov screening list records in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


