# Migrate from Reducto to Webcite

Canonical URL: https://webcite.co/migrate/reducto | Last updated: 2026-11-25

To move from Reducto, keep the same two steps: upload the file, then send its identifier to Webcite's extract call instead of `/parse`. The document comes back as Markdown in `markdown`, with one entry per page in `units`, in place of `result.chunks`. The key moves from the Authorization header to `x-api-key`.

## Who wrote this

Webcite wrote this guide. Each Reducto term links the Reducto documentation it comes from, checked on 25 November 2026; the Webcite calls follow the [API reference](https://webcite.co/api-docs). Corrections: [support@webcite.co](mailto:support@webcite.co).

## What maps to what

| Reducto | Webcite |
| --- | --- |
| [/upload, then /parse with the reducto:// URL](https://docs.reducto.ai/api-reference/parse) | `POST /api/v1/upload`, then `POST /api/v1/extract` with `data.asset_id` |
| [Authorization: Bearer](https://docs.reducto.ai/api-reference/parse) | `x-api-key` header |
| [result.chunks[].content](https://docs.reducto.ai/api-reference/parse) | `markdown` for the document and `units[].text` for each page; [anchored chunks](https://webcite.co/api-docs/chunks) for indexing |

## The replacement calls

Upload is free and returns `data.asset_id`. Extract returns when every page is read, so allow a long timeout.

```bash
curl --fail-with-body -X POST https://api.webcite.co/api/v1/upload \
  -H "x-api-key: $WEBCITE_API_KEY" \
  -F "file=@./report.pdf"

curl --fail-with-body --max-time 900 -X POST https://api.webcite.co/api/v1/extract \
  -H "x-api-key: $WEBCITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset_id":"YOUR_ASSET_ID","mode":"standard"}'
```

## With the TypeScript SDK

```bash
npm install webcite
```

```typescript
import { readFile } from "node:fs/promises";
import { Webcite } from "webcite";

const client = new Webcite();
const bytes = new Uint8Array(await readFile("irs-form-w9-page-1.pdf"));
const { data } = await client.upload(bytes, { filename: "irs-form-w9-page-1.pdf" });
const doc = await client.extract({ asset_id: data.asset_id, mode: "standard" });
console.log(doc.state, doc.usage?.credits);
console.log(doc.markdown?.split("\n")[0]);
```

```text
complete 0.4966
Form **W-9**
```

The output above is recorded from the API for the [sample W-9](https://webcite.co/samples/irs-form-w9-page-1.pdf). The Free plan includes 100 credits.

[Create a free account](https://webcite.co/signup)

## Before you switch

[Webcite vs Reducto API](https://webcite.co/compare/reducto) shows where Reducto is the better choice.
