Veralens turns messy inputs — document images, scans, and raw text — into clean, structured data. You describe the shape you want with a JSON Schema (or a natural-language prompt), send your sources, and get back typed JSON, Markdown, or plaintext.
Everything runs as an asynchronous job: you create a job, then poll it (or receive a webhook) for the result. This page takes you from zero to your first extraction.
1. Create an account and an API key
- Sign up at veralens.ai.
- Open Keys in the dashboard and create a key.
- Copy the secret — it starts with
vl_and is shown once. Store it somewhere safe.
API keys authenticate programmatic requests. You pass the secret as a Bearer token:
2. Add funds
Veralens is prepaid. Open Billing in the dashboard and add funds. Each job places a small hold on your balance when it is created and settles to the real cost when it finishes. Failed jobs are refunded. See Pricing & Funds for the details.
3. Run your first extraction
Send one or more sources and a schema describing the output. The base URL is:
The response is the full job, already in pending — the same shape you'll poll later. usage.cost here is the precharge hold (an estimate); output and the settled usage arrive once it finishes:
4. Get the result
Poll the job until its status is no longer pending:
The extracted data is a JSON string in output — parse it on your side.
webhook_url when you create the job and Veralens posts the result to you the moment it's ready — no polling loop, lower latency, and less load on both sides. See Jobs & Queue.Full example (JavaScript)
Next steps
- API Reference — every endpoint, field, and error code.
- Jobs & Queue — polling, webhooks, and the job lifecycle.
- Playground — iterate on a schema in the dashboard before you write code.
- Pricing & Funds — how cost and balance holds work.