# Companies House · Filing document

Find companies, people and contact details with Companies House · Filing document from Alexandria through one Spiral API key. Return a stable public PDF filing link; optionally retrieve PDF bytes through validated redirects, capped at 5 MiB. Signed URLs are not returned. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Lead Gen
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `find-and-update-company-information-service-gov-uk/companies/filing_document`
- Page: https://spiral.ai/tools/alexandria/find-and-update-company-information-service-gov-uk/companies/filing_document

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `company_number` (required) | text |  | — | Eight-character company number, retaining prefixes and leading zeros. Pattern: ^[A-Z0-9]{8}$. |
| `transaction_id` (required) | text |  | — | Pattern: ^[A-Za-z0-9_-]{1,200}$. |
| `download` | true or false |  | — | False returns the stable link without fetching; true retrieves PDF bytes as base64, up to 5 MiB. |

## Example

```bash
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": "find-and-update-company-information-service-gov-uk/companies/filing_document",
    "input": {
      "company_number": "<company_number>",
      "transaction_id": "<transaction_id>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=find-and-update-company-information-service-gov-uk%2Fcompanies%2Ffiling_document

## Common questions

### Companies House · Filing document

**How much does Companies House · Filing document cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Companies House · Filing document through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "find-and-update-company-information-service-gov-uk/companies/filing_document"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Companies House · Filing document?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Companies House · Filing document?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

