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

opencode · Lead Gen

How to Use Ukraine EDR register publication status in opencode

Returns EDR archive URLs, sizes, modification dates, ETags, and ZIP directory details. Use it to check for a changed publication and prepare a separate download of the register records.

Prompts to try with Ukraine EDR register publication status in opencode

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

Use Ukraine EDR register publication status for UO.zip and write a download manifest containing its URL, size, modification date, and checksum details.

Ukraine EDR register publication statusopencode
Try asking
  • Use Ukraine EDR register publication status for UO.zip and compare the result with the last import manifest in this repository.

  • Use Ukraine EDR register publication status to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Ukraine EDR register publication status and tell me what changed since last week.

  • Check Ukraine EDR register publication status and summarize what you find in three bullet points.

How to set up Ukraine EDR register publication status 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 Ukraine EDR register publication status

    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-gov-ua/company-register-publications/source_status",
        "input": {
          "resources": [
            "<resources>"
          ]
        }
      }'

Then paste one of the prompts above: opencode finds Ukraine EDR register publication status on Spiral, shows the price and runs it.

Ukraine EDR register publication status providers and prices

Spiral runs Ukraine EDR register publication status through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
data.gov.ua: Unified State Register (EDR) publication status · Source status
data-gov-ua/company-register-publications/source_status

What can you do with Ukraine EDR register publication status in opencode?

Prepare an EDR import with a schema comparison and archive manifest. Use the results to review parser assumptions before loading separately downloaded records.

Prepare a business directory import

Check the publication metadata and XML structure before loading a separately downloaded EDR archive into a Ukrainian business directory.

Review a supplier database refresh

Compare the available publication and schema with your previous import before refreshing registered-company data used for supplier research.

Preserve an import's source evidence

Keep the archive metadata and schema alongside each imported publication so another analyst can inspect the source and structure used.

Investigate an import failure

Compare archive details and schema definitions with the failed import to investigate whether the file or expected XML structure changed.

Check whether another download is needed

Compare publication metadata with the previous check before fetching another copy of the register archive.

Questions about Ukraine EDR register publication status in opencode

Can opencode use Ukraine EDR register publication status?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Ukraine EDR register publication status like any built-in tool.

How much does Ukraine EDR register publication status 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 Ukraine EDR register publication status in opencode?

No. Spiral runs Ukraine EDR register publication status on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Ukraine EDR register publication status in opencode?

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

Does opencode wait while Ukraine EDR register publication status runs?

Ukraine EDR register publication status runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How fresh are EDR publications?

The dataset is published weekly. Its contents reflect the time the publication was compiled, so it does not provide a live view of registration changes.

Does EDR cover companies registered before 2004?

Coverage includes registrations from July 1, 2004. Earlier entities are included when they remained operating and their information was entered in EDR.

Are company addresses and contact details public in this download?

Wartime restrictions exclude locations, activity types, and contact information from the open publication. Founder and beneficial-owner residential locations are also withheld.

Can I retrieve company records a page at a time?

No record pagination is available. The register archive is supplied through a download handoff for separate parsing.

What does the legal-entity schema describe?

The XSD describes the XML structure, including elements such as SUBJECT, RECORD, NAME, and EDRPOU. It provides definitions for parsing the register rather than company records.

Get started

Start using Ukraine EDR register publication status 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