Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Lead Gen

How to Use OFAC sanctions list records in Muse Code

Returns pages of records from OFAC's full SDN or Consolidated Enhanced XML export. Use it to collect a complete list, with pagination tied to one publication.

Prompts to try with OFAC sanctions list records in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use OFAC sanctions list records to collect the Consolidated list and write a report of company records by program in this project.

OFAC sanctions list recordsMuse Code
Try asking
  • Use OFAC sanctions list records to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from OFAC sanctions list records and tell me what changed since last week.

  • Check OFAC sanctions list records and summarize what you find in three bullet points.

  • Pull the newest data from OFAC sanctions list records and give me the result as a table.

How to set up OFAC sanctions list records in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run OFAC sanctions 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": "sanctionssearch-ofac-treas-gov/sanctions/records_list",
        "input": {
          "list": "sdn"
        }
      }'

Then paste one of the prompts above: Muse Code finds OFAC sanctions list records on Spiral, shows the price and runs it.

OFAC sanctions list records providers and prices

Spiral runs OFAC sanctions list records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
OFAC Sanctions List Search · Records list
sanctionssearch-ofac-treas-gov/sanctions/records_list

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Listsdn or consolidated

Which OFAC list: sdn (Specially Designated Nationals, export files SDN_ENHANCED.XML / SDN.XML) or consolidated (the Consolidated non-SDN list: SSI, FSE, CAPTA, PLC, MBS, CMIC..., export files CONS_ENHANCED.XML / CONSOLIDATED.XML).

Page size1 to 500100

Maximum records per page (pages may be shorter).

Every API field of OFAC Sanctions List Search · Records list is on its tool page: open its card above.

What can you do with OFAC sanctions list records in Muse Code?

Build a company review table that connects OFAC entries to their program labels and published changes. Use detailed and normalized records to check how your project stores names, identifiers, addresses, and list information.

Maintain a local sanctions dataset

Check list status, collect complete published records, inspect intervening publications and changes, and retrieve individual entries for reconciliation.

Audit a sanctions data import

Compare the stored list with its publication, hashes, and published changes. Inspect individual entries and perform an on-demand company search to investigate discrepancies.

Research Russia-related business listings

Build a program-specific report from published records, explain changes across publications, and inspect company entries such as Gazprom with their list labels and directives.

Review listed vessels

Assemble OFAC vessel entries for a shipping review, then compare names, identifiers, addresses, and program labels with the available shipping documentation.

Recover after missed list updates

Identify publications missed during an outage, review their changes, and reconcile the stored dataset against a fresh complete list.

Questions about OFAC sanctions list records in Muse Code

Can Muse Code use OFAC sanctions list records?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run OFAC sanctions list records like any built-in tool.

How much does OFAC sanctions list records cost in Muse Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need an Alexandria account to use OFAC sanctions list records in Muse Code?

No. Spiral runs OFAC sanctions 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 OFAC sanctions list records in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while OFAC sanctions list records runs?

OFAC sanctions list records runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Which sanctions lists does OFAC cover?

OFAC publishes the SDN list and a separate Consolidated non-SDN list. The SDN list includes designated organizations and blocked vessels and aircraft; this source covers OFAC lists rather than a worldwide collection of sanctions authorities.

How fresh is OFAC's published data?

OFAC says its XML files contain live list data and are updated at the same time as its other list products. Updates follow list changes rather than a stated daily release schedule.

Can I find entries that OFAC removed?

Current Sanctions List Search results exclude removed names and show only the latest information for updated entries. OFAC provides separate archives, including XML sanctions lists dating back to 2022.

Are OFAC's full list files complete snapshots?

Yes. OFAC describes both its SDN and non-SDN Consolidated files as comprehensive, so a full refresh does not require a separate supplement.

Does an absent company name mean there are no OFAC restrictions?

No. Under OFAC's 50 Percent Rule, an entity owned 50 percent or more in aggregate by blocked persons can itself be blocked, and OFAC's guidance explicitly addresses unlisted entities blocked by law.

Get started

Start using OFAC sanctions list records in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options