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

opencode · Finance

How to Use FINRA bond details in opencode

Returns one bond’s coupon, maturity, ratings, call features, and latest reported sale information. Use it to check an issue’s terms before comparing its trading history.

Prompts to try with FINRA bond details in opencode

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

Use FINRA bond details for CUSIP 594918BB9 and add a compact view of its maturity, coupon, call features, ratings, and latest sale information.

FINRA bond detailsopencode
Try asking
  • Use FINRA bond details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FINRA bond details and tell me what changed since last week.

  • Check FINRA bond details and summarize what you find in three bullet points.

  • Pull the newest data from FINRA bond details and give me the result as a table.

How to set up FINRA bond details in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 FINRA bond details

    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": "finra-org/bond-quotes/bond_detail",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: opencode finds FINRA bond details on Spiral, shows the price and runs it.

FINRA bond details providers and prices

Spiral runs FINRA bond details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance

What can you do with FINRA bond details in opencode?

Build a FINRA research view with bond observations and brokerage-firm lookup results. A coding agent can turn returned records into comparison tables and add the relevant views to your project.

Build a bond research shortlist

Start with active corporate bonds, resolve the issues, and compare their terms, dated prices, and recent transactions to choose which securities deserve closer research.

Review observed bond trading activity

Match each security, inspect its terms, and compare dated prices with individual transactions. Use the active-bond list as additional market context for the review.

Compare an issuer’s bond issues

Resolve bonds from the same issuer and compare coupons, maturities, call features, price histories, and reported trades. Check which issues appear among the daily activity leaders.

Prepare a bond review packet

Assemble identified securities, bond terms, dated price observations, transaction examples, and daily activity leaders into a research packet for a discussion with a financial professional.

Questions about FINRA bond details in opencode

Can opencode use FINRA bond details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FINRA bond details like any built-in tool.

How much does FINRA bond details 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 FINRA bond details in opencode?

No. Spiral runs FINRA bond details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up FINRA bond details in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while FINRA bond details runs?

FINRA bond details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Where does FINRA’s bond information come from?

FINRA combines TRACE transaction reports with information from Refinitiv, S&P, Moody’s, and Black Knight Technologies. Security terms and transaction observations therefore come from multiple underlying sources.

How far back does FINRA’s bond website go?

FINRA documents up to 10 years of end-of-day corporate and agency bond data and three years of real-time trade history on individual security pages. Those website limits do not verify how much history a particular endpoint retrieves.

Are FINRA bond prices executable quotes?

FINRA disseminates executed transactions rather than bond quotes. A reported sale describes a completed trade and does not establish a price available for a new order.

Does every bond transaction include a yield?

No. FINRA says certain variable-rate securities and defaulted bonds trading without accrued interest display no yield.

How broad is FINRA’s most-active bond list?

FINRA publishes separate top-ten corporate-bond lists for investment-grade, high-yield, and convertible bonds on each market day. These lists are a shortlist of active issues rather than a complete bond inventory.

Get started

Start using FINRA bond details in opencode

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

Paste this into opencode:

Set up opencode

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