Migrate from Reducto to Webcite

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.

Last updated

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. Corrections: support@webcite.co.

What maps to what

Reducto to Webcite
ReductoWebcite
/upload, then /parse with the reducto:// URLPOST /api/v1/upload, then POST /api/v1/extract with data.asset_id
Authorization: Bearerx-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 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.

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

npm install webcite
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]);
complete 0.4966
Form **W-9**

The output above is recorded from the API for the sample W-9. The Free plan includes 100 credits.

Create a free account

Before you switch

Webcite vs Reducto API shows where Reducto is the better choice.