Prerequisites
Make Your First Parse Request
This tutorial guides you through how to parse a sample customer due diligence form. This example uses all default parameters.1
2
Parse a document
Run the code below to parse the form. The
> at the end of the command saves the response to a file called parse-output.json.Replace YOUR_API_KEY with your API key.3
Save the Markdown content
To process the output, you may need to pass the
markdown field from parse-output.json to your downstream tasks.Run the following command to save the markdown field to a file called markdown-kyc-form.md.What You Get Back
You now havemarkdown-kyc-form.md: a Markdown rendering of the form, ready to use directly in a RAG application, search index, or LLM prompt.
The full response in parse-output.json also includes a structure field with the document’s pages and blocks (each block carries its own bounding-box grounding) and a metadata field with job information; see Parse API Response to dig into those.
What’s Next
How Parse Works
Understand the response shape in depth: pages, blocks, and grounding.
Try the Playground
Run Parse against your own files without writing code.
Credit Consumption
See how credit usage is calculated per page.
Troubleshoot
Status codes, errors, and how to resolve them.